Decompiler output reorganized to browse like real source. NOT original code, NOT fully buildable — types/layouts are Ghidra's best guess.
include/ghidra_types.h ulong/uint/byte/undefined*/code, call-conv macros, EVP stub
include/game_types.h ~227 opaque class forward-decls + scalar/system-type stubs
include/globals.h 1698 nm globals + 814 DAT_/PTR_ synthetics
src/globals.c dummy definitions
src/runtime/startup.c CRT/entry/wrappers
src/platform/shims.c SDL/OpenAL/MySQL/Steam/GL thunks
src/vendor/zlib_png.c | audio.c | shader.c vendored libs
src/engine/core_*.c generic engine/util (12 chunks)
src/game/classes/*.c ONE FILE PER CLASS (e.g. GSMBMenu, GSuperMeatBoy)
src/game/logic/game_*.c unclassified game fns
src/external/stubs.c EXTERNAL-block stubs (halt_baddata)
src/reconstructed/ semantic reconstruction (AlienHominid first; src/ untouched)
docs/index.md per-function file map
tests/ recompilable leaf demo (adler32 vs zlib)
docs/index.mdto locate things; start atmain @ 00453b40(SDL_Init->GetBasePath->chdir->XDG_DATA_HOME->GSuperMeatBoyctor ->TEngine::Run), thensrc/game/classes/GSuperMeatBoy.c,src/game/classes/GSMBMenu.c.- Each function keeps
Ghidra name @ address + Signature (+ Class), plusCalls:/Called by:xref lists (e.g.mainshows its whole startup flow andCalled by: start). - Raw addresses carry value comments:
DAT_005be5e0 /* R:500.0f */,&DAT_005c9a59 /* R:"ELSE" */— full table indocs/rodata.md. (R:".."= string,R:500.0f= float32, else raw u32.) - Identifiers are C-ified:
this->self,param_N->argN,undefined4->uint32_t, etc. String literals are untouched.
Characters: alien_hominid (+ verified rewrite), meatboy_charactor
(base bible), meat_ninja, dr_fetus, characters (25-roster census).
Game: gsuper_meatboy, gsmb_menu, tengine. Enemies: bosses.
World: world_tiles. Media/online: rendering, flash_anim,
audio_online. Systems: editor_input_data, actors_meta, core_types.
Class model: class_model (forest + vtables) + recovered/ (131 headers)
misfiled(114 wrongly-filed methods) — real code recovered from RTTI.
make checkcompiles per-file (gcc -Iinclude -w -fcommon -std=gnu11). Only a minority of TUs compile: opaque-struct pointer arithmetic (this + 0x7e0on incomplete structs), missing class layouts/vtables/STL andcode*indirect-call idioms need manual RE. Full relink is not automatic.tests/: leaf functionadler32 @ 00562140recompiles and matches zlib.