Top Part:
1 cup sugar
1 beaten egg
¼ cup butter or shortening)
1 cup flour
½ cup milk
1 tsp. baking powder
½ tsp. vanilla
Cream together sugar and shortening. Add the combined milk and egg alternately with flour and baking powder. Add flavoring and set aside until lower part is mixed.
Lower Part:
½ cup sugar
6 Tbsp. water
4 Tbsp. cocoa
¼ tsp. vanilla
Mix together the cocoa, sugar, water, and vanilla. Pour into an unbaked pie shell. Over this pour the "top part". The chocolate will come up around the outside edge which gives a nice crusty edge on the finished product. Bake in a 350 degree oven for 35 minutes or until firm (toothpick test).
https://www.amish365.com/amish-funny-cake-pie/