To get cooked is to get destroyed or humiliated, to be embarassed by someone else being so much better than you.
He got cooked