A collection of scripts which greatly assist in decompiling 3DS games (particularly those with relocatable modules).
- MoveStatic - Moves the
.codebinary to0x100000in memory, and splits it into is respective segments, according toromfs/static.crs - CROLink - The present chef d'œuvre of this repository.
Links
.codeto its imported modules (.crofiles) and each module to each other, and additionally labels and demangles found symbols. - SplitToELF - A close second to CROLink in terms of utility.
Accepts a directory of compiled objects (
.o), and splits the current Ghidra program into its own.ofiles, outputting them into another directory for linkage with your favorite linker (mine is the devkitARMarm-none-aebi-ld). Just make sure the order is known ahead of time. - LabelSVCFunctions - Labels and bookmarks Software Interrupts (Services / SVC)
- LabelServiceHandles (Coming Soon) - Labels handles to services (Services API)
- zaksabeast for your Python scripts as inspiration as the basis of LabelSVCFunctions/LabelServiceHandles
- The Reverse Engineering Discord and the Ghidra docs for Ghidra API help
- CRO0 on 3dbrew
- wwylele's CRO doc
- Lots of work in the 3DS Decomp Server!