Commit Graph
133 Commits
Author SHA1 Message Date
shweet 00dacd9193 notes: side view (room type 16) and Rotgut's crawl space chain 2026-10-25 20:53:57 -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
shweet 33f9f9a40f notes: characters pass 11 (Dark Esau appear and Birthright, umbilical rope, laser gore, bone throws, Forgotten Chain, T??? death and brown creep) 2026-10-25 20:05:24 -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
shweet 4642e8eeb1 notes: items sweep 14 read-not-ported (GB Bug, Worm Friend, Lil Spewer, Fruity Plum, Bird Cage, Genesis, Death Certificate, Suplex) 2026-10-25 19:16:51 -04:00
shweet ae36e13486 notes: items sweep 14 (red rooms, member card, D1, D infinity, glowing hourglass, bone spurs, lil dumpy, mystery egg, the swarm, samson's chains, jaw bone) 2026-10-25 19:10:24 -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 26ca85f8ce notes: ascent port status 2026-10-25 18:27:45 -04:00
shweet a52f5abb5b notes: Rotgut's maggot (NpcAI::ENTITY_ROTGUT_maggot attacks, crawl space rooms) 2026-10-25 18:27:37 -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 3f1e276667 ApplyTypes: a field of unknown type (std_map, DeathmatchManager) names its first dword instead of being dropped
Shows &g_game->_deathmatchManager (462 uses of field_0x26614) and lets ItemConfig grow past a 4-byte stub, so Manager
accesses read (g_manager->_itemConfig).field_0xc. Takes effect on the next build.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 17:52:42 -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
shweet 14a4468476 notes index: boss fidelity 1 (and the headings added since the last regeneration) 2026-10-25 17:50:57 -04:00
shweet c7442c0450 notes: boss fidelity 1, Mega Satan 2 wording 2026-10-25 17:50:50 -04:00
shweet 72461cf741 notes: boss fidelity 1, Mega Satan 2 left for later 2026-10-25 17:50:42 -04:00
shweet fef3e43e36 notes: boss fidelity 1, Lamb body 2026-10-25 17:49:00 -04:00
shweet 960c4968b7 notes: boss fidelity 1, Turdling 2026-10-25 17:45:24 -04:00
shweet 6e2519eafa notes: boss fidelity 1, Gurgling pair 2026-10-25 17:42:46 -04:00
shweet 24e33d17a1 notes: boss fidelity 1, Rainmaker 2026-10-25 17:31:26 -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 6710a6dfd9 notes: boss fidelity 1, Mr. Fred and Lil Blub 2026-10-25 17:22:49 -04:00
shweet 4e470558f9 notes: boss fidelity 1, Baby Plum 2026-10-25 17:19:46 -04:00
shweet d7b3e95fdc notes: boss fidelity 1, Mega Maw and The Gate 2026-10-25 17:11:45 -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
shweet 46f88ca26b notes: boss fidelity 1, Sisters Vis and the room's boss counters 2026-10-25 16:52:51 -04:00
shweet 37a4adc2a3 notes: boss fidelity 1, the Haunt and Rag Mega's pillar 2026-10-25 16:37:53 -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
shweetandClaude Opus 5.5 1d43433e1b this_types: also place unnamed FUN_ functions in a class when their ECX offsets match one class's field starts unambiguously
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 16:30:21 -04:00
shweet 0b7ee2703d notes: characters pass 10 (Berserk!, Anima Sola chain, umbilical cord, Dark Snare, club throw, screen shake) 2026-10-25 16:28:49 -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
shweet 61a495fabb notes: boss fidelity 1 (The Cage, Dingle/Dangle idle numbers corrected) 2026-10-25 16:19:40 -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
shweet ca728ca74d notes: items sweep 14 familiars (Bob's Brain, Lost Fly, Angry Fly, Boiled Baby, Lil Abaddon, Bumbo) 2026-10-25 16:14:10 -04:00
shweetandClaude Opus 5.5 5dbb3e398d ApplyTypes: FamiliarAI routines typed __fastcall(Entity_Familiar *familiar) like NpcAI (ECX reads all fit)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 16:08:58 -04:00
shweetandClaude Opus 5.5 cbb2f465ec Typed this for ~780 more methods whose ECX reads fit their class's confirmed fields; Sprite/Color = ANM2/ColorMod
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 16:08:01 -04:00
shweet 76ef4d7834 notes index: items verify 2 batch files 2026-10-25 15:47:27 -04:00
shweet 8338bf7663 notes: items verify 2 passives_rif_a (tear procs, hurt items, update_effects, contact damage, familiars) 2026-10-25 15:35:49 -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
shweet 87eef34381 notes: side charges, Ventricle Razor 2026-10-25 15:22:21 -04:00
shweet d0e5910bc5 notes: items verify 2 cards (Tarot Cloth boost, Rep tarot cases, Suicide King table, Soul of Eve) 2026-10-25 15:03:06 -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
shweet 56572d8724 notes: items verify 2, Rebirth passives 420+ (tear procs, TakeDamage passives, Poke Go table) 2026-10-25 15:00:57 -04:00
shweet 1bd6a681dc notes: items verify 2 actives_rif (Undefined, Wooden Nickel, CharmFart, Plan C, Wait What, Metronome, Sharp Straw, Fortune Cookie, Free Lemonade, Magic Skin, Friend Finder) 2026-10-25 15:00:35 -04:00
shweet a3f1f4bba8 notes: items verify 2, trinkets batch 2026-10-24 23:52:46 -04:00
shweet 494246a64d notes: items verify 2, Flash passives batch (EvaluateItems stat groups, tear hit chances, familiar tears) 2026-10-24 23:50:11 -04:00
shweet a374afc7fa notes: items verify 2, Flash actives 2026-10-24 23:47:31 -04:00