I've been through this once and it was enough for me.
In retrospect, I should have left way earlier. I urge you to consider whether, by staying, you are just enabling the sort of disfunction you dislike :)
Camaraderie is great and if there is actual friendship/respect then the relationship will continue even after you quit.