DumpAll writes dump/types.tsv (Ghidra structs/unions with components, typedefs, enums with values), data.tsv (global data labels with types) and externals.tsv (imported functions). source_tree.py lays the Ghidra types out with the classes (591 types, 347 sized), declares every global, import and code label, drops Windows calling conventions, leaves third-party classes (std, rapidxml, theoraplayer, luabridge, stb_vorbis) declared but not reconstructed, turns raw vtable calls on typed objects into named virtual calls and (int)p + n byte arithmetic into (char *)p + n. The tree now targets x86_64 Linux; the original 32-bit layout stays as LAYOUT32 asserts, checked with -m32 (they hold). --check: 775/3262 method bodies compile for x86_64 (23.8%), 23010 raw offset accesses left (64-bit hazards). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
222 MiB
222 MiB
The file is too large to be shown.
View Raw