Preheat the oven to 350 F/180 C.
Butter the bottom and sides of a 9-inch cake pan or springform pan. If using a cake pan, cut two long strips of parchment paper to lay on the bottom and up the sides of the pan (see photo in post for visual). Then line the bottom of the pan with a round of parchment. If using a springform pan, you only need to line the bottom of the pan.
In a stand mixing bowl or with a hand mixer, cream the butter, sugar, and brown sugar together until fluffy.
Mix in the egg, egg yolk, and vanilla.
Fold in the flour, baking soda, salt, and chopped oreos.
Evenly spread the dough into the prepared pan.
Bake for 22-25 minutes, or until the top is golden brown and a toothpick inserted into the center comes out clean.
Let the pan cool on a wire cooling rack completely before removing.
Tip: if using a cake pan, have someone help you grab all of the strips of parchment up to remove the cookie from the pan. Then pull the parchment off and place the cookie on a serving plate.
Mix the butter in a stand mixing bowl or with an electric hand mixer until smooth.
Gradually mix in the powdered sugar and salt until combined.
Mix in the vanilla and heavy cream, then mix on medium speed until light and fluffy.
Fill a pastry bag and use a star tip to decorate the top of the cake.
Enjoy!