At the top of one’s lungs

With a very loud voice.

I cried out for my friend at the top of my lungs.