I believe the recipe you're recalling is likely a version of German Apple Cake (Apfelkuchen). It usually has a cinnamon-sugar sponge base, a layer of cooked apples on top, and then a sugar-cinnamon crunchy topping. To recreate it, you could mix 1 1/2 cups of flour with 1 tsp of baking powder and 1/2 tsp of cinnamon, then combine it with 1/2 cup of softened butter, 1 cup of brown sugar, and two eggs, adding 1/2 cup of milk and some vanilla extract. Pour the batter into a greased pan, top with apple slices sprinkled with cinnamon and sugar, and finish with a topping made from a mixture of brown sugar, flour, oats, and cold butter. Bake until golden and enjoy