Preheat the oven to 350°F (180°C) and line an 8-inch springform pan with parchment paper.
Crush the Oreo cookies into fine crumbs. Add melted butter and mix until evenly combined.
Press the Oreo mixture firmly into the bottom of the prepared pan. Set aside.
Add the egg yolks and about half of the sugar to a large bowl and whisk until combined.
Add the cornstarch and whisk until smooth.
Heat the milk, vanilla, and remaining sugar in a saucepan until hot and steaming but not aggressively boiling.
Gradually pour the hot milk into the egg mixture while whisking constantly.
Return everything to the saucepan and cook over medium-low heat, stirring constantly, until thick and smooth.
Remove from heat and add the chopped dark chocolate. Stir until completely melted and glossy.
Whisk the custard until smooth, then pour it over the prepared Oreo crust.
Smooth the surface and bake for 60 minutes, rotating the pan after approximately 45 minutes.
Remove from the oven while the center still has a gentle wobble.
Cool at room temperature in the pan for approximately 3 hours.
Refrigerate for at least 12 hours, preferably overnight.
Release the springform pan and decorate with fresh berries and powdered sugar.
Slice while cold and serve.