Commit Graph
20 Commits
Author SHA1 Message Date
shweetandClaude Opus 5.5 57cb93d778 Full redump with round 7: 465 names + ~40 corrections, 208 fields; stale REPENTOGON structs verified
field_0x 5868 -> 3946, named ->members 99k -> 104k, unnamed code 19% -> 13.5% of bytes, 9132 FUN_ left.
LayerState/ChallengeParam/DailyChallenge/Menu_Online/GameStateItemPool/ItemPool_Item/BackwardsStageDesc, left in Ghidra by
an early unfiltered import, now come from 86 verified rows (all offsets held; GlowingHourglassState's tail is +0x188 here).
Corrections: libpng/libjpeg/libvorbis misnames, wrong ZHL matches (Manager::ResizeWindow = Cutscene::ANM2Part::Update,
NPCAI_Pathfinder::EvadeTarget = netplay), GameOver::Show, Level::load_room. std::vector<bool> is 0x10 (bit count).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 19:32:02 -04:00
shweetandClaude Opus 5.5 f7a1e00362 Full redump with round 6 and STL/small-struct typing: field_0x 14227 -> 5868, named ->members 90k -> 99k
ApplyTypes: std_vector/string/deque/map/set/list members get MSVC layouts (_begin/_end/_capacity ...), structs used as a
member type are built even when small (BitSet128 _tearFlags._l, KColor, RNG were dropped), structs padded to a multiple
of 4 (PlayerCostumeMap stride 0x10). headers.py prints STL members at their real size and pads to the alignment.
Round 6: 99 fields (Manager ItemConfig lists/InfoDisplay/lobby settings, Game transitions/PreloadManager, PersistentGameData
arrays, HomingLaser, EntityList), 500 names, 6 corrections (Menu_Challenge::Render, Level::compute_room_distances, ...).
9622 FUN_ left, in_ECX + 0x 17363 -> 16720.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 18:31:00 -04:00
shweetandClaude Opus 5.5 55ff607849 Full redump with round 5: 600 function names, 11 corrections, 27 fields, 66 globals; drop ECX-offset class placement of FUN_
The FUN_ placement (1d43433) fit any small-offset function to a dense class: 29 library functions went to OptionsConfig,
ScoreSheet/Popup/NightmareScene/Room code to Entity_Player or Entity. Reverted, and the 72 placed functions moved back to
global. Corrections include wrong ZHL signature matches (Entity_Familiar::RestoreState is a libpng writer,
Entity_Pickup::TriggerShopPurchase a netplay message reader, LoadArchiveFile is Gamepad_processEvents) and
theora/vorbis/miniz misnames. 10134 FUN_ left; raw in_ECX + 0x 17363 (+1.1k from the un-placing).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 17:51:30 -04:00
shweetandClaude Opus 5.5 a928f6204f Full redump with 65 typed globals, 53 fields, 346 function names; apply_db.py writes atomically
g_game/g_manager typed: 1483 g_manager-> and 834 g_game-> member accesses now visible (field_0x 10636 -> 14385 counts them);
named members 81k -> 91k, raw in_ECX + 0x 18425 -> 16225. ApplyGlobals takes array types (char[5]).
apply_db.py used to truncate all.c before computing the new text, so a killed build left it empty.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 17:25:09 -04:00
shweetandClaude Opus 5.5 32c608fb18 Full redump: typed this for 783 methods by ECX fit; in_ECX raw accesses 24003 -> 18425, named members 81k -> 93k
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 16:28:39 -04:00
shweetandClaude Opus 5.5 7922c31b6b Full redump with 475 more verified fields: field_0x 14762 -> 8502 (npc-> 3143 -> 818, this-> 5962 -> 2043)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 15:25:23 -04:00
shweetandClaude Opus 5.5 4df26355ef Full redump with Lua-typed fields, ColorMod, splat colour and EntityPtr parent/child
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 23:33:16 -04:00
shweetandClaude Opus 5.5 d9f43f7068 UseActiveItem re-decompiled with its prototype and the sprite fix
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 23:09:32 -04:00
shweetandClaude Opus 5.5 78730f0352 Full redump with the sprite fix: field_0x 31459 -> 24359 (npc-> 13022 -> 6874), 20 decompile failures
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 23:06:50 -04:00
shweetandClaude Opus 5.5 67c8120d40 Full redump with confirmed prototypes (601) and typed this for every method class
raw param/ECX offset accesses 29249 -> 25173 (now typed pointers), undefined4 params 3266 -> 3064

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 22:45:19 -04:00
shweetandClaude Opus 5.5 a317ff1f22 Full redump with tier-3 names and corrections; vtable names in Ghidra
290 NpcAI routines typed (was 249), unnamed FUN_ 11761 -> 11128

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 21:14:59 -04:00
shweetandClaude Opus 5.5 0a615743fc db: 575 tier-3 names (largest unnamed functions) and 50 corrections of wrong ZHL/ICF names
Entity_Player::Update, RoomTransition::ChangeRoom, PlayerHUD::RenderHearts, ReviveFromTrinket,
Menu_Game::Update, MenuManager::Render were on the wrong functions; real Beast and Scourge bodies
found; the Lua Font table was attributed to KColor; Weapon vtable slots from the exe's RTTI.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 20:28:28 -04:00
shweetandClaude Opus 5.5 25d89ba2c0 Full redump: 712 db names, projectile fields, Hopper locals
field_0x 25610 -> 25448, unnamed FUN_ 11761, decompile failures 22 -> 21

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 18:20:59 -04:00
shweetandClaude Opus 5.5 ba6ef6dcb0 db/locals.tsv + ApplyLocals.java: per-function local variable renames/retypes; apply_db renames name-only locals in the dump
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 17:40:37 -04:00
shweetandClaude Opus 5.5 1fac9adbe2 Full redump: split zhl fields + tier-2 names applied; build.sh: reused failures are not retried live
field_0x 25918 -> 25610, unnamed FUN_ 12105 -> 11763

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 17:37:52 -04:00
shweetandClaude Opus 5.5 e9a88c1d9c db: 344 tier-2 helper names; fix NpcAI names that were shared helpers (Gemini, Mask)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 16:26:08 -04:00
shweetandClaude Opus 5.5 09369a8c15 Full redump with Lua fields, embedded struct types and 352 db names
field_0x uses 31045 -> 25918; unnamed FUN_ 12414 -> 12105

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 15:57:36 -04:00
shweetandClaude Opus 5.5 13fb3d891e db: 85 more names (Lua-vs-sig fixes, top gameplay helpers); apply_db by address; atomic redump
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 13:23:19 -04:00
shweetandClaude Opus 5.5 03a56f217f Import anm2/rooms labels into db, embed struct fields, mine Lua getters for fields
- db/names.tsv: 163 names from src/anm2 and src/rooms labels (2 fix wrong ZHL names)
- ApplyTypes: embed known structs (Entity._sprite is an ANM2) instead of skipping them
- scripts/lua_fields.py -> lua_fields.tsv: 96 fields from the game's own Lua getters

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 13:19:48 -04:00
shweetandClaude Opus 5.5 ad8f933086 Salvage Repentance+ 1.9.7.17 decompilation toolkit, notes and name database
Ghidra 12.2 project and full dump of isaac-ng.exe v1.9.7.17, query scripts, notes
indexed by entity, anm2/rooms reimplementations, and db/ (names + fields) that
build.sh re-applies. Fixes awk numeric address comparison in find.sh/decompile.sh.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 13:08:19 -04:00