classes.tsv (vtable.py --classes): 194 RTTI classes with vftable, direct bases (offsets from the PMD), vtable slots and,
for 176, the exact size from the deleting destructor's sized delete. Sizes flow into structs.hpp (static_assert sizeof)
and, next build, into Ghidra's structs (ApplyTypes 'size' rows) so this[1]._x stops standing in for the tail.
scripts/source_tree.py generates src/game/classes.hpp: 293 classes with real bases, vtables in slot order (overrides,
REPENTOGON slot names, vfunc_N placeholders), fields at their offsets, 2400 method declarations; it compiles with
clang --target=i686-pc-windows-msvc and all 174 sizeof / 1899 offsetof asserts hold. Round 26's prototypes are held.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Prototypes applied 3163 -> 3241, rejected 113 -> 35 (a locals row had named the stand-in local like the parameter).
Round 25 agents may fix wrong names and retype in place (39 same-name rows). Dropped the row naming Level::load_room's
this 'pit'; locals_round.py no longer merges renames of this. Round 25's prototypes are held in db/protos.zhl.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Round 23: 2490 locals in 50 functions (default names there 5761 -> 2946). Round 24: 1116 locals in 79 more.
3032 prototypes applied. db/protos.zhl also holds round 24's 12 prototypes for the next build.
scripts/locals_round.py: pick / locals / protos steps of a locals round (the /tmp copies were lost in a reboot).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2489 prototypes applied; param_N lines 35921. The one new decompile failure is FUN_00c932c0, data misread as code.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The /tmp tmpfs has a shared per-user quota: Ghidra's temp files hit it mid-dump, 8158/21083 functions came out and the
cut dump replaced the good one. build.sh now points java.io.tmpdir at .tmp/ in the repo and keeps dump/ when dump.new
has under 99% of its functions. Round 20: AnmCache::ParseFile, FXLayers/Music::LoadConfig, challenges_xml_load,
LuaEngine::RegisterAPI, controller glyph tables, ...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Entity_NPC/Entity_Familiar::TakeDamage, PersistentGameData save import and challenges, pause screen pages,
Menu_Character::render_wheel, ... 2046 prototypes applied.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
GameState::write_player, Level::load_room, Mega Satan's hand, The Haunt, PlayerHUD::RenderHearts, TrapDoor, familiar AIs, ...
005d2a70 did not decompile inside ApplyLocals (PTRSUB off of non structured pointer type) and waits with UseCard.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
3899 of 3920 db/locals.tsv names now show in the dump (UseCard's 56 still wait). Delirium, Heretic, Reap Creep,
Entity_Effect::Render, Game::BombTearflagEffects, Menu_Stats, ... plus 18 prototypes from round 11.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
UsePill, Game::Render, Entity_Laser::update_laser, Room::render_water, the Beast, CreateGlitchedCollectible, the NPC
dispatcher, ... Entity_Player::UseCard still fails in ApplyLocals ('Bad instruction count exceeded', not the instruction
limit: raising it did not help), so its 56 rows wait.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Entity_Player::UseActiveItem/update_effects/EvaluateItems/Update/TakeDamage, Entity_Tear::Update, Entity_Familiar::Update,
EntityConfig::LoadEntities, Room::Init, Level::place_special_rooms, Hush, Mega Satan, ... (only single-role variables:
damageSource, isPenalized, genRng, secretRoomIdx, daemonsTailRng). Entity_Player::UseCard's 56 rows did not apply
(ApplyLocals could not decompile it this run; it now prints the decompiler's error).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>