This page contains list of the interesting offsets within the game's binaries. The offsets are NDS memory relative, because that's more useful that bin files offsets. Just subtract the binary's load address to get its respective file offset.
Functions pointers and some documentation on them.
ARM9 Bin (0x2000000)
|Name||Offset NA||Offset EU||Offset JP||Parameters||Return value||Description|
||This function allocates a buffer on the heap of the desired size, and returns a pointer to it. The second parameter's role is unclear.. It might be a flag, since it doesn't seems to change the amount of memory allocated. It can be set to 0.|
||none||This function free a buffer that was allocated by MemAlloc.|
||none||This function fills the given buffer with zeros.|
||Unknown||This function will load a file from the rom filesystem into a heap allocated buffer. The function allocates the buffer, and fill it with the file data. The address to the buffer containing the file data and its size in bytes are put one after the other into the 8bytes of memory pointed by r0 when running the function!|
|DebugPrint||0x200C240||NA||NA||Unknown||none||This function would print to the debug log a printf formated string. But in the retail game it does nothing. Its interesting to note that its still called in the released games and is passed various debug strings and value which can be really useful for research!|
||none||This function translates the offsets of a SIR0 file, and change the magic number in the header to SIRO. It places a pointer to the first pointed location in the SIR0 header into the ptr pointed to by r0.|
Addresses of static variables and buffers.
Addresses of static constant values.
ARM9 Bin (0x2000000)
|Name||Offset NA||Offset EU||Offset JP||Length(bytes)||Type||Description|
Contains a list of pointers to path strings to all known pack files. The game uses this table to load its resources when launching dungeon play!
Should contain pointers to the strings:
Edited by evandixon
There are no comments to display.