It was obvious Obama was backing his friend Cameron on the Brexit campaign.

I do not think it helped and may have hindered the Remain vote for some. Ultimately it ended the then Prime Minister and good riddance.