Curation round 26 (code only): the Siren, Singe's body and Butt Slicker, DebugRenderer and the hitsphere and player-info debug views, saved key bindings for menu actions, Mega Blast, 4.5 Volt, C Section, Mom's Bracelet, Book of the Dead and Everything Jar, and a parity audit of the player, pickups, level, familiars and Entity_NPC fixing about 90 differences; 005832c0 and 0058a010 renamed

This commit is contained in:
shweet committed 2026-11-23 09:47:38 -05:00
1 parent 5c89798773
commit cc77c923e8
112 files changed
+4358 -1864

No files matched your search

+3 -1
View File
@@ -1972,7 +1972,7 @@
005cc510 std::vector<8byte>::_Emplace_reallocate ECX vector, args (where, const T*) for 8-byte elements: 1.5x growth (max 0x1fffffff), insert, move halves, _Change_array; used by Level::place_special_rooms, Entity_Player::RestoreGameState and the push_back wrapper FUN_005cbdd0
005ae140 NpcHelper::wormwood_spawn_splash ECX = Wormwood npc: spawns effect 1000.132 at its position and plays sound 474; returns the effect; called from NpcAI::ENTITY_WORMWOOD_main when it dives/emerges and ENTITY_WORMWOOD_segment_follow when a segment crosses the water line
005999b0 NpcHelper::tuff_twins_play_anim ECX = Tuff Twins npc: copies the anim name arg1 into a std::string, appends "B" when +0xbc4 is set (the alternate body), and ANM2::Play's it on the sprite (+0x48); callers are NpcAI::ENTITY_TUFF_TWINS, NpcHelper::tuff_twins_body_attack_anim and sibling state helpers
00589e40 std::vector<ColorQuad>::_Emplace_reallocate ECX vector of 0x70-byte elements (max 0x2492492): allocate 1.5x, render_quad_copy the new element and both halves, adopt (FUN_0041fe10), returns pointer to the inserted element; callers Entity_Pickup::GetLootList and render_quad_draw push ColorQuads
00589e40 std::vector<ColorQuad>::_Emplace_reallocate ECX vector of 0x70-byte elements (max 0x2492492): allocate 1.5x, render_quad_copy the new element and both halves, adopt (FUN_0041fe10), returns pointer to the inserted element; callers NpcHelper::scourge_chain_strip_render and render_quad_draw push ColorQuads
005711a0 std::vector<32byte>::_Clear_and_reserve_geometric ECX vector of 0x20-byte elements (max 0x7ffffff): frees old storage and allocates max(1.5x cap, n) leaving size 0, used before memmove in Game_StateSlot::operator_assign, GameState::copy_room_list, Level::generate_boss_room (MSVC vector::assign helper)
005688c0 NpcHelper::mother_set_collision_class ECX = Mother npc: sets _entityCollisionClass (0x188) to arg; for subtype 0 also on the two linked parts from the deque at +0xbf4 (indices +0xbfc+1/+2); NpcAI::ENTITY_MOTHER sets 4 / 0 on anim events, mother_spawn_parts sets 0
004d6f80 std::vector<EntitySaveState>::erase ECX vector, args (out iterator, where): move-assigns every 0x78-byte EntitySaveState after where down by one (swapping the shared pointer/ANM2 ref members), destroys the last (invoke_pending_callbacks) and shrinks end by 0x78; used by NpcAI::ENTITY_MOMS_HEART_mausoleum_death and Game::spawn_bomb_crater on room save states
@@ -3528,3 +3528,5 @@
0086e6c0 LuaEngine::RunScript REPENTOGON LuaEngine::RunScript(const char* path), __thiscall: LoadModContent 008f464d loads ECX from g_luaEngine (00c71690); strings 'Running Lua Script: %s', 'There was an error running the lua file: %s'
008f6190 is_mod_name_less ListMods sort comparator: string_compare(a->_name, b->_name) >> 31 on two ModEntry*
0069d290 EntityConfig::link_tainted_players misnamed Menu_Mods::Update: LoadModContent 008f4681 calls it with ECX=g_manager+0x2a670 (_entityConfig); walks players from index 41 (0x29, 0x148-byte EntityConfig_Player), maps display names, then sets +0x124 of players whose _bSkinParentName matches
005832c0 NpcHelper::scourge_chain_strip_render Scourge chain (909.10) render: ZHL sig misnamed it Entity_Pickup::GetLootList; the first link draws the chain as one textured strip (boss_scourge.cpp)
0058a010 NpcHelper::singe_crater_ring misnamed Entity_NPC::Render by a ZHL prefix: the timer callback Singe's super blast (0058aed0) creates; rings the timer's cell with pits one cell further out per call (Entity_Effect state), poofs, rock chips, SOUND_ROCK_CRUMBLE (boss_singe.cpp)
Can't render this file because it is too large.
+1 -1
View File
@@ -1173,7 +1173,7 @@ __thiscall void Entity_Player::update_ladder(); // plain RET at 007a002f; ECX
__thiscall void Room::card_against_humanity_fill(); // plain RET at 007febf7; ECX = room (clears +0x11f4, reads grid width/height at +0xc/+0x10), no stack args
__fastcall void NpcHelper::delirium_fire_pattern(Entity_NPC* npc); // plain RET at 004a9826; mov edi,ecx at entry, EDX written before read, no stack args; reads npc _deliriumAttackID/_deliriumAttackAngle
__thiscall int Entity_Player::reroll_collectibles_on_damage(RNG* rng, bool isIncludeActives); // RET 0x8 at 005c92e3; REPENTOGON Entity_Player::RerollAllCollectibles(RNG*, bool includeActives) shape (here [ebp+8] is never read: it rolls the player D4 collectible RNG at _collectibleRNGs+0x11c0); byte [ebp+0xc] lets active slots 0/1 and Book of Virtues be rerolled; returns the rerolled count; callers UseActiveItem (D4) and TakeDamage (Tainted Eden)
__thiscall void Entity_Pickup::GetLootList(Vector* renderOffset); // RET 0x4 (at 00584130); misnamed by ZHL sig: renders the pickup sprite as textured quads along its Scourge-chain children (909.10); only caller 00589de0 passes its Vector* render offset
__stdcall void NpcHelper::scourge_chain_strip_render(Entity_NPC* npc<ecx>, Vector* renderOffset); // RET 0x4 (at 00584130); was misnamed Entity_Pickup::GetLootList by ZHL sig: renders the pickup sprite as textured quads along its Scourge-chain children (909.10); only caller 00589de0 passes its Vector* render offset
__thiscall void Level::generate_random_layout(); // plain RET (at 00751239); ECX = Level (mov edi,ecx; RNG at +0x182d4), no [ebp+8..] read
__thiscall void Menu_KeyConfig::Render(); // plain RET (at 008da02c); aligned frame reads no [ebx+8..]; ECX = Manager+0xd284 menu (+0x14 ANM2, +0x11d/+0x84 flags)
__thiscall void PauseScreen::Update(); // plain RET (at 009b5dc7/009b64c6/009b671c); aligned frame reads no [ebx+8..]; ECX = PauseScreen (Game+_pauseScreen)