Commit Graph
82 Commits
Author SHA1 Message Date
shweet 44fde0a55d Merge items/combat_actives parity notes
# Conflicts:
#	db/names.tsv
2026-10-30 14:17:22 -04:00
shweet 28914ffa80 Merge items/tears parity notes 2026-10-30 14:11:07 -04:00
shweet 92521ff020 Merge items/defensive parity notes
# Conflicts:
#	db/names.tsv
2026-10-30 14:11:07 -04:00
shweetandClaude Opus 5.5 2e836855da notes: the tears cluster (parity_tears.md): every single-bit TearFlags constant 0xc34560..0xc34c60 named in globals.tsv from the exe; Eye Drops' per-eye clocks (Weapon_Tears::Fire 0xa0a720), Backstabber's backstab (ApplyTearFlagEffects 0x67af60, GetForwardVector 0x6d48a0, AddBleeding 0x6ae420), Eye of Greed's coin tear (TriggerTearEffects 0x9f7930), Ocular Rift, Jacob's Ladder, Linger Bean and Saturnus entry points; 0x676be0 renamed Entity_Tear::apply_death_flag_effects
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 14:08:03 -04:00
shweetandClaude Opus 5.5 145ca36e26 notes: defensive cluster (Jelly Belly's bounce in TakeDamage 0x7729d0, Salvation, Trinity Shield, Camo Undies, Broken Modem, Blood Oath, Akeldama, Betrayal, Spirit Shackles mapped with addresses); names Blood Oath's familiar AI 0x63f9f0, the Jelly Belly callback 0x42bc20, DeathmatchManager mode 4 test 0x429560
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 14:05:08 -04:00
shweetandClaude Opus 5.5 bbbd66eb6d notes: rooms parity cluster: Restock's TriggerRestock 0x815800 / ShopRestockPartial 0x8158a0 queue, 30-tick timer and ResolveHeartSubType 0x816250 markup (max(1, price / 7) x n(n+1)/2, cap 99); Lost Cork's Lil Spewer tables (0xb64588 x1/1.25/1.5, 0xb64574 spacing); Death's List, Options?, Duality, Pound of Flesh, Sanguine Bond, Luna, Filigree Feather, Blue/Strange Key, Adoption Papers sites; names 0x814980 Room::shop_ware_roll
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 13:47:38 -04:00
shweetandClaude Opus 5.5 50c852ba1c notes: combat actives parity (items/combat_actives): Berserk!'s damage-dealt charge in update_effects 0x79c3fe..0x79c51c (the frame's damage x damage_charge_scale 0x7d3560 = 1 / (stage * 20 + 40), 0.1 in deathmatch, x 50000 into every slot holding 0x2c0), its use (case 0x61: sounds 592, 650; TemporaryEffect 150 ticks); what Mega Blast, Black Hole, Telekinesis, Larynx, Mega Mush, Meat Cleaver, Urn of Souls, Vade Retro, Spin to Win, Suplex! and Breath of Life do and the Entity_Effect::Update cases (jump table 0x606f8c) each still needs read
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 13:46:58 -04:00
shweet 6d1c269859 notes: Repentance+'s item info panel (InfoDisplay) and its names 2026-10-30 10:44:01 -04:00
shweetandClaude Opus 5.5 6bcf8d56de Full redump with round 22: 549 locals in the last small named functions, 330 prototypes from round 21 (2792 applied)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 16:51:11 -04:00
shweetandClaude Opus 5.5 9e10f44af5 Full redump with round 21: 5296 locals in 982 smaller functions, 98 prototypes from round 20
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>
2026-10-26 15:38:37 -04:00
shweetandClaude Opus 5.5 02b89f057e Full redump with round 20: 3048 locals in 171 engine/support functions; build.sh survives a full /tmp
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>
2026-10-26 14:20:36 -04:00
shweetandClaude Opus 5.5 95d5093e26 Full redump with 157 prototypes from round 19: 2398 applied
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 10:38:02 -04:00
shweetandClaude Opus 5.5 cc74488ec7 Full redump with round 19: 1362 more locals in 386 smaller game functions, 211 prototypes from round 18
2245 prototypes applied; param_N lines 37579.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 10:08:21 -04:00
shweetandClaude Opus 5.5 9877cddc04 Full redump with round 18: 3541 more locals in the next 583 game functions, 139 prototypes from round 17
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>
2026-10-26 09:29:50 -04:00
shweetandClaude Opus 5.5 6b922312f2 Full redump with round 17: 3279 more locals in the next 365 game functions, 81 prototypes from round 16
Level::Init, Shopkeeper, HUD::render_player_hud, Weapon::FireBrimstone, GameState::write_room, Game::StartRoomTransition, ...
1923 prototypes applied; param_N lines 42363 -> 39941 since round 12.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 08:45:57 -04:00
shweetandClaude Opus 5.5 9c7c85d069 Full redump with round 16: 3033 more locals in the next 264 game functions, 50 prototypes from round 15
Manager::Init/Update, MenuManager::Render, Menu_OnlineLobby::Update, bag_of_crafting_collect, BombExplosionEffects, Oob, ...
1847 prototypes applied.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 08:02:33 -04:00
shweetandClaude Opus 5.5 b9c36dfa07 Full redump with round 15: 2421 more locals in the next 192 game functions, 41 prototypes from round 14
Level::ChangeRoom, Entity_Player::Render, Game::LoadConfigXmls, MenuManager::LoadGraphics, Leper, ... 1801 prototypes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 07:19:49 -04:00
shweetandClaude Opus 5.5 32a702cd50 Full redump with round 14: 2240 more locals in the next 144 game functions, 29 prototypes from round 13
Manager::load_configs, Room::SpawnGreedModeWave, Menu_Options::Update, Blastocyst, Hive, Visage mask, Fistula, ... 1763
prototypes applied.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 06:39:16 -04:00
shweetandClaude Opus 5.5 4b8210b900 Full redump with round 13: 2126 more locals in the next 119 game functions, 19 prototypes from round 12
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>
2026-10-26 05:59:34 -04:00
shweetandClaude Opus 5.5 1da26aa0e7 Full redump with round 12: 1511 more locals in the next 80 game functions; ApplyLocals skips a clashing name instead of aborting
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>
2026-10-26 05:19:48 -04:00
shweetandClaude Opus 5.5 b1b64761d0 Full redump with round 11: 1335 more locals named in the next 64 largest game functions (all applied)
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>
2026-10-26 04:14:02 -04:00
shweetandClaude Opus 5.5 8e6b947042 Full redump with 15 prototypes from the locals round; ApplyLocals raises the decompiler's instruction limit for UseCard
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 03:26:24 -04:00
shweet f09ffd4617 Boss fidelity 4 notes: FireProjectiles modes 2/4/5 boost, mode 9 without the fall base, MoveRandomly/FindGridPath friction conventions, the Rebirth boss audit 2026-10-26 01:09:16 -04:00
shweet 5d770fcd37 Pass 9 monster fidelity notes: fall-base audit, release/friction audits, 58 uncited records, open proposals 2026-10-26 01:06:30 -04:00
shweet ebe04d25b0 Greed pass 2: pool tables, shop level, Taurus re-arm, Ultra Greed init/slot/shoot/death details 2026-10-26 00:09:08 -04:00
shweetandClaude Opus 5.5 79259ccf8f Full redump with round 10: 1017 local variables named in the 37 largest game functions
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>
2026-10-25 22:57:49 -04:00
shweet e31637ca19 notes: Greed/Greedier fidelity pass (rooms/greed stage ids, generate_greed map and antechamber trigger, SpawnGreedModeWave tables, button, devil door, rewards, donation machine unlocks); greed wave fields 2026-10-25 22:43:19 -04:00
shweetandClaude Opus 5.5 40e518bc76 Full redump with round 9 prototypes (1716 applied) and KAGE_LogMessage returning again
Ghidra had KAGE_LogMessage marked non-returning, so ~1,200 functions were cut off at their first log call. ApplyProtos
clears the flag on any function with a RET, re-disassembles after its calls and regrows the callers: 'does not return'
5337 -> 2355 (all genuine: _invalid_parameter_noinfo_noreturn, _Xlen, _CxxThrowException), dump 1.235M -> 1.299M lines.
596 more prototypes, ~20% with REPENTOGON register notation: param_N lines 44610 -> 42588, in_XMM 1237 -> 734.
12 renames from the agents (HUD::LoadGraphics at 008ed350 = Menu_OnlineLobby::load_member_sprite, Room::MamaMegaExplosion
= Weapon::fire_bomb, vector_iterate_noop = PlayerManager::get_total_luck, log_room_transition = RoomTransition::start, ...).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 21:41:31 -04:00
shweet 6279dabf83 notes: boss fidelity pass 2 (Mega Satan's 26 + 9 Shoot patterns, its pick, projectile wiggle/curve flags, red Mega Maw / Gate, Rag Mega, Mama Gurdy, Chimera, pass 1 gaps); projectile fields 2026-10-25 20:26:24 -04:00
shweetandClaude Opus 5.5 36ae4cbfb8 ApplyProtos: REPENTOGON register notation (float r<xmm3>, int x<edx>, float<xmm0> returns, static cleanup) via custom storage
Whole-program optimisation passes many floats in XMM registers and some arguments in ECX/EDX with the caller popping the
stack; those declarations were skipped. Every prototype is now applied with explicit storage (this in ECX for __thiscall).
Tested on a project copy: 1103 -> 1158 applied from the existing files (REPENTOGON's register declarations now fit),
e.g. void __thiscall Game::SetBloom(Game *this,int Time,float Strength).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 20:25:00 -04:00
shweetandClaude Opus 5.5 df5db46f62 Full redump with round 8: 471 confirmed prototypes (1103 applied, was 622); ApplyProtos takes free functions
Every db/protos.zhl line is checked against the callee's RET n. Typed parameters make more pointers typed: named
->members 104k -> 115k (field_0x 3946 -> 4576 as newly typed pointers show their unknown members), param_N lines
47349 -> 44610. 83 targets skipped: XMM float args/returns or ECX/EDX + caller-cleaned stack (whole-program optimisation).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 20:21:16 -04:00
shweet 75fa19c574 names: umbilical rope force, creep contact and hallowed ground setters (characters pass 11) 2026-10-25 20:05:35 -04:00
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
shweet 58752119fa notes: the Ascent (pre-ascent flag, Dad's Note's Mausoleum room, white-out timer, backwards stages, backwards generator, SetNextStage on the Ascent) 2026-10-25 17:54:21 -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
shweet 0eb78686a1 db/fields: Room alive enemy and boss counters (0x12c0, 0x12c8) 2026-10-25 17:51:22 -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
shweet 192e55b7ba notes: monster fidelity pass 6 (55 Rebirth records in pass6_h1..h5, the pass-5 proposals built and the speed/fly audits in pass6_engine) 2026-10-25 17:07:25 -04:00
shweetandClaude Opus 5.5 2e4322b8a5 db/globals.tsv + ApplyGlobals.java: label and type global data; apply_db.py 1000x faster (token match + dict lookup)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 16:36:51 -04:00
shweet 6044f52c36 notes: Beast fight port status in isaac-classic (decisions on the open points, what is left); names from the War/Death and Beast fight passes 2026-10-25 16:19:29 -04:00
shweetandClaude Opus 5.5 8d10492172 db/fields: 150 formerly bracketed REPENTOGON fields re-verified (2 moved, 2 not in this game)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 15:02:14 -04:00
shweetandClaude Opus 5.5 134ab40589 Fields: 325 identified from the most-used unnamed offsets; bracketing is no longer evidence; '-' rows delete wrong fields
Entity _mass (0x2d4) and _depthOffset (0x2b0) were REPENTOGON fields kept by bracketing and both wrong
(Lua getters read 0x37c / 0x358). Bracketed fields now need direct confirmation; 155 are being re-verified.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 23:40:33 -04:00
shweet 962ec27869 notes/names: monster fidelity pass 5 (70 common Rebirth records: gaper/skinny/hopper/clotty families, Death's Heads, wall creeps, round worms, dip, squirt, wizoob, meatball, mobile hosts, portal, Mom's hands, revenant, quake grimaces, evis, holy eye, Polycephalus, the Stain, Rag Man, Little Horn, Dark One, Mega Fatty) 2026-10-24 23:37:54 -04:00
shweetandClaude Opus 5.5 58eeb7991f db/fields: 89 Lua field properties typed from their binders (Friction, Tear stick, Player TearFlags/QueuedItem, grid entities...)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 23:15:27 -04:00
shweetandClaude Opus 5.5 d806b3b969 ColorMod layout from the Lua Color getters; Entity._splatColor; embed small/placeholder structs (EntityPtr)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 23:08:54 -04:00
shweetandClaude Opus 5.5 e285a40016 db/protos.zhl: own function signatures, applied like REPENTOGON's only where RET n agrees
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 22:50:46 -04:00
shweet 155d8b038f rif/rebirth-pills: pill pool, colours, gold pill, PHD/False PHD tables, Retro Vision, I'm Excited, time scale 2026-10-24 22:39:15 -04:00
shweet b44a7432f2 notes/names: items sweep 13 (pocket slots, D7, D8, D10, D12) 2026-10-24 22:12:06 -04:00
shweetandClaude Opus 5.5 a71fed58c9 names/notes: items verify (cases read through use_dispatch: Teleport 2.0 room pick, Glass Cannon, Spindown, Diplopia/Jera/Crooked Penny copy rules, Aces, Temperance?, Endless Nameless, ...)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 21:54:51 -04:00