Jerking off a dude is a synonym to hugging a dude in certain hoods of the United Kingdom
A: I always jerk off my homies when we meet for the last time in a while
B You gay bro?
A: Man what's wrong with hugging your homies, we use jerking off a dude as another word for hugging