Cooked can mean someone is out of options, physically tired, or likely to fail. Context changes the exact meaning.

Example usage

"The deadline is tomorrow and I have not started—I’m cooked."