Pit the cherries and cook them for 5 minutes with half a cup (100 g) of sugar.
Beat the eggs with the remaining sugar until white and foamy.
Mix the cocoa, cornstarch and flour and sift everything through a sieve. Combine the flour mixture with the baking powder and salt.
Add the dry ingredients to the egg mixture. The batter should flow slowly from the spoon.
Line the pan with parchment paper, preferably silicone-coated, and pour the batter into the pan.
Bake at 350°F (180°C) for 30 minutes. Check for doneness with a dry skewer.
Let the cake cool and cut it into two layers. For this cake you do not need to even out the edges, but you can see for yourself.
Beat the ricotta with the condensed milk. This is the cream.
Put the cherries in a strainer. The liquid from the cherries will be needed to soak the cake layers.
Put the parchment back in the pan and set one layer on it. Soak the layer with cherry syrup, spread it with cream and put a thick layer of cherries on top.
Then add a little cream to the cherries and cover with the second layer (soak that layer too).
Spread the remaining cream over the top layer and sprinkle with grated chocolate. Refrigerate for a few hours. The cake looks very appetizing and tastes great!