Comment
Comment by wzdd
It seems less crazy when you look at the code. It seems like someone has gone through each function in a disassembly of the original and written the directly-corresponding C. Pick any module, for example, ending.c's Module18_GanonEmerges(), and you'll see lots of magic constants and direct SNES references like Intro_Clear1kbBlocksOfWRAM(). This is basically a C-ified disassembly of the original combined with half a SNES emulator.