"Cooked" is like saying someone's in serious trouble or facing big problems. It means their situation is not looking good, and there might not be a way to fix it. So, when your friend says, "you're cooked," they're telling you that things are not going well for you
Bro #1: bro it's so over for me, i didn't study for todays exam..
Bro #2: yeah you're cooked