Custom Code/Reverse Engineering

This page is dedicated to guides on reverse engineering the game, to find helpful information about the internals and to assist in creating ASM patches for low level hacks.

Requirements

 * Ghidra set up with the NSMBU RPX loaded
 * At least a basic understanding of C++ or Assembly

Locating Actor Constructors

 * 1) Create a class from the Symbol Tree menu and name it the same as the target class name.
 * 2) Check the build function for your desired profile from the Discord bot in the Zenith server (syntax: -searchprofile [name]).
 * 3) Go to the build function address from above (Press G to load goto menu).
 * 4) Label the build function   where Class is the name of the class you just created in the Symbol Tree.
 * 5) Set the param type to   and set the label to.
 * 6) Right click on the function that gets called inside the build function, and go to function signature.
 * 7) Label it , set the calling convention to   (make sure to remove the extra param if it creates one here), and set param 2 to be of type   and labelled.