a) To manufacture; to falsify; to devise an elaborate lie.
He really cooked up a good one this time, something about an airline disaster.
b) To prepare a heroin dose by heating.
Lemme cook up some eggs and bacon before you go.
Wikipedia foundation.