Dan Salvato
IE
This is how Achilles and I create our own debug menus in our respective mods. Rather than try to form-fit our menus to existing areas and functions in memory, this code lets us store arbitrary menus anywhere in memory and load them with a simple pointer.
Relevant and also useful is my debug menu documentation, found here.
Document
Relevant and also useful is my debug menu documentation, found here.
Document