cooked means "screwed" or "helpless"; usually used to denote that somebody is utterly fucked
That nigga is got 2/100 in the test, bros cooked