Whisk the egg yolks, sugar, cornstarch, and salt in a bowl. Heat the oat milk in a saucepan until steaming, then slowly whisk half of it into the yolk mixture.
Return the pastry cream mixture to the saucepan and cook over medium heat, whisking constantly, until thick and bubbling. Cook for 1 additional minute, remove from the heat, and stir in the plant butter and vanilla.
Transfer the pastry cream to a shallow container and cover its surface directly. Refrigerate for at least 3 hours, until completely cold and firm.
Preheat the oven to 350 F. Grease and line two 8-inch round cake pans with parchment paper.
Whisk the flour, sugar, baking powder, and salt together. Add the eggs, oat milk, oil, and vanilla, then whisk just until the batter is smooth.
Divide the batter between the pans and bake for 20 to 24 minutes, until the cakes spring back when lightly pressed. Cool in the pans for 10 minutes, then transfer them to a rack to cool completely.
Place one cake layer on a serving plate and spread the cold pastry cream evenly over it. Add the second cake layer and refrigerate for 20 minutes to stabilize the filling.
Heat the coconut cream and corn syrup until steaming, then pour them over the dairy-free chocolate. Stir until glossy, cool for 10 minutes, and spread the ganache over the top of the cake, allowing it to flow naturally toward the edges.