Preheat the oven to 210°C.
Mix cream cheese and sugar well in a bowl.
Add eggs one at a time, stirring thoroughly.
Sift in flour and cocoa powder, then mix.
Add heavy cream and mix until smooth.
Pour the batter into a pan lined with parchment paper.
Bake in the preheated oven for 25–30 minutes.
Remove from the pan after completely cooling.