I got high and baked cookies and ate them all.
Were you really that hungry that you needed to eat so many cookies?
I was starving.
I'm sure the drugs also played a role in making you bake so many cookies. If you are using drugs so much that they are making it difficult to control your behavior, it is probably best to lower your use. It was just cookies this time, but it could be worse in the future.
I guess...
I hope you take my advice and consider not using drugs anymore. Drugs can cause serious long term damage to your body and make you do things you regret. I think you will feel much happier if you stay sober from now on!