I thought the movie I was looking for was “The other guys” but no. It was action, and comedy too I think. Somewhat recent, 10 years max. In the movie, one of the main antagonists is a retired rich known person (an athlete or an actor, not sure), who is always on a yatch. During the movie, we think he is a good guy, but we learn he is a traitor near the end.
I think in the last scene of the movie, it is on a big balcony of a luxurious skyscrapper, where the antagonist is confronted (not sure if it is the guy from the boat). He eventually falls off the balcony (not sure if he is pushed or shot or what).
Thanks for the help, sorry I don’t have much details.