Fork for AI-assisted matching work

Personal fork so AI-assisted decomp work has a home without disturbing
upstream. README explains the fork; AGENTS.md documents the method and
forbids ever opening a PR against koopthekoopa/wii-ipl.

Matching progress: +9 exact functions, 0 regressions, main.dol still
byte-identical (26116613f624061ba99c8d1a299aaa6efa85670d).

iplESMisc gains CheckTmdParentalControl, CheckSafeDeleteTitle,
NumPrivateContents, checkContentsNum and GetValidTicketIndex, plus the
other functions matched in the previous pass.

The load-bearing finding, written up in AGENTS.md: MWCC emits a
translation unit's string literals in source-token order. A missing
function, or an inverted if/else, shifts every later string offset and
breaks functions that were never edited. Fixing that pool ordering lifted
TMDFile::Open from 99.92 to 99.96 without touching Open.

Adds tools/decomp-assist/ with pool_diff.py, ctxdiff.py, disasm_fn.py,
export_pyghidra.py and the Ghidra decompilation dump.
This commit is contained in:
coah
2026-09-19 13:19:34 +00:00
parent e46b4b98ef
commit f8d83e5ff2
25 changed files with 2680 additions and 32 deletions

View File

@@ -1219,7 +1219,7 @@ namespace ipl {
}
u32 System::getLanguage() {
u32 lang = SCGetLanguage();
s32 lang = SCGetLanguage();
s32 region = getRegion();
switch (region) {