Cooking pie is slang for cooking crack. Pie is slang for a kilo of cocaine; crack is made by cooking cocaine. When someone is making crack, they might simply refer to it as cooking pie. This slang was used in Fetty Wap's Trap Queen song, in which he said, "I be in the kitchen cookin' pies with my baby, yeeaahhh."