A threat to strike someone hard on the head.
Heard in Cavan
In useI'll brain ya hi!
Lawrence Muck's posh English
Shall I translate it into posh English for you, horse?
Good evening. Here it is in posh English.
I shall deliver a blow to your head without hesitation.