Prepare the Brownie Layer: Melt the butter and add the sugar, eggs, and vanilla extract to a big mixing bowl. Mix everything together well. Add the cocoa powder, salt, and flour all at once. Mix until it's smooth. Spread the cookie batter out evenly in the baking dish that has been prepared.