# address Qualified::Name note (evidence; who/what found it) # Forced renames: they beat ZHL, vtable, Lua and NpcTable names. Anything in NpcAI:: is typed __fastcall(Entity_NPC *npc), # so put helpers that take other arguments in NpcHelper:: instead. Apply: scripts/apply_db.py (dump, instant), build.sh --db (Ghidra). # # NPC dispatch targets that carry wrong ZHL/ICF names (npc_ai.tsv column 4 shows the wrong name) 005111b0 NpcAI::ENTITY_HOST type 27 + 859 Floating Host; sig matched as Entity::TeleportToRandomPosition 0045fc00 NpcAI::ENTITY_GATE type 263; was MinimapConfig::Render 00547b60 NpcAI::ENTITY_LEPER type 310; was GameOver::Show 005492c0 NpcAI::ENTITY_MR_MINE type 311; was Entity_Familiar::Render (ICF); strs DigIn/DigOut/Shoot 004f8df0 NpcAI::ENTITY_BOMB_GRIMACE type 809; was GridEntity_Fire::Update 004dd7f0 NpcAI::ENTITY_GASBAG type 856; was FXLayers::AddPoopFx; strs Attack/Shoot/Sound 00561a20 NpcAI::ENTITY_FARTIGAN type 874 (gas dwarf); was Entity_NPC::moms_heart_mausoleum_death 00503af0 NpcAI::ENTITY_DUST type 882; was PlayerHUD::RenderActiveItem # # Bosses: real AI bodies the dispatcher reaches through a stub, or wrong names 0057bec0 NpcAI::ENTITY_ROTGUT_face Rotgut face phase; was REPENTOGON Backdrop::pre_render_walls; strs Munch/FallIn/Attack1Begin 004b1210 NpcHelper::gideon_choose_attack Gideon; was Console::SubmitInput; strs Attack2Start/Attack4Start 004b1910 NpcHelper::gideon_spawn_wave Gideon; was ModManager::LoadConfigs; str "No enemy wave found for Gideon" 0058aed0 NpcAI::ENTITY_SINGE_body Singe main AI; strs Blast/SuperFart/JumpBlast 0058d8b0 NpcAI::ENTITY_SINGE_ball npc_ai.tsv names this ENTITY_SINGE but it is the ball (singe_ball.png, RollHori) 0059a2d0 NpcAI::ENTITY_TUFF_TWINS strs ButtAttack/GutsAttack/AttackHead* 005af800 NpcAI::ENTITY_WORMWOOD_main strs HeadBackStunned/HeadFrontStunned 0049d130 NpcAI::ENTITY_CHIMERA_body strs RunHoriHeadless/Brimstone*/Leap 005864b0 NpcAI::ENTITY_SCOURGE_main strs BroccoliAttack/Slice*/TrapDown 0058ec70 NpcAI::ENTITY_SIREN_main strs Attack1*/Attack2B*/Recall/Revive 0058e680 NpcHelper::siren_pick Siren helper (salvage siren_pick.c); verify 004cca10 NpcAI::ENTITY_MEGA_SATAN_hand strs Smash/SmashHand1/Hiding/Reveal 004830e0 NpcHelper::the_lamb_pattern The Lamb bullet pattern (salvage fb_lambpat.c) 005ab4d0 NpcAI::ENTITY_VISAGE_mask strs ChargeBegin%s/LeftEye/RightEye/Break # # Enemy variant handlers reached from a shared type routine 004da590 NpcAI::ENTITY_ROTTEN_GAPER 10.3, from NpcAI::ENTITY_GAPER 004ddf00 NpcAI::ENTITY_MAMA_FLY 61.4, from NpcAI::ENTITY_FLY 0054bca0 NpcAI::ENTITY_BULB 61.5/61.6, from NpcAI::ENTITY_FLY; strs Dash/FlyLit 0054fa80 NpcAI::ENTITY_WRINKLY_BABY 38.3, from NpcAI::ENTITY_BABY 005581b0 NpcHelper::willo_orbit Willo helper 005583d0 NpcHelper::willo_attack Willo helper; str Shoot 00557f70 NpcHelper::willo_slot Willo helper 004b7e30 NpcHelper::hornfel_charge Hornfel; strs Charge*/Idle* 004b8ca0 NpcHelper::hornfel_attack Hornfel; strs Attack1Double/Attack1Left... 004b8190 NpcHelper::hornfel_minecart Hornfel; minecart anm2, "no doors to enter from!" # # Player / familiar 0064e0c0 Entity_Familiar::ai_blood_clot strs Float/Walk*; salvage c4_clot.c (Tainted Eve) 007d5170 Entity_Player::bag_of_crafting_collect salvage c5_bag.c; str Collect 007d6670 Entity_Player::poop_spell_roll salvage spellq.c (Tainted ???); weighted pick; verify 0073e0a0 Level::load_room ? "Level::load_room: could not choose a door..."; called from Level::ChangeRoom and RestoreGameState (was Level::generate_greed) # # Imported from src/anm2 and src/rooms decompile labels (hand-verified there) 0082c720 RoomConfig::GetRoomByStageTypeAndVariant src/rooms labels; ZHL said ResetRoomWeights 004a5cf0 Sprite::GetDefaultAnimationName src/anm2 labels (lua_GetDefaultAnimationName); ZHL said Config::GetNullItems 00407170 Color::Color src/anm2 decompile labels (Color::Color()) 004071f0 Color::operator_assign src/anm2 decompile labels (Color::operator=(const&)) 00407690 ANM2::ANM2 src/anm2 decompile labels (ANM2::ANM2(copy)) 00407a60 LayerState::~LayerState src/anm2 decompile labels (LayerState::~LayerState) 00407e90 ANM2::operator_assign src/anm2 decompile labels (ANM2::operator=(ANM2)) 00407f10 ANM2::Reset src/anm2 decompile labels (ANM2::Reset) 00408170 ANM2::~ANM2 src/anm2 decompile labels (ANM2::~ANM2) 004081d0 LayerState::LayerState src/anm2 decompile labels (LayerState::LayerState) 00408310 LayerState::Init src/anm2 decompile labels (LayerState::Init(LayerInfo*)) 00408590 LayerState::GetTexture src/anm2 decompile labels (LayerState::GetTexture) 00408640 LayerState::SetTexture src/anm2 decompile labels (LayerState::SetTexture) 004086e0 AnimationState::AnimationState src/anm2 decompile labels (AnimationState::AnimationState(owner,copy)) 004087a0 AnimationState::~AnimationState src/anm2 decompile labels (AnimationState::~AnimationState) 00408830 AnimationState::SetAnimationData src/anm2 decompile labels (AnimationState::SetAnimationData) 00408970 AnimationState::ChangeAnimationKeepFrame src/anm2 decompile labels (AnimationState::ChangeAnimationKeepFrame) 00408b90 AnimationState::AdvanceLayerPosition src/anm2 decompile labels (AnimationState::AdvanceLayerPosition(idx,xmm2 frame)) 00408c10 AnimationState::AdvanceNullLayerPosition src/anm2 decompile labels (AnimationState::AdvanceNullLayerPosition(idx,xmm2 frame)) 00408c90 AnimationState::FireTriggersAtCurrentFrame src/anm2 decompile labels (AnimationState::FireTriggersAtCurrentFrame) 00408e00 AnimationState::SetFrameFloat src/anm2 decompile labels (AnimationState::SetFrameFloat(xmm1)) 00408ef0 AnimationState::SetLayerFrame src/anm2 decompile labels (AnimationState::SetLayerFrame(layer,frame)) 00408f70 AnimationState::GetLayerFrameIdx src/anm2 decompile labels (AnimationState::GetLayerFrameIdx(layer)) 00408fc0 AnimationState::SetNullLayerFrame src/anm2 decompile labels (AnimationState::SetNullLayerFrame(null,frame)) 00409030 AnimationState::Update src/anm2 decompile labels (AnimationState::Update) 0040a1b0 AnimationState::Rewind src/anm2 decompile labels (AnimationState::Rewind) 0040a220 AnimationState::GetLayerFrame src/anm2 decompile labels (AnimationState::GetLayerFrame(layer)->AnimationFrame*) 0040a5d0 ANM2::SetAnimation src/anm2 decompile labels (ANM2::SetAnimation(cstr,reset)) 0040add0 AnimationState::IsEventTriggered src/anm2 decompile labels (AnimationState::IsEventTriggered(name)) 0040ae70 AnimationState::WasEventTriggered src/anm2 decompile labels (AnimationState::WasEventTriggered(name)) 0040bea0 ANM2::Reload src/anm2 decompile labels (ANM2::Reload) 0040c000 ANM2::LoadGraphics src/anm2 decompile labels (ANM2::LoadGraphics) 0040c1e0 LayerAnimation::LayerAnimation src/anm2 decompile labels (LayerAnimation::LayerAnimation()) 0040ca70 memcmp_eq src/anm2 decompile labels (memcmp_eq(ecx,edx,n)) 0040cae0 str_eq src/anm2 decompile labels (str_eq(ecx,edx=len,s2,len2)) 0040d240 AnmCache::~AnmCache src/anm2 decompile labels (AnmCache::~AnmCache) 0040d4c0 AnmCache::LogMemoryUsage src/anm2 decompile labels (AnmCache::LogMemoryUsage) 0040d850 AnmFileData::Clear src/anm2 decompile labels (AnmFileData::Clear) 0040db90 AnmCache::Load src/anm2 decompile labels (AnmCache::Load(path,ANM2*)) 0040e110 AnmCache::AddRef src/anm2 decompile labels (AnmCache::AddRef) 0040e2b0 AnmCache::RemoveRef src/anm2 decompile labels (AnmCache::RemoveRef) 0040e470 AnmCache::Clear src/anm2 decompile labels (AnmCache::Clear) 0040e520 TextureCache::Add src/anm2 decompile labels (TextureCache::Add) 0040e5d0 TextureCache::Has src/anm2 decompile labels (TextureCache::Has) 0040e740 TextureCache::Release src/anm2 decompile labels (TextureCache::Release) 0040e910 TextureCache::Purge src/anm2 decompile labels (TextureCache::Purge) 0040ea10 TextureCache::Preload src/anm2 decompile labels (TextureCache::Preload) 0040ea50 AnmCache::Preload src/anm2 decompile labels (AnmCache::Preload) 0040ed50 AnmCache::ParseFile src/anm2 decompile labels (AnmCache::ParseFile(path,key)) 00413bf0 xml_node::first_attribute src/anm2 decompile labels (xml_node::first_attribute(name)) 00413c70 xml_node::first_node src/anm2 decompile labels (xml_node::first_node(name)) 00414e00 InterpolateNullFrames src/anm2 decompile labels (InterpolateNullFrames(ecx=buf,edx=&count,scratch)) 00415170 InterpolateLayerFrames src/anm2 decompile labels (InterpolateLayerFrames(ecx=buf,edx=&count,scratch)) 00440e50 set_PlaybackSpeed src/anm2 decompile labels (set_PlaybackSpeed) 00499d20 fmodf src/anm2 decompile labels (fmodf) 0067f670 ResolveRelativePath src/anm2 decompile labels (ResolveRelativePath(out,anmPath,edx=rel)) 006828b0 LerpAngleDeg src/anm2 decompile labels (LerpAngleDeg(xmm0 a,xmm1 b,xmm2 t)) 006832e0 Color::Lerp src/anm2 decompile labels (Color::Lerp(out,a,b,t)) 00a112c0 KAGE_LogMessage src/anm2 decompile labels (KAGE_LogMessage(level,fmt,...)) 00a16060 FileSystem::GetMountPrefixes src/anm2 decompile labels (FileSystem::GetMountPrefixes) 00a17180 FileSystem::ResolvePath src/anm2 decompile labels (FileSystem::ResolvePath) 00a68490 GetTimeNs src/anm2 decompile labels (GetTimeNs) 004288a0 std::set::find_node src/rooms decompile labels (std::set::find_node) 006da750 std::bitset<8>::any src/rooms decompile labels (std::bitset<8>::any) 006ef3e0 RoomConfigRoom::dtor src/rooms decompile labels (RoomConfigRoom::dtor (name only)) 006f3c00 Game::ReloadStagesXmlOnLuaReset src/rooms decompile labels (Game::ReloadStagesXmlOnLuaReset) 006f4740 Game::LoadConfigXmls src/rooms decompile labels (Game::LoadConfigXmls(stages,curses,...)) 006f9400 Seeds::GetForcedCurses src/rooms decompile labels (Seeds::GetForcedCurses?) 006f95a0 Seeds::GetPreventedCurses src/rooms decompile labels (Seeds::GetPreventedCurses?) 00744940 Level::Init src/rooms decompile labels (Level::Init) 00751650 Level::GenerateHome src/rooms decompile labels (Level::GenerateHome?) 00752c30 std::bitset<8>::to_string src/rooms decompile labels (std::bitset<8>::to_string(out)) 007e9080 RNG::RandomFloat src/rooms decompile labels (RNG::RandomFloat) 007e90f0 RNG::Next src/rooms decompile labels (RNG::Next) 007ec100 Room::TransformEntry src/rooms decompile labels (Room::TransformEntry?(out,gridIdx,seed)) 007ed310 Room::SpawnEntry src/rooms decompile labels (Room::SpawnEntry(gridIdx,Entry*,seed,b,b) ret14) 007f2800 Room::Init src/rooms decompile labels (Room::Init(cfgRoom,desc)) 00828b60 RoomConfigMode::ctor src/rooms decompile labels (RoomConfigMode::ctor) 00828c00 RoomConfigMode::Clear src/rooms decompile labels (RoomConfigMode::Clear) 00828f00 RoomConfigStage::ctor src/rooms decompile labels (RoomConfigStage::ctor) 00829260 RoomConfigMode::dtor src/rooms decompile labels (RoomConfigMode::dtor?) 00829290 VariantRanges::Insert src/rooms decompile labels (VariantRanges::Insert(variant)->bool newlyInserted) 00829500 RoomConfigStage::GetDisplayName src/rooms decompile labels (RoomConfigStage::GetDisplayName) 00829710 RoomConfig::LoadRoomFromXmlFile src/rooms decompile labels (RoomConfig::LoadRoomFromXmlFile(ecx=Room*,edx=path) (--load-room)) 00829af0 RoomConfigRoom::ParseXml src/rooms decompile labels (RoomConfigRoom::ParseXml(node)) 0082a9c0 RoomConfig::ResetStageWeights src/rooms decompile labels (RoomConfig::ResetStageWeights(stageId,mode) ret8) 0082aa40 RoomConfig::LoadStageBinary src/rooms decompile labels (RoomConfig::LoadStageBinary(stageId,mode) thiscall ret8) 0082aea0 RoomConfig::ReadRoom src/rooms decompile labels (RoomConfig::ReadRoom(ecx=mode,edx=idx,stack:stageId,File*)) 0082b2f0 RoomConfig::LoadStagesXml src/rooms decompile labels (RoomConfig::LoadStagesXml(path) thiscall ret4) 0082bd60 RoomConfigStage::operator_assign src/rooms decompile labels (RoomConfigStage::operator=(const&)) 0082bf00 RoomConfig::LoadCursesXml src/rooms decompile labels (RoomConfig::LoadCursesXml(path,flag)?) 0082cdd0 RoomConfig::GetRandomRoomWithFallbackStage src/rooms decompile labels (RoomConfig::GetRandomRoomWithFallbackStage? ret34) 0082ce40 RoomConfig::CollectRooms src/rooms decompile labels (RoomConfig::CollectRooms(out vector,stageId,type,shape,minVar,maxVar,minDiff,maxDiff,doors*,subtype,mode) ret2c) 0082d000 RoomConfig::GetStageDisplayName src/rooms decompile labels (RoomConfig::GetStageDisplayName(out,stageId,?)) 0082d100 RoomConfig::GetStageIdByName src/rooms decompile labels (RoomConfig::GetStageIdByName?(std::string*)) 0082d320 RoomConfig::ClearGeneratedRooms src/rooms decompile labels (RoomConfig::ClearGeneratedRooms) 0082d4a0 RoomConfig::MergeRoomsIntoGenerated src/rooms decompile labels (RoomConfig::MergeRoomsIntoGenerated?(roomA,roomB,shape)) 0082d880 RoomConfig::GetRandomSplitRoom src/rooms decompile labels (RoomConfig::GetRandomSplitRoom (Curse of Giant) ret30) 008f8040 ModManager::LoadModRooms src/rooms decompile labels (ModManager::LoadModRooms(stageId,mode) ret8) 008f86c0 ModManager::LoadModCurses src/rooms decompile labels (ModManager::LoadModCurses) 008f99c0 Mod::GetContentPath src/rooms decompile labels (Mod::GetContentPath(out,name) (content-dlc3/ then content/)) 00a0f4e0 operator_new_tracked src/rooms decompile labels (operator_new_tracked) 00a178d0 FileSystem::Open src/rooms decompile labels (FileSystem::Open) 0x0059e730 NpcHelper::UltraGreed_Smash shockwave+blast+door lasers (ultra greed port) 0x0059e630 NpcHelper::UltraDoor_Opposite door slot -> opposite door entity 0x0059e2a0 NpcHelper::UltraGreed_Heal hp += mhp*.00125*n, i2+=n 0x00801ee0 Room::UpdateGreedWave greed timer, stage 7 boss trigger 0x006bf120 NpcHelper::ChampionDrop champion death drop, off in greed # # Lua registration beats a short REPENTOGON sig that matched the wrong function (game's own Lua table names these) 007fb250 Room::SpawnClearAward Lua Room:SpawnClearAward; ZHL sig said Entity_Bomb::Update; called from Room::TriggerClear 006ae0a0 Entity::AddFear Lua Entity:AddFear; ZHL sig said Entity_Familiar::RemoveFromPlayer 006d0ca0 Entity_NPC::QueryNPCsSpawnerType Lua EntityNPC:QueryNPCsSpawnerType; ZHL sig said PersistentGameData::SaveLocally 00780560 Entity_Player::GetBombFlags Lua EntityPlayer:GetBombFlags; ZHL sig said GridEntity_Pit::Update 007ab380 Entity_Player::AnimateCollectible Lua EntityPlayer:AnimateCollectible; ZHL sig said HasCollectible (real one 007706e0) 007bf1a0 Entity_Player::FireDelayedBrimstone Lua EntityPlayer:FireDelayedBrimstone; ZHL sig said Entity_NPC::MakeBloodSplash 007e6300 PathFinder::MoveRandomly Lua PathFinder:MoveRandomly; ZHL said NPCAI_Pathfinder::MoveRandomlyBoss # # Most-called unnamed helpers of gameplay code (subagent review of body + strings, 2026-10-24); check the evidence before relying on one 006eef60 Random global MT19937 genrand (624-word state, tempering) with rand() fallback; ZHL `unsigned int Random()`; result used as spawn seed 004cf210 std::multiset::erase tree equal_range by key, counts and erases nodes; used to unregister EntityPtr slot before reassigning 00435c70 EntityRef::EntityRef zeroes type/variant/spawner, pos/vel = zero vector, flags/entity 0; EntityRef layout 0x28 00431310 EntityRef::constructor fills EntityRef from Entity* (type 0x28, variant 0x2c, pos 0x33c, vel 0x360, charm/friendly flags); ZHL EntityRef::constructor(Entity*) 0040b090 ANM2::WasEventTriggered null-checks anim state at +0x34 then AnimationState::WasEventTriggered 006d7cf0 spawn_blood_explosion Game::Spawn(1000,2=EFFECT BLOOD_EXPLOSION, pos, vel, spawner) then vtable+0x3c SetColor(color,-1,255,false,true) and sets scale 004073d0 Sprite::SetColor copies 0x2c-byte Color into ANM2+0xa8 (Lua Sprite.Color getter returns this+0xa8) 0067f260 vector_to_direction returns LEFT 0/UP 1/RIGHT 2/DOWN 3 from dominant axis sign of a Vector 0040a6e0 ANM2::SetFrame SetAnimation(name) then AnimationState::SetFrameFloat and clears playing flag; ZHL ANM2::SetFrame(anim, frame) 00417170 BitSet128::operator_and ANDs four dwords of two 128-bit masks (entity flag sets) 004e45c0 std::set::insert find_node, allocates 0x14 node with key, returns pair 007ca7c0 Entity_Player::ClampGoldenHearts caps golden hearts (0x194c) to heart containers count; called from AddMaxHearts/AddHearts/AddSoulHearts/RemoveBlackHeart 009be6b0 PlayerManager::FirstTrinketOwner iterates player list, GetTrinketMultiplier, prefers player with Mom's Box (439); REPENTOGON PlayerManager::FirstTrinketOwner shape 00930220 TemporaryEffects::AddEffect merges/pushes 16-byte {ItemConfig*,count,cooldown} entry, ORs item cache flags (+0x54), AddCostume on owning player 006a9360 Entity::SetSpawnerEntity EntityPtr assign to this+0x3c8 (Lua Entity.SpawnerEntity getter reads 0x3c8): unregister old, register new 006a9140 Entity::GetPlayerAncestor walks Parent (0x3bc) then SpawnerEntity (0x3c8) chains with cycle-guard set, returns first entity of type 1 (player) 00a15640 assert_lerp_range only logs "Start and End parameters cannot be the same!" if two float args equal 00431450 Entity::AddVelocity velocity(0x360) += vec * (ignoreFriction ? 1 : friction 0x39c); Lua Entity:AddVelocity 006a9ba0 Entity::GetCollisionCapsule Capsule::constructor(pos+offset, size 0x374, ...); ZHL Entity::GetCollisionCapsule(Vector*) 0041cb60 std::min returns pointer to smaller of two ints 00956110 input_is_action_pressed game-level wrapper: Lua hook, then each controller vfunc or Input::IsActionPressed callback FUN_00a20940 009561e0 input_is_action_triggered same wrapper as input_is_action_pressed but with IsActionTriggered callback FUN_00a209e0 0072ff10 ItemConfig_Item::GetLocalizedName "#" prefixed name looked up in "Items" string table for language (0x14 = current); used by AddCostume/console 0042f430 std::vector::_Emplace_reallocate growth 1.5x of 8-byte elements, length_error at 0x1fffffff 0040d0e0 Color::Color sets tint r,g,b,a, zero colorize, offsets r,g,b (11-float Color layout) 00435a50 sqrtf float sqrt wrapper calling libm_sse2_sqrt_precise for negatives 00aef15c operator_delete thunk to free-like; called with (ptr,size) from string _Tidy 00499d60 atan2f float wrapper around _CIatan2 0040d040 std::string::_Tidy_deallocate frees heap buffer if cap>15, resets size 0 cap 15 00aef29d _Init_thread_header MSVC thread-safe static init guard with critical section/_Init_thread_wait 0040c340 std::string::string_from_cstr strlen then assign; init cap 15 00417840 std::vector::size (end-begin)>>2, ICF-folded 00a10450 Vector::operator_add_assign adds x,y in place 00a10540 Vector::operator_mul_assign scales x,y by float in place 0042a030 std::bitset::_Xran throws "invalid bitset position" 00435c20 BitSet128::operator_or ors four dwords of two 128-bit sets 00682740 normalize_angle_degrees fmod by 360 when |a|>360, compare against 180 006d0300 Entity_NPC::SetBossColorIdx writes _bosscoloridx, reloads graphics and reapplies animation 0041d520 sin tail-calls libm_sse2_sin_precise 00956780 seed_fart_sound_override if SEED_FART_SOUNDS(7) active, replaces sound id with 37 (fart) or 1/20 301 00a10630 Vector::operator_ne compares two float pairs, returns 1 if different 00a0f4c0 operator_new allocator used by std::_Allocate; calls FUN_00a648b0(size,0) 0067f170 Vector::ToCardinal snaps vector to dominant axis unit vector (+-1,0)/(0,+-1) 0040cf00 std::_Allocate MSVC allocate with >=0x1000 32-byte alignment path (+0x23, store raw ptr at -4) 0040cf50 std::string::string copy ctor: SSO copy if <16 else allocate+memcpy 00435a80 Color::Color writes 11 floats: rgb, a=1, colorize/offset zeroed (Color struct layout) 00aef253 _Init_thread_footer increments epoch under critical section, __Init_thread_notify 006b6470 play_sound_with_fart_seed applies fart-seed override then SoundEffects::Play 00aefca0 __ftoui3 float->uint conversion, AVX512 vcvttss2usi fast path 004171b0 BitSet128::IsNonZero true if any of four dwords nonzero (tear-flag style 128-bit set) 00592230 BitSet128::IsZero true if all four dwords zero 0041cb80 std::max returns pointer to larger of two ints 004f8940 PlayerManager::AnyoneHasCollectible FirstCollectibleOwner(id,..,1) != null 004171d0 Vector::operator_mul float scalar times vector 004a11c0 std::vector<8byte>::_Emplace_reallocate grow 1.5x, insert 8-byte element, memmove halves 00428590 std::vector<4byte>::_Emplace_reallocate grow 1.5x, insert 4-byte element, memmove halves 00435ad0 Color::Color rgb,a floats plus int offsets /255 into Color struct 0067f0d0 RandomVector RNG xorshift(3,1,14) float*2pi -> cos,sin unit vector 0044bcc0 std::deque::resize grows map blocks of 4 via operator_new(0x10), shrinks size 006f0090 EntityFactory::Create pool alloc by type (1000 -> effect ring of 0x400), strings 'EntityFactory cannot spawn Entity_Player' 0041d540 cos thunk to libm_sse2_cos_precise 004e4690 pow thunk to libm_sse2_pow_precise 0040b030 Sprite::IsEventTriggered null-checks anm data (+0x34) then AnimationState::IsEventTriggered 0040b1d0 Sprite::GetNullFrame null-checks anm data then AnimationState::GetNullFrame(this+0x30) 0040b200 Sprite::GetLayer thunk to ANM2::GetLayer on same this 00a10600 Vector::operator_eq compares x and y floats of two vectors 00a0fe90 Vector::Vector stores XMM1/XMM2 into x,y 0041cb70 std::max returns pointer to larger of two floats 004238f0 Color::Color sets 4 tint floats, zeroes colorize+offset (0x2c struct) 0042cfd0 Color::Color tint rgb + alpha 1.0, colorize 0, 3 offset params (0x2c struct) 00435b50 Color::Color all 11 fields of 0x2c Color struct from args 004071c0 Color::operator_assign copies 0x2c-byte (11 dword) Color struct 00709c40 GridEntity::GridEntity writes GridEntity vftable and constructs ANM2 member 006b5b50 EntityPtr::SetReference release old ref (004cf210), store entity, add ref (004cdcf0) 006a92e0 Entity::SetChild EntityPtr set on Entity+0x3c0 (_child) 006a9320 Entity::SetTarget EntityPtr set on Entity+0x3c4 (_target) 009e24a0 std::map::find lower_bound + 64-bit key compare, returns end() on miss 00415bc0 std::_Xlen throws "vector too long" 007fa920 RoomClear_PickVariant room clear award variant: Smelter 1/50 trinket, Guppy's Tail chests (items sweep 10) 006ddcd0 Pickup_PickVariant random pickup variant/subtype picker; Daemon's Tail reroll (items sweep 10) # # Second, careful pass over the remaining top helpers (subagents, call sites read). "?" in the note = best guess, verify before relying on it 007cd950 Entity_Player::Teleport TeleportUp/TeleportDown strings; recurses for twin at +0x1e68; ZHL put the name on 008c99b0 0085e680 Entity::IsVulnerableEnemy_lua Lua glue; the logic is 006ac560 004cdcf0 std::multiset::insert wraps tree insert; pairs with multiset::erase in EntityPtr setters 006d82d0 Entity_NPC::GetControllerInput reads input actions 0-3/4-7 for NPC _controllerID 0xf1c; confusion/mirror-world flip 004175b0 EntityList_Query::~EntityList_Query ?frees query result buffer (tracked free) after ENTITY_MASK-folded room query 006a92a0 Entity::SetParent unregister/re-register EntityPtr at Entity+0x3bc (_parent) 0042c920 std::vector::_Emplace_reallocate MSVC vector grow+insert, 4-byte elems 006ac7e0 Entity::CountRelatedEntities ?room query by partition, counts/collects entities passing Entity::IsRelatedTo; friendly spawn caps 0040a550 ANM2::IsFinishedImpl body of Sprite::IsFinished thunk; animData null/!isPlaying + name compare 006d7d60 Entity::IsHostileTo ?compares FLAG_CHARM 0x100/FLAG_FRIENDLY 0x20000000 vs other's type player/bomb/familiar 00706940 Game::GetChallengeParams returns Game+0x26640 daily params if _dailyChallenge else Manager table[Game::_challenge] 004073b0 AnimationState::IsLoopingAnimation _animData(+4)->_loop(+0x34) per zhl AnimationData 00791320 Entity_Player::GetActiveMaxCharge slot->item/varData, slot 3 returns 0; calls per-item max charge 007911f0 007dd3b0 Vector::operator_assign ?8-byte copy (ICF-foldable) 00431640 EntityList::HitListContains ?binary_search of Entity::GetHitListIndex in sorted uint vector 006d0c20 Entity_NPC::SetRef_bec ?EntityPtr setter for Entity_NPC+0xbec (unknown ref, used in segmented bosses) 00440e30 AnimationState::GetAnimationLength _animData(+4)->_length(+0x30) 009be530 PlayerManager::GetRandomPlayer ?xorshift-random pick among players variant 0, not coop ghost (0x20a9), not 0x202c, 0x17e0>2 006e21f0 Entity_Pickup::UpdateSprite ?per-variant spritesheet swaps (chest coinslot, IsaacBed_Barren, blind collectible) 00456570 ShockwaveParams::ShockwaveParams defaults (-150,0,0,0.01,0.1,0,5) passed to Room shockwave setter 0081df10 00a0fe80 EntityPtr::clear ?zero two dwords (ICF) 008279a0 Room::IsGravityDungeon ?RoomConfig stage 0x23 type 16 (dungeon); projectiles/tears fall 007ca2d0 Entity_Player::BreakGoldenHearts ?count>0: plays sound, spawns coins 5.20 + midas freeze, UltraGreedCoins anm2, CrumbleNoDebris 006acd10 Entity::IsDamageSourceFriendly ?EntityRef source vs FLAG_FRIENDLY/charm; tear/projectile collision skip 00a115c0 copy_20_bytes ?5-dword struct copy (ICF) 007dd380 nullsub_7dd380 ?empty body (ICF) 006a2030 Entity_Bomb::IsRocket ?variant 19/20 (BOMB_ROCKET/ROCKET_GIGA in Rep+); used in bomb update/collision 004997f0 std::string::append MSVC basic_string append(ptr,len) 00435cf0 set_field_358 ?trivial +0x358 setter, ICF-foldable; this unclear 0042c880 std::vector::_Reallocate reserve: allocate, memmove, change_array 00417860 Game::GetPlayerManager returns Game+0x1baa8 _playerManager 0040c550 KAGE::SmartPointer::operator_assign ?refcounted ptr assign via vtable +4/+0xc (LayerState::GetTexture, ANM2::LoadGraphics) 006fe410 Game::SpawnEx Game::Spawn (lua) is a thunk passing all args plus trailing 0 flag 006ac760 Entity::GetIntervalTicks ? (prev+off)/interval vs (cur+off)/interval tick count, 0 if paused or flag 0x4000 006d8260 Entity_NPC::IsControllerActionPressed input_is_action_pressed on _controllerID 0xf1c 0040a940 ANM2::PlayOverlay Sprite::PlayOverlay wrapper; compares current overlay name, force flag 006d9050 Entity_NPC::UpdateControllerMovement reads controller move vector into 0xf20/0xf24, zero if _controllerID -1 00452bf0 ANM2::GetAnimation returns std::string copy of current anim name; compared to "SmallHoleOpen" 00682a50 approach_angle steps angle toward target by max delta with 360 wrap 004565e0 Room::SetGridPath grid idx<448, writes room+0x76c[idx] if current <951; called (GetGridIndex,900) 006d8240 Game::IsHardMode Game _difficulty 0x269c8 == 1 or 3 00734180 ItemPool::GetCardEx 5 args seed/special/rune/suit/allowNonCards; "No unlocked cards/runes" 0074f690 Level::GetRoomStageType ? per-room stage type lookup tables; returns _stageType by default; challenge 0x2c path 007c9ea0 Entity_Player::UpdateHeartDependentEffects ? called after every heart change; Whore of Babylon/Crown of Light effects, rotten clamp 00418500 EntityList::AddEntity "EL: not enough space for push_back" into entity lists 00665c60 Game::IsInTimedSet ? std::set lookup with value<=param check, Game+0x1bbd8 end 0040ac70 AnimationState::GetNullFrameById ? "AnimationData is NULL"; finds layer by id and returns current frame (0x54 stride) 007abe90 Entity_Player::PlayExtraAnimation swaps player anm2, SetAnimation, sets 0x1398=0 0x139a=1; used by AnimatePickup/Collectible 00638e30 spawn_blue_spider ? spawns familiar 3.73 (blue spider) toward pos, random near free spot if zero 0096ce90 Entity_NPC::SetAimAngle ? sets 0x418/0x41c (prev to 0x420) and 0xec=angle-90; Pin/Vis/Raglich 006d8290 Entity_NPC::IsControllerActionTriggered input_is_action_triggered on _controllerID 0xf1c 00425ac0 Player_stats_add ? adds float to per-player stat slot <0x16; Entity::Kill uses ids 0x11/0x14/0x15 009595e0 Manager::IsGameplayInputActive ? Manager state checks (pause/menus), callers Game::Start, AddCharmed 0081df10 Game::SetShockwaveParams ? "Shockwave id is too large!" id<2, copies 0x1c-byte params 00703ab0 Game::GetNearestPlayerEx ? nearest player loop with bool filters (hologram), next to GetNearestPlayer 0067efe0 random_float ? tail-calls Random, result used as 0..1 float (ICF-foldable) 009e5c00 award_fly_kill_points ? called on fly kills; spawns ENTITY_TEXT 9001 with points, adds to this+0x54 007a6300 Entity_Player::ShootCandle Red Candle 0x268 / Blue Candle 0x1ef, random pick if both 00683060 apply_sprite_shader_params ? sets ColorOffset/Colorize/ClipPlane/PixelationAmount/TextureSize uniforms 00499410 std::deque::_Growmap doubling map realloc with memmove (deque growth) 00409120 AnimationLayer::RenderFrame ? layer render with ChampionColor, GetSourceQuad, shader params 00417850 Game::GetField26614 ? returns &Game+0x26614 (counter compared <2 in many places) 00a648b0 tracked_alloc malloc/free with byte counter in global (mode 0 alloc,1 free,2 merge) 006cae60 Entity_NPC::IsTargetInAttackRange controlled->input nonzero; else player target dist