I'm going to break bro code by dating my friend's ex
What makes you want to break bro code?
Because I want to get back at someone who broke my heart.
You shouldn't involve your friend's ex in your revenge plot. You shouldn't even look for revenge because you'll end up hurting more than one person.
I'm not hurting anyone. I just want to get back some of my pride.
I think that your friend is going to be hurt if you date their ex girl though. Besides, why do you need revenge? It is hurtful to get revenge like this.