Files
isaac-port/db/names.tsv
T
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

2942 lines
593 KiB
Plaintext

# 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::generate_greed salvage greedgen.c; verify
#
# 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<int>::find_node src/rooms decompile labels (std::set<int>::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<Room*>,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<unsigned_int>::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<int>::insert find_node, allocates 0x14 node with key, returns pair<iterator,bool>
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<int> 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<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<int> 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<int>::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<float> 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<unsigned_long_long>::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<unsigned_int>::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<unsigned_int>::_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<unsigned_int>::_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<int> 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<int>::_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<range + Room::CheckLine
006d85a0 Entity_NPC::GetControllerMovementInput reads input actions 0-7 for _controllerID 0xf1c, normalizes, mirror on flipped stage
009568e0 SoundEffects::PlayWithFartOverride ? seed_fart_sound_override then SoundEffects::Play
0040ccd0 std::string::assign assign(ptr,len) with SSO grow
006d8b20 Entity_NPC::SpawnControlTarget controlled npc spawns effect 1000.30 target at 0xf28 using controller input
0060b890 Entity::SpawnFollowingEffect198 ? spawns effect 1000.198, FollowParent, SetColor, timeout
00a0f550 KColor::SetFromARGB unpacks ARGB uint into 0-1 floats
006a8fa0 Entity::IsDescendantOf walks _parent 0x3bc and _spawnerEntity 0x3c8 chains for target
007079c0 Entity::RemoveWithPoof spawns effect 1000.15 poof with color then vtable Remove
0041e420 sprintf_s (buf,size,fmt,...) used for "Idle%d"
00499190 std::deque::push_back 8-byte elements, 2 per block map growth
004a5d10 ANM2::LoadDeliriumForm ? reloads entity anm2, rewrites layer paths to Bosses/AfterbirthPlus/DeliriumForms
0074e9b0 Level::IsMausoleumHeartStage ? effective stage 6 (labyrinth adj) alt path + GameStateFlag 0x2e
00431570 sorted_vector_insert_unique binary search lower_bound then insert uint if absent
00791530 Entity_Player::GetActiveMaxCharge slot active item ItemConfig +0xac maxcharges, special-case item 35
004d6ee0 invoke_pending_callbacks ? calls global fnptrs if objects at +0x70/+0x68 report ready
00420a80 sprintf (buf,fmt,...) via vsprintf
00956940 SoundEffects::PlayWithFartOverride2 ? seed_fart_sound_override then Play, extra arg variant
006d88b0 Entity_NPC::TransferControl moves _controllerID 0xf1c to new npc, repoints players 0x3c4
004e47c0 std::vector::clear clear(isFree): reset end or deallocate
009a8970 mark_all_slots_dirty ? sets dirty byte on 8 sub-entries then refresh
0070ee40 GridEntity_Door::UpdateAnimation door anm2 states Hidden/Idle/KeyOpen/GoldenKeyOpen
00675fc0 Entity_Projectile::SetHeight ? sets 0x410 height and 0x350 offset, room-type 16 clamp
004561b0 str_eq_cstr strlen then str_eq
004172f0 Entity::SetPositionOffset writes _posOffset 0x34c
00812f50 Room::GetClampedPositionImpl only callee GetLRoomAreaDesc; clamps vec to room bounds, wrapped by Room::GetClampedPosition
0041a790 EntityList::QueryRadius (result,pos,partitions) radius xmm3; callers iterate result list of entities
0040aaf0 ANM2::SetOverlayAnimation finds anim by name in animData list, "[warn] no animation named"; called by Sprite::SetOverlayAnimation/SetOverlayFrame
006ac560 Entity::IsVulnerableEnemy only gameplay callee of Lua IsVulnerableEnemy glue 0085e680; type 10..999, not friendly/dead/collisionclass0
0040a4d0 ANM2::IsPlaying compares name vs animState._animData name, checks _isPlaying (0x44); wrapped by Sprite::IsPlaying
006d8e40 Entity_NPC::UpdateChargeBar ? controlled NPC (0xf1c controllerID) loads gfx/chargebar.anm2 into 0xdec, "Charging", start/end params
006d8d30 Entity_NPC::GetAimTargetPosition ? returns pos of entity at npc+0xf28 else own pos; shooter AIs
009e0680 trigger_set_dispatch ? reentrancy-guarded loop over set<uint> ids calling 009e14b0 (UseActiveItem/Spawn/Fart effect runner)
00676150 Entity_Tear::SetTearFlags called after BitSet128 or/and on tear flags; loads per-flag effect anm2s (TearHalo, DarkMatter...)
00865340 lua_callback_run_get_card MC_GET_CARD-style: (rng,card,playing,runes,onlyRunes) after ItemPool::GetCard, returns int override
008646e0 lua_callback_run_pre_entity_spawn args type,variant,pos,vel,spawner,subtype,seed; returns table override
004567b0 Entity::IsFriendly flags & 0x20000000 (FLAG_FRIENDLY); tiny, ICF-foldable
0075bf00 Entity_Player::UpdateCostumes rebuilds costume sprites; called by AddCostume/RemoveCostume/EvaluateItems, costume skin alt strings
00499380 std::deque<ptr>::_Tidy clears elements (size 0x10 blocks), frees map
0097fc10 Entity_Laser::ResetSpriteScale sets 0xe4/0xe8 scale from 0x4e0, plays "Laser%d"; FireBrimstone callers
006b9740 Entity::IsPlayerInRadius ? not friendly; any player within xmm2 radius of pos, or QueryRadius finds familiar variant 0x3e
00a114d0 BlendMode::SetMode fills 5 blend factor ints for mode 0/1/2; used on ANM2::GetLayer results
00708250 PlayerManager::GetGFuelCount ? only if SEED_G_FUEL (79) active; sums FUN_007db860 over main players
004cdd80 Room::RaiseGridPathAtPos ? pos->grid idx (40px grid, y-120), raises room+0x76c[idx]%1000 path value, max 0x3b7
0040b1a0 ANM2::GetLayerFrame null animData guard then AnimationState layer frame lookup (0x54 stride)
00945470 Capsule::Collide static ecx/edx capsules, retHit param; sqrt, next to Capsule::constructor
007cacb0 Entity_Player::ClampHeartsToLimit ? called by all Add*Hearts; trims hearts above GetHeartLimit
006b31b0 spawn_gibs (gibFlags*,entity,color/pos,vel,scale) spawns effects 0x3b,0x3a,4,5,0x23,0xa3 with Random; damage/death callers
00417620 std::vector<int>::operator_index returns begin+i*4; tiny, ICF-foldable
009303f0 TemporaryEffects::RemoveEffect finds effect by ItemConfig, decrements count, TriggerEffectRemoved; called from ClearTemporaryEffects
006fed60 Game::DamageRadius ? QueryRadius, TakeDamage players/enemies with source/flags, ApplyTearFlagEffects; Mom/Mega Fatty stomps
00612af0 Entity_Familiar::IsLilithBirthrightIncubus ? player Lilith (0x20) + Birthright (0x26b), subtype 0xf
0043ee80 Sprite::SetRotation writes ANM2 0xa4 _rotation; tiny, ICF-foldable
0042d9b0 Entity::SetSpriteScale writes Entity 0xe4 (SpriteScale getter returns +0xe4); tiny
00420170 Sprite::SetScale writes ANM2 0x9c _scale; tiny
0040c780 std::min<float> returns ptr to smaller of ecx/edx floats
0x00579770 NpcHelper::ReapCreep_CountOtherEnemies room enemy count without bosses, Reap Creep summon/dash gates (monster-fidelity-6)
0x005797b0 NpcHelper::ReapCreep_ThinLaser Attack3 thin beam: laser variant 1, timeout 100, SetActiveRotation after 30 ticks (monster-fidelity-6)
#
# fidelity-leftovers pass (2026-10-24)
004db3c0 NpcHelper::twitchy_jump_target Twitchy: Isaac + vel*.1*dist, +40 overshoot, free cell, capped 200 from it
00548720 NpcHelper::leper_flesh_ai Leper 310.1 body (called from NpcAI::ENTITY_LEPER with ECX = npc); death aimed shot at 10
0070d3f0 GridEntity_Door::LoadSprite door setup: loads Door_*.anm2 by room type / target idx (-7 Mega Satan, -8 blue womb, -9 Hush), greed treasure door 31 for the room that is not _greedModeTreasureRoomIdx, exit door 32 for type 0x17
0061d6b0 Entity_Familiar::ai_key_full Key Full familiar: flies to the door in state 5 (gridpos - (13.85, 7.69)), turns layer to 90 by 2/tick, within 3 px: SOUND_GOLDENKEY, door state 8 + Open, removes Key Piece 1/2 (0xee/0xef)
009839f0 GridEntity_PressurePlate::update_greed_button greed button (plate state 2 branch of Update): pressed mid-wave damages 1 heart (half), or sets state flag 11 (0x1839c|0x800) for health type 2 / instant death curse
009bfd40 NpcHelper::hush_fly_shape_build builds a closed formation path (6 31-gon, 1 five-point star .382, 2 six-point .577, 3-5 polygons); used by ENTITY_HUSH_FLY (boss_approx_2)
009bffb0 NpcHelper::path_point_at point a share (fmod 1) along a built path by length; "Path is incomplete" (boss_approx_2)
004be670 NpcHelper::query_nearest_other nearest entity of a query list to a point, not the given one; Hush Fly spacing (boss_approx_2)
0058e490 NpcHelper::siren_familiar_counts counts Isaac's charmable familiars: free, charmed (flag 0x100), total (boss_approx_2)
0058e590 NpcHelper::siren_charmed_count charmed familiars following this Siren (boss_approx_2)
00642cb0 FamiliarAI::tinytoma Entity_Familiar::Update case 0xd8/0xd9 (Tinytoma, items sweep 12)
007d58f0 Entity_Player::tainted_cain_pedestal_burst HandleCollision calls it for player type 0x17 on a free pedestal; spawns max(4,3+rand4) pickups by pool (characters-8)
009be670 PlayerManager::are_all_players_tainted_blue_baby loops players: false if any non-twin is not type 0x19; Pickup_PickVariant/Init turn bombs into poop nuggets (characters-8)
007729d0 Entity_Player::take_damage_impl player damage: hallowed ground 50% block (RandomInt(2)), then LuaEngine::EntityTakeDamage (characters-8)
007db330 Game::damage_cooldown_scale returns ticks, or ticks>>3 (min 1) when game field 0x26614 >= 2 (characters-8)
#
# NpcTable takes the first call in a dispatcher case; for these two that call is a shared helper, not the AI (157/146 callers)
0043ef30 ProjectileParams::ProjectileParams inits scale 1, TargetPosition Vector at +0x68 (Lua ProjectileParams field+0x68); Gemini case builds params first
0041af60 EntityList::QuerySublist ? EL: copy/push_back strings, 157 callers on Room+0x1218; Mask case calls it first (Mask AI not identified)
#
# Tier 2: helpers called 2-4 times from named gameplay code (6 subagents, 2026-10-24). "?" note = best guess
00a1dfd0 render_color_shader_pass binds "KAGE_ColorShader" when avg of 4 color components nonzero, used by Game::Render overlays
009586f0 string_table_translate if text starts with '#' looks key up in string table (e.g. "#YOU_FEEL_BLESSED"), else returns as-is
007cf8c0 Entity_Player::IsLocalPlayer true when no netplay else NetplayManager::IsIdxLocalPlayer(this+0x1618)
00705b90 Game::AttractEntities loops room entities in radius, pulls velocity toward pos with optional filter callback; Game::UpdateStrangeAttractor(pos,0,0)
006827a0 angle_lerp_shortest ? wraps two angles to [-180,180] and handles shortest-direction difference; used by Laser::RotateToAngle
0060dc40 Entity_Familiar::apply_tear_modifiers ? checks collectibles 247/248 (BFFS/Hive Mind) and trinket 89 when familiar fires tears
004cf1d0 EntityPtr::Set swaps held entity pointer, erase/insert into refcount multiset
00436220 Entity::SetVisibleFlag ? sets this+0xc3c=1 unless arg false or flag 0x20000000 (FLAG_FRIENDLY/charmed)
00428910 Entity::SetVelocity copies Vector to this+0x360/0x364 (velocity)
00417160 sinf_wrapper ? body only calls sin(); ICF-foldable
00a10d00 render_quad_set_uniform_color ? fills quad vertex struct with same color (5 dwords per corner); Game/Room render
009bea40 vector_iterate_noop ? empty loop over vector, ICF-foldable
00959130 Game::DeleteSaveState non-netplay: GameState::Delete(manager+0xfa4), clears flag; called from End/Exit/FinishChallenge
00780ec0 Entity_Player::check_bomb_tearflags ? HasCollectible 106 (Mr Mega) / 420 or tearflags mask test
00707370 Game::GetNearestEnemy ? scans room entities for nearest valid vulnerable target in radius, skipping friendly/descendants; used by GetPlayerTarget
006b68c0 spawn_rock_particles spawns 8-13 EffectVariant 99 particles around pos scaled by dir, if room flag >0.2; Fissure/Big Horn
006a89d0 Entity::GetLastSpawner walks this+0x3c8 (_spawnerEntity) chain to root
00665c20 Entity_Player::GetTearHitParams_copy ? copies 0x2c bytes from player+0x14c4 (tear/weapon params) into out
00557b00 std::set<int>::find set find_node, returns end if not found; used by HasCollectible
004bb830 NpcHelper::hornfel_set_anim ? if state==3 sets/rewinds animation DAT_00b1d644 if not current
004561a0 std::iterator_copy ? *out=*this, ICF-foldable
00435db0 Entity::GetHitPointsLost ? (int)maxHP(0x3a4) - (int)HP(0x3a0)
0042a250 Entity::IsFamiliar type (this+0x28)==3 ENTITY_FAMILIAR
0040bbf0 AnimationState::copy_assign ? 0x40+ byte struct copy; used by Effect/Laser render
00a1af90 Font::DrawString ? builds text layout then draws with color param_2; Console::RenderHistory
009f7930 Weapon::TriggerTearEffects ? spawns synergy tears/candles/coins/flies per tick along dir; Brimstone::Fire and other weapons
009dcc70 ItemPool::CreateGlitchedCollectible TMTRAINER (721) path in GetCollectible; "initialized with %d effects (score: %g)", cap 0x400 reuse
009adaf0 RoomDescriptor::Init ? sets defaults (-1 grid arrays, 0x900000005 rng shifts); Level::generate_dungeon
009807a0 Game::ShowFortuneText picks random line of string category ("Fortune_General") via string table RNG and shows it; ShowFortune/ShowRule
009680d0 Entity_Knife::SetAttackAnimation ? picks AttackUp/Down/Left/Right / Swing by rotation (this+0x440) for variants 10/11
009305c0 vector_contains_int ? returns true if param in this+4..+8 vector unless this+0x11 set; UsePill/EvaluateItems
00866060 Entity::ReleaseLuaRef luaL_unref of entity's lua object on remove when lua enabled
0082c600 Level::GetCurseNameByIdx looks up curse name string, translating '#' keys in "Curses" table
007ef420 Entity_Pickup::RestoreState applies saved pickup data (charge, price, shopItemId, touched); Room::RestoreState
007df690 Music::SetPitchAll ? sets pitch float on main + 6 layer tracks if playing; Music::ResetPitch
007cbb90 Entity_Player::GetGreedDonationJamChance ? from greed donation count *0.023, capped 100; Slot::Update, GetGreedDonationBreakChance
00772260 Entity_Player::TryRemoveSmeltedTrinket "Removing smelted trinket %d (%s) from player %d (%s)"
007596a0 Entity_Player::SyncConsumables copies coins/keys/bombs/golden key/bomb/soul charge from shared source by mask bits
0074c540 Level::GetNeighborRoomIdx ? computes neighbour room index for door slot, -1 if door not allowed; generate_greed
00724af0 PocketItemConfig::GetName translates '#' names in "PocketItems" table
006f0070 Game::IsRoomTransitionActive ? returns this[0]!=0 && this[0x8e]!=0
006dae40 Entity_Pickup::GetChestLoot chest content picker with trinket modifiers (0x16,0x2d,0x2c), WeightedOutcomePicker; TryOpenChest
006d8cf0 Entity_NPC::ClearChild kills/clears EntityPtr at this+0xf28; Para-Bite, Baby
006c15c0 NpcHelper::charger_update_move_anim sets move animation by velocity direction (Charger L2, Revenant)
006b82b0 Entity::SetColor copies KColor (0x2c bytes) to this+0xd4
006a0d30 std::vector<int>::reserve_clear vector reallocate (clears and allocates capacity)
006836c0 pop_render_target "PopRenderTarget: stack is empty!"
006668c0 Entity_Tear::apply_wiggle ? sinusoidal offset perpendicular to velocity (wiggle worm style), flag 0x450&1 phase
00651990 map_find_value ? returns found node +0x14 (map value)
006393a0 spawn_dip_at ? spawns friendly dip (via FUN_00639000) with jump velocity toward pos, random pos if null; Poop, ThrowFriendlyDip
0062a8f0 Entity_Familiar::CanPlayerFire ? player not dead/frozen and room flag clear; Blood Clot, Familiar::Update
005cd460 Entity::AddFlagsLow ? this+0x110 |= flags, ICF-foldable
00589f90 Room::CanSpawnObstacleAtPos converts pos to grid xy (40px, top 120) and calls Room::CanSpawnObstacleAtPosition; Singe, Wormwood
00505b50 set_byte_0x101 ? ICF-foldable setter this+0x101
004cee90 NpcHelper::minecart_break plays sound 481, spawns particles, clears EntityPtr at +0x3c0; Minecart/Hornfel
00499da0 Entity::ToPlayer returns this if type==1 else null
00447720 set_field_0x37c ? ICF-foldable setter this+0x37c
00435e40 Entity::ToTear returns this if type==2 else null
00431540 Entity::IsProjectile type==9 check
0042b560 ItemPool::ReplaceBlacklistedPickup ? for pickup variant 300/350 rerolls card/trinket until not blocked; SpawnEx, Pickup::Morph
0041d030 std::map::destroy_subtree recursive red-black tree node free
0040cdd0 std_min_ptr min of two uint pointers, ICF-foldable
00945130 ring_buffer_push circular buffer of 8-byte elems, overwrites oldest
006e17c0 Entity_Pickup::UpdateLootPreview Guppys Eye 665 on chest/sack, CreateLootPreview at +0x590
005cc070 RNG::Shuffle Fisher-Yates over int range with xorshift RNG in ECX
004b0f50 std::deque<Vector>::push_back deque 8-byte elems, _Growmap
004360f0 _get_index_plus_one_if_kind_4_5 ? ? returns [0]+1 when [1] is 4 or 5
004288f0 Entity::SetPosition writes Vector to +0x33c (_pos)
00407380 _string_holder_c_str ? c_str of std::string* at +4 or empty fallback
00a105d0 Vector::__div_assign divides x,y in place by float
009ba000 PlayerManager::RemoveCoPlayer ZHL name; 'Clearing player color assignment', removes from player list ECX[0x34], baby skins
00816250 _Room::ResolveHeartSubType ? ? remaps negative pseudo heart subtypes by health type/Keeper/trinket multiplier; pickup Init/Morph
0075e320 Entity_Player::IncrementPlayerFormCounter ZHL sig shape; +0x17dc[16] form counts, form costumes, TryUnlock
007069a0 Game::GetNearestTargetPlayer ? iterates players, decoys/friendly checks; used by Entity_NPC::GetPlayerTarget
006b66a0 Entity::MakeGroundPoofAtSelf MakeGroundPoof(this,&this->_pos,arg)
00684b90 hsv_to_rgb hue/60 sextant switch, chroma*value
00652a90 _has_flag_0x110 ? ? (this+0x110 & mask)!=0
00505b80 _Entity_NPC::GetColorWithFlash ? ? copies Color, multiplies when +0xc>0; NPC ResetColor/Update
004b6a90 std::deque<int>::push_front 4-per-block deque front insertion
00452be0 _ptr_deref_or_minus1 ? ? returns *ptr or -1
00435d60 Entity::SetTargetPosition writes +0x334/+0x338 (_targetPosition)
00426980 std::vector<Vector>::_Tidy frees 8-byte element vector
0040a7c0 _empty_check_0x34 ? ? empty body, ICF
00a19180 _glfw_context_reset ? ? GLFW context.c, resets hints
009f5a30 Weapon::GetOwnerLaserOffset owner player GetLaserOffset or familiar(type 3) variant
009bfa00 PlayerManager::GetNumAlivePlayers ? counts main non-ghost non-twin players without +0x20a9
009a90b0 _player_hud_set_heart_anim_state ? ? finds player in 8 entries stride 0x6dc, sets byte 4
00980430 std::vector<Vector>::_Insert_n grow/insert 8-byte elems; laser render
00967180 Entity_Knife::UpdateHomingPath ? knife homing path, InitHomingPath, spawns
0092aea0 PersistentGameData::TryAddBestiaryEncounter ? GetBestiaryConfig, encounter set, Steam achievement
00857220 ScoreSheet::LoadAnm2 ? loads ScoreMenu/LeaderboardMenu anm2 in LoadConfigXmls
0082c310 Game::LoadMinibossesXml ? 'minibosses'/'miniboss' xml parse
007eeeb0 Entity_Pickup::CanFlip ? flip validity checks, used by TryFlip/HandleCollision
007dc2d0 _Entity_Player::SpawnTrinketRandomPickup ? ? trinket RNG +0x177c, random of 5 variants, SpawnEx pickup
007d2000 Entity_Player::InitTwin SpawnCoPlayer, sets _otherTwin +0x1e68, offsets positions +-20
007c8050 Entity_Player::AddImmaculateConceptionCounter Immaculate Conception 413 counter +0x1930, spawn heart
007716c0 is_trinket_unpickable_id ? trinket id&0x7fff ==41 or 135
007525e0 std::vector<int>::assign memmove copy-assign 4-byte vector
0074bae0 _RoomDescriptor::GetShapeGridCount ? ? greed mode check, shape 4/5 branches
0070c000 Entity::DestroyRockGridAt ? rubble anm, RegisterRockDestroyed, PlayBreakSound; tear/projectile
006eed30 Entity_Pickup::AssignOptionsIndex ? max +0x528 over pickups +1
006dac30 log_precise libm log wrapper
006d81c0 Entity_NPC::ClearDequeRefs ? clears EntityPtr deque at +0xbf0
006baa70 _NpcHelper::spider_load_graphics ? ? load_graphics + anm path redirect, spider AIs
006b7d20 _Entity::GetAncestorField ? ? lookup +0x14
0069f990 Color::copy_constructor_ext ? copies Color + 3 strings; ICF-ish
0067a720 Entity::GetRootParent walks +0x3c8 parent chain, checks type 1
006518f0 set_iterator_post_increment tree iterator ++
00634a40 Entity_Familiar::ResolveOrbitConflict ? +0xda4 orbit, compares +0x410
0060d180 Entity_Familiar::GetPlayerSlot ? matches player +0x1618 controller in 4 slots
00499270 _range_to_span ? ? builds {start,0,count}
004476a0 Color::Color sets white then copies tint
00435d20 Entity::SetField380 ? stores +0x380
00431530 Entity::IsTear type==2
00428940 Seeds::Init3 ? draws seeds into +0x58.. via xorshift
0041c770 shared_ptr::assign refcount vtable acquire/release
00407320 _get_name_string ? ? copies std::string at *this+8
007bc740 Entity_Player::InitPostLevelInitStats own log string names it; challenge/daily starting items
0067d1f0 get_tear_flags_from_player ? builds TearFlags from bitmasks, Dead Eye-ish 0x97 chance, ancestor player
004bb550 NpcHelper::hornfel_get_rail_direction Room rail byte grid +0x746c -> direction vector
00505b40 pow_wrapper calls pow
00a10e70 render_quad_set_rect 4 verts from pos+size, 3x5 color floats
0085bed0 EntitySpawner::Spawn advances RNG then Game::Spawn with stored type/variant; shopkeeper/fireplace/chest loot
007911f0 Entity_Player::GetCollectibleMaxCharge per-item charge overrides then ItemConfig MaxCharges; caller GetActiveMaxCharge
006da850 std::deque<LootEntry>::clear deque of 0x14 blocks freed
0064bb70 Entity::convert_shot_for_enemy_owner ? if owner chain has flag 0x100, respawns tear as projectile/attack fly/spider
005cbd20 std::vector<CostumeSprite>::erase 0x130-byte ANM2 elements, costume add/remove
004b0e40 std::deque<Vector>::assign 8-byte element deque copy
0041b4f0 EntityList::AddPersistentEntity "persistent list is full" log
00a1d710 render_color_quad KAGE_ColorShader, KColor::SetFromARGB
00a10510 Vector::Mul out = a * this componentwise
009b9480 PlayerManager::count_main_players ? skips players whose +0x1e68 sibling has lower controller idx
008151e0 Room::GetShopItemPrice log string
00753da0 Entity_Player::constructor sets Entity_Player vftable
006eee10 EntitySaveStateRef::Set ReferenceCount<EntitySaveState> alloc
006b5f10 Entity::GetDebugShape DebugRenderer::Get(this+0x20)
00682f50 KColor::FromRGBA255 ints * 1/255
006470c0 Entity_Familiar::get_item_config_entry ? calls ItemConfig collectible 0xd0 vector lookup
004f88a0 rng_pair_init ? two 0x16a9de81 seeds
00499230 std::deque<Vector>::front deque index math
004174c0 buffer_init ? alloc param bytes
00a55d60 std::vector<12byte>::clear stride 0xc
00a18300 KAGE_Graphics::SetRenderTarget glBindFramebuffer + status logs
009f4280 Weapon::UpdateHeadChargeAnimation ? HeadDownCharge/FloatChargeSide anim names
009bea10 entity_vector_set_flag_410 sets byte +0x410 on each element
009a3410 PlayerHUD::show_pill_name ? pill use / pickup, netplay branch
009803e0 std::vector<Vector>::erase 8-byte elements
009666c0 Entity_Knife::GetRootParent walks +0x3bc while type 8
009294f0 PersistentGameData::Save "no filename supplied"
00838380 VictoryRunPrompt::Load ? Prompt_VictoryRun.png, LoadConfigXmls
007ebe20 ItemPool::get_pool_from_room_entities ? GetPoolForRoom, scans room spawns
007dbd70 Entity_Player::ModelingClay_roll seeded collectible stored +0x1fb8, costume; trinket added/new room
007cf8f0 Entity_Player::IsLocalPlayer ? NetplayManager::IsIdxLocalPlayer
007c2d50 get_tear_trinket_multiplier ? tear variant -> trinket multiplier
00771200 Entity_Player::IsInnateCollectible player-type specific item ids; caller HasCollectible
007523e0 Level::boss_count_adjust ? stage-type based counters; extra boss room
0073da40 Level::GetTargetSlot log "Level::get_target_slot"
0070bf80 is_grid_type_floor_special ? grid types 17/18/20/23
006eea30 Entity_Pickup::MakeShopItem sets ShopItemId +0x53c, Price +0x534 via GetShopItemPrice
006d9320 Entity_NPC::apply_controller_movement GetControllerInput velocity; hopper/fat sack
006d5400 Entity_NPC::trigger_kill_item_effects ? Contagion/Athame/Friendly Ball/Book of Virtues owners
006b84e0 std::deque<LootEntry>::push_back 0x14 entries, shopkeeper/fireplace loot
006b7250 Entity::GetLastParent walks +0x3c8
0069dac0 std::vector<12byte>::_Tidy stride 0xc free
00678060 Entity_Tear::is_not_familiar_spawned ? +0x3bc type != 2... returns true
00665b00 Entity_Tear::GetRootPlayer walks +0x3c8, returns if type 1
00651810 apply_forgotten_lullaby trinket 141 divides fire delay
00634260 Entity_Familiar::UpdateFollowPosition ? follower +0xd90..0xda4, GetFollowerPriority
0060d140 Entity_NPC::set_entity_ptr_f54 ? multiset EntityPtr at +0xf54; cage/tarboy
0060c620 Entity_Effect::ExtraDataRef::Set ReferenceCount<Entity_Effect::ExtraData>
00558070 NpcHelper::willo_get_target_pos parent pos or player average
004f84a0 str_ne !str_eq
004b8a30 NpcHelper::hornfel_ride_minecart SetMinecartPosVel, state 10
0041ab50 EntityList::query_player_capsule_hits ? Capsule::Collide over players
00a104b0 Vector::operator__ body: this.xy -= arg.xy
00833420 Ambush::StartChallenge closes doors unless Door Stop, plays challenge/bossrush music, room types 11/17
007592a0 Entity_Player::UpdateBlackHeartMask repacks _blackHearts bitmask 0x1350 against _soulHearts 0x134c
006d7df0 Entity_NPC::FollowParentSegment ? worm segment: follows ParentNPC position history deque 0xc04, pushes own pos (max 64)
0063b4a0 Entity_Familiar::GetFollowTargetPosition ? out vec; orbit pos if 0xd70>=0, variant 120 free pickup spawn pos
004e8fa0 Entity_NPC::UpdateCordChain ? Evis/Vis Fatty/Dogma/Peeper Fatty cord points deque 0xc08
00499960 EntityRef::operator_ ? copies 10 dwords; used by TakeDamage/AddBleeding/AddBaited
00a10350 Vector::FromAngle deg*pi/180 -> cos,sin
00a1aec0 Font::DrawStringScaled ? builds string, draws at scale 1,1 with KColor
009a1a30 HUD::LoadGraphics loads ui_hearts/hudpickups/chargebar anm2 and fonts
007db860 is_achievement_79_unlocked ? std::set find key 0x4f, byte vec 0x1fd4[0x8f]; called by GFuel/EvaluateItems
0074b830 Level::IsStageWithinEnd ? stage < 8 in greed, challenge EndStage 0x40, shovel 550/552 checks
006ee750 Entity_Pickup::RemoveOtherOptions pickups with same OptionsPickupIndex 0x528 poof (1000.15) and vanish
00682b90 string_scramble_seeded ? std::string by value + RNG; used by curse name, UsePill, pickup collision
00639000 Entity_Familiar::ThrowDip own assert string; spawns 3.201 dip
004d8b50 spawn_small_maggot Game::Spawn 853 at this pos, sets height/velocity
00498fd0 std::deque<Vector>::erase deque of 8-byte elems range erase
0097baa0 Entity_Laser::UpdateHits ? laser Update/Interpolate: QueryRadius, IsVulnerableEnemy, flag bitset tests
006b2210 Entity::IsCollisionIgnored ? player vs type 9 projectile with effect 625, collectible 276, null 59, PlayerType 35
0043eca0 std::vector<int>::copy_constructor alloc+memmove of 4-byte elems
00a288a0 std::shared_ptr::assign ? swap two dwords then release old via vfunc 0xc
00a18230 RenderTarget::Clear glClear 0x4100 with clear color
009f41c0 Weapon::GetMultiShotParams player/familiar owner -> Entity_Player::GetMultiShotParams else default
009be990 NpcHelper::big_horn_is_any_hole_busy ? scans entity ptr vector for field 0x3fc not 0/3; Big/Little Horn
00960a20 Entity_Knife::GetBaseVariant maps variant 2/3/4/8/9->1, 5->0, 11->10
007b9f60 Entity_Player::GetMouseAimTarget ? NetInputDevice cursor 0x398 or GetFocusEntity pos
0075e050 Entity_Player::SetQueuedItem FlushQueueItem then writes QueuedItem fields 0x17c4..0x17d4
0074f820 Level::InitStageSeeds ? requires Game Start Seed; stage seed table 0x1bb9c; Init/RestoreGameState
007376c0 ItemPool::GetCardImpl ? RNG; Pickup::Init and AddItemCard
00708e20 std::vector<RoomEntry>::_Tidy ? frees vector of 0x78 elems; RoomDescriptor dtor, reset_room_list
006e84d0 Entity_Pickup::CollectTrinket ? param player; 0x534 trinket id, Trinket ID out of bounds
006d90e0 Entity_NPC::UpdateChildEffectPosition ? effect at 0xf28 (type 1000) placed relative to npc size 0x38c..
006d4e00 Entity_NPC::PlayDeathEffects ? gfuel, layer-frame pos, death sfx; NPC Update and Rock Spider
006b6810 Entity::MakeBloodPoofAtPos MakeBloodPoof(this,&_pos,arg)
0069ba90 EntityConfig::PreloadResources AnmCache::Preload + Preload sound %d
00676be0 Entity_Tear::UpdateBoneTear ? uses tears_brokenbone.png
00665500 Entity_Slot::SetPrizeType ? writes 0x540, reloads graphics per variant 15/16
0064bab0 Entity_Familiar::RemoveFromPlayer ? clears owner 0x414/0x410 slots, Siren/ClearReferences
00634000 Entity_Familiar::TryFireTear ? Forgotten Lullaby 127 multiplier
006075a0 TearParams::operator_ struct copy; Brimstone/ApplyTearFlagEffects
0059bed0 Entity_NPC::RenderSegmentLink ? NPC Render/RenderShadowLayer, parent 0x3c0 I2 checks
00557ce0 collect_npcs_with_same_parent ? npcs with matching 0x3bc parent; Min-Min/Willo
004f83a0 std::deque<int>::resize Growmap/new(0x10) loop
004b39b0 std::vector<Vec16>::_Emplace_reallocate 16-byte element realloc
00435bf0 BitSet128::operator__ 4 dword OR
0042f150 std::vector<Vector>::operator__ ? base+i*8
00421680 std::string::concat alloc + 2 memcpy
00417630 EntityList_EL::push_back EL: not enough space for push_back
009292c0 Manager::BackupSaveFile %s/save_backups/ + time-stamped name; Game::Exit, ChangeRoom
007eb870 Level::UpdateBackwardsPathStages ? Invalid backwards path stage ID; stage bitmask
007dbc80 Entity_Player::AddRandomMomItemEffect ? RNG pick from list 29,30,31,55,110,114,217,228,355,508,732
007ce270 Entity_Player::GetMainPlayer ? parent 0x3bc if player else player 0 for variant 1
00838210 is_screen_transition_active ? 0x34!=0 && byte 0x44; Game::Update/IsPaused
00a101c0 vector_lerp out=a+(b-a)*t, optional clamp t to [0,1]
00813460 Room::get_random_pickup_position ? random point in rect +0x14..0x20 then FindFreePickupSpawnPosition
0071f600 Level::filter_curses ~prevented & (forced|game|level curses) & mask
006cb2a0 Entity_NPC::fire_projectile_from_params ? calls FUN_006cb010 with fields 0x168/0x16c, per-projectile loop in FireProjectiles
00612b50 Entity_Familiar::get_incubus_umbilical_whip Lilith birthright incubus, dyncast Weapon_UmbilicalWhip, returns entity type 3
004e46d0 Color::apply_to_kcolor tint*kcolor, colorize via luma 0.2126/0.7152/0.0722, add offset
00a14050 shader_cache_find ? path hash lower_bound lookup, sets current shader global
00a0f690 KColor::KColor r,g,b in xmm, a param, ECX[4]=0
00732d00 ItemPool::is_collectible_available bitsets 0x67c/0x68c removed/blocked, trinket No! (88) blocks actives
0067d430 tear_flags_area_apply QueryRadius, damage vulnerable enemies, ApplyTearFlagEffects
006348d0 Entity_Familiar::reset_follow_target ? resets 0xd90..0xda4 to zero vector, 0xda4=0xff
004d3130 EntitySaveState::copy field-by-field copy + two vector copies; Pickup TryFlip/Level::Init
00456380 Color::assign 11-dword copy into +0x1e4 (entity color) with self check
004362a0 ItemConfig::get_wisp_config collectible+0xcc or modded table, error Book of Virtues missing default wisp
0042c850 std::vector<unsigned_int>::push_back emplace_reallocate fallback
0040d0c0 std::string::c_str SSO cap<16 check
00a26af0 StringTable::get_string returns StringTable::InvalidCategory on miss
00a14c00 Shader::set_uniform ? "unknown shader uniform type"
009f33e0 Weapon::get_aim_direction Marked (394) target override for player/familiar owner else default dir
009b7650 is_single_player ? player vector at 0x4b3d8 size<=1
0090ac70 InputManager::GetDeviceByPlayerEntity log string
00802670 Room::update_door_targets MakeDoor for each slot bit, set target room idx + room types
007e86b0 std::vector<8byte>::reserve _Xlen guard
007dbba0 Entity_Player::add_random_drug_item_effect ? picks one of 13,14,240,70,143,345,493,496, TemporaryEffects::AddEffect
0075a2b0 Weapon::is_held_item ? compares held item 0x114 vs Brimstone 118 / trinket 162 cases
006d8e10 is_local_player_owned netplay idx 0xf1c IsIdxLocalPlayer, Effect/Game render
006b8410 Room::has_room_config_flag descriptor->config+0x4c & mask
006a80f0 LuaRef::push lua_rawgeti registry ref ECX+4
009960b0 Game::start_poop_cloud_screen_effect ? loads gfx/backdrop/pooclouds.png, called from UsePill/bomb tearflags with colors
007bebb0 Entity_Player::update_player_skin NiceLilith/ghost spritesheet replace + costumes, after ANM2 load in ChangePlayerType
006e2570 Entity_Pickup::update_price_sprite ShopIdle/NumbersRed/Hearts/SummonPayment, called with _price in Init/Morph
006a9c90 Entity::CollideWithGrid GetGridCollision, bridges, clamped position, from Interpolate
00993a70 Camera::Update ? LerpAngleDeg/atan2, Room::Update and generate_greed
00973c60 Entity_Laser::update_laser Droplets/Fade, non variant 1-3 path in Update
0095a7b0 PlayerManager::unlock_completion_mark ? param ending id (14 mega satan/3 ...), TryUnlock per player
007cc200 Entity_Player::init_player_type_state ? ChangePlayerType/MorphToCoopGhost, costumes, wisp config, temp effects
006e83a0 Entity_Pickup::can_player_buy price 0x534 vs coins, -10 free, health type checks, coop ghost rejects
006470f0 ItemConfig::get_wisp_entry ? collectible+0xd0 vector of 0xb8 entries indexed by EDX, default item fallback
006c20e0 LootList::LootList ? zeroes 5 dwords + list sentinel; shopkeeper/fireplace get_loot
00435f80 TemporaryEffect::TemporaryEffect {config,0,config+0x78,0}, same layout as AddEffect arg
007afc20 Entity_Player::try_trigger_astral_projection ? zero-hearts check, collectible effect 677, AddNullEffect
0074d920 Level::update_treasure_room_doors_for_trinket ? trinket 146 check over treasure rooms, door LoadSprite, from trinket add/remove
00737380 ItemPool::get_available_collectibles ? static init, removed bitsets 0x67c/0x68c, Bumbino/GetCollectible
006f8d60 GameState::copy_room_list ? memmove vector copy, SaveBackwardsStage/RestoreGameState
006856c0 std::vector::resize ? memset/memmove realloc
00666ba0 Entity_Tear::update_wiggle sin/cos lateral offset over frame count, Update/Interpolate
00663aa0 Entity_Slot::spawn_break_drops RNG pickups/spiders/gibs, Slot Update/TakeDamage
00631850 Entity_Familiar::move_to_parent_offset pos = parent pos + offset, velocity capped 100
00557bd0 std::string::find memchr substring search
004e9b10 Entity_NPC::render_overlay ? called from NPC Render/RenderShadowLayer, static init
004357e0 Entity_Familiar::set_extra_data ReferenceCount<Entity_Familiar::ExtraData>
00417540 EntityList::sublist_init "EL: invalid sublist"
009bfae0 PlayerManager::revive_player_ghosts loops players, RevivePlayerGhost if player+0x20a9 set; room clear/slot callers
007db8d0 Entity_Player::get_seeded_variant ? switch on FUN_007db860 (set<int> 79 + player vec byte 0x8f) else seed-derived 2..5
00705ee0 Game::save_rewind_state ? two 0x8198-stride state slots, frame<15 guard; room/stage transition, door callers
006ac8d0 Entity::get_velocity_direction returns 0..3 dir from velocity 0x360/0x364
00612890 Entity_Familiar::is_detached_from_follow ? per-variant checks (0x3b,0x19,0x68,0x82...) used by FollowParent
004d8910 spawn_small_maggot_jump Game::Spawn(853 SMALL_MAGGOT) toward target, sets grid; Mama Fly/Pustule/Scourge
0042eef0 push_shape_points ? appends Vector pairs into vector at +0x24; Big Horn/Bumbino/Whipper
00417220 Entity::IsType compares type/variant/subtype with -1 wildcards
00a13510 set_blend_mode BlendMode::SetMode result copied to +0x20..0x30
009f3bd0 Weapon::get_owner_position owner(+4)->_pos or zero vector
0096ce30 Entity_Laser::is_thick_variant ? variants 1,3,6,9,11-15 true; laser update/render
007910f0 Entity_Player::GetTotalActiveCharge charge+battery of slot plus Bethany soul/blood charge 0x1da8/0x1dac
00722140 std::vector<HistoryItem>::erase 28-byte elem erase; History::RemoveHistoryItemByIndex
006dae20 Game::IsChallengeOrDaily Game _challenge 0x26584 or _dailyChallenge 0x26630 nonzero
006a8f20 Entity::is_valid_boss_enemy ? type 10..999 active, not 866, no flag 0x20000000; Hush/Mega Satan/Ultra Greed
0067a080 Entity_Projectile::Deflect clears flags, sets velocity, new spawner multiset; ButterBeanFart/familiar collision
00612330 Entity_Familiar::get_orbit_parent ? Init/Kill/RecalculateOrbitOffset; type 0x2b/0xce special
00456240 ColorParams::set_from_bytes ints *1/255 into tint/offset floats
0040ccc0 std::string::_Xlen "string too long" throw
00a10dd0 set_quad_corner_colors ? copies 5-dword color into 4 corners; Laser render
009e04b0 collectible_set_has ? set<int> find with count>0; HasCollectible
009b5840 PauseScreen::Init loads PauseScreen/Death Screen anm2; LoadConfigXmls
0098b5e0 Minimap::refresh_room_icons Icon* room strings; Minimap::Refresh
00968430 Entity_Knife::SpinAttack "Tried to use spin attack..." Spin* anims
0093da00 Backdrop::load_details gfx/backdrop *_details anm2; Backdrop::Init/Dogma
008ef560 RevivePlayerMenu::Init gfx/ui/Menu_RevivePlayer.anm2
0082ee40 log_room_transition "[Frame %d] Starting room transition"
007f20e0 room_shape_get_door_grid_index ? shape/slot -> grid index; greed gen, UncoverHiddenDoor
007e31a0 PathFinder::Init sets owner, Reset; NPC/Familiar constructors
007d9b70 Entity_Player::reset_body_sprite loads entity 1.0.0 anm2, replaces sheets per player type
007cbcd0 Entity_Player::init_forgotten_twin ? player types 16/17, allocs 0x2f00 sub-player at 0x1d98
007911c0 Entity_Player::GetActiveItemSlot scans 4 active slots at 0x1580 stride 0x20
00759950 Entity_Player::restore_curse_mist_backup restores consumables; Add/RemoveCurseMistEffect
0074cb50 Level::get_door_neighbor_room ? neighbor room by door; CanSpawnDoorOutline/MakeRedRoomDoor
007307b0 ItemConfig_Item::is_mom_item ids 29,30,31,55,110,114,199,200,217,228,355,508,732
006f43b0 Game::reset_run_state zeroes Game fields + ResetState; LoadConfigXmls/Exit
006e1e90 Entity_Pickup::load_collectible_gfx questionmark.png, collectible gfx; UpdateSprite
006d8d80 Entity_NPC::is_controller_input_idle controller input zero via 0xf28 player
006c1870 Entity_NPC::anim_walk_frame_4dir 4 anim names by velocity, threshold; Gutted/Peeper Fatty
006b8320 EntityList::assign "EL: not enough space for copy"
006a6f10 Entity_Bomb::update_sparks ? "sparks"; Bomb Update/Render
00684f30 std::deque::back deque back element
00666a00 Entity_Tear::apply_wiggle sin/cos offset perpendicular to velocity; Update/Interpolate
0065b490 TearParams::copy ? 0x64-byte struct copy; Tear/Projectile Update
0063b340 Entity_Familiar::update_idle_anim_by_size "Idle%d" from player scale thresholds
0062e620 Entity_Familiar::update_weapon Create/DestroyWeapon matching player weapon 0xdc4
00547040 npc_distribute_orbit_angles spreads V1 angles 2pi/n among siblings; Matriarch/Fistuloid
004cf350 std::set::clear tree erase+reset
004aab30 std::vector::assign_0x38 0x38-elem vector assign; Delirium/Kill
00414870 std::string::append_n append n chars (memset)
0x00684cb0 Math::timescale_factor a / (a + t - a * t), a when t == 1: ACCELERATE's per-tick factor with the timescale (Entity_Projectile::Update 00659a72); was nullsub_684cb0
006bb790 Entity_NPC::champion_init NPC init: champion roll (0.05, Champion Belt 0.2, Purple Heart x3 / bosses x2); ZHL exact sig hit Game::RestoreState wrongly (trinkets-cards)
007dbeb0 Entity_Player::twins_duplicate_familiars The Twins: param copies of a random owned familiar item for the room, else Brother Bobby/Sister Maggy (called from 007a6c50 with RandomInt(mult+1)); not HistoryHUD::RecomputeAll (trinkets-cards)
007abf80 Entity_Player::active_used_post after UseActiveItem: Book of Virtues, M trinket active reroll (quality weights 0xb6bc60), Butter!/drop (trinkets-cards)
007a6c50 Entity_Player::room_enter per-player new room setup: The Twins roll, enter position, greed wave clamp (trinkets-cards)
007300d0 Item::IsAvailable ItemConfig item `this`; flags 1 tag/mode filters, 2 achievement unlocked, 4 character filters (Tainted Lost offensive/quality), 8 mod callbacks (characters-8)
00793970 Entity_Player::trigger_collectible_effect_removed switch on the temporary effect's item id; 0x2c1 Dark Arts sets field 0x2004 (end blast pending) (characters-8)
# room features pass (rooms_pending, 2026-10-24): notes/systems/room_features.md
0074eaf0 Level::raise_mineshaft_rail rail plate (PressurePlate::Reward variant 3): raises the mineshaft entrance's next button rail, HasAbandonedMineshaft only (room-features)
009833c0 GridEntity_PressurePlate::update_press player within 30 presses it (Switched, state 3) then Reward; trap plate sets room+0x11ec = 10 (room-features)
00823080 Room::TriggerOutput REPENTOGON Room.zhl TriggerOutput(group): output cells' grids react (FUN_00823150), group's 1000.120 Spawners release, callbacks (room-features)
00822d20 Room::add_trigger_output_cell (group, x, y): bounds-checked GetGridIndexByTile then add_trigger_output_index; SpawnEntry 969 calls it for the 4 sides (room-features)
00822cf0 Room::add_trigger_output_index group < 10: insert the grid index in the output set (room+0x7328) (room-features)
00822d60 Room::hold_trigger_output_entities after spawning: each entity on an output cell becomes a Spawner 1000.120 of its group (room-features)
00822fd0 Room::hold_entity_in_spawner Spawner 1000.120 at the entity, 0x420/0x424 its variant/subtype, 0x450 the group; the entity removed (room-features)
00823150 GridEntity::trigger_output TNT explodes, plate Switched, event rock breaks, event pit fills, teleporter toggles (room-features)
00718ac0 GridEntity_Poop::get_giga_part (variant 7-10, create): the giga poop part of that variant by tile table 0xb690f0 (room-features)
007178c0 GridEntity_Poop::spawn_drops the poop drop table by variant (0/2/3/6 roll), not MenuManager::Render (room-features)
00716760 GridEntity_Poop::spawn_hit_gibs poop gib particles 1000.58 by variant on a damage stage (room-features)
00716b10 GridEntity_Poop::destroy_effects break sound 0xed (giga: half pitch), 1000.43 splat, tinted by variant (room-features)
0056cd60 NpcAI::ENTITY_MOTHER_2 912.10 by the 912 variant table at 006c4964 (boss_approx_3)
00565e00 NpcAI::ENTITY_MOTHER_worm 912.30 by the 912 variant table (boss_approx_3)
00566810 NpcAI::ENTITY_MOTHER_ball 912.100 by the 912 variant table (boss_approx_3)
004bc460 NpcHelper::hornfel_room_controller effect 1000.152 update (Entity_Effect::Update case 005da269): passing carts (boss_approx_3)
004bb350 NpcHelper::hornfel_free_door a random 967 rail door free of carts (boss_approx_3)
#
# No standalone AI exists for these types: their dispatcher case is inline code (Entity_NPC_UpdateAI_dispatch 006c2990)
# 93 ENTITY_MASK case 006c2d98: finds a Heart (type 92) in the room and parents itself to it
# 79 ENTITY_GEMINI case 006c2a45: builds ProjectileParams and fires
00866960 LuaEngine::RegisterAPI registers the Lua API (LUA_REG in build.sh; references "UseActiveItem" etc.)
00a08700 Weapon_MonstrosLung::FireBurst fires N burst tears around a velocity (items sweep 12)
#
# Tier 3: the 575 largest unnamed functions (1500+ bytes anywhere, or 600+ bytes called once from gameplay); 8 subagents
00794e50 Entity_Player::update_item_effects ? called each frame from 00782af0 (player update body) when !HasEntityFlags(0x4000); 117 HasCollectible/HasTrinket/CollectibleEffect checks: Book of Virtues, Candle, tech lasers via Entity_Laser::ShootAngle, Fart/ButterBean, spawns per item; strings Trapdoor, UseItem, black powder circle
00739370 Level::place_special_rooms ? this=Level (_stage/_stageType, _nbRooms, _lastBossRoomListIdx), args (LevelGenerator*,...): picks boss room (FUN_00739080 then LevelGenerator::GetNewEndRoom + FUN_00738ab0), then dead-end specials via RoomConfig::GetRandomRoom, HasMirrorDimension/Mineshaft/PhotoDoor; warn ROOM_DEFAULT/boss room strings
00990a40 FXLayers::LoadConfig this=FXLayers (stores stage/stageType at +0xc/+0x10), arg xml path: parses fxlayers.xml nodes stage/backdrop/fxLayers/layer/rayGroup/fxParams, "[warn] failed to load %s", loads gfx/Veins.anm2; caller 007f1380 passes "fxlayers.xml"
00791a40 Entity_Player::ControlActiveItem REPENTOGON sig shape (cmp _variant,1 early-out), arg slot int; action 9/10 (ITEM/PILLCARD) pressed/triggered, FlushQueueItem, UseActiveItem, AddWisp; called from player update 00782af0 with 0 and from 007a3d30 with slot
00971810 Entity_Laser::update_line_hits ? this=Entity_Laser, !_sampleLaser path: loops room entity list, CanDamageEntity, perpendicular distance to beam angle (+0x41c) vs entity size, FUN_0097e3c0(entity) records hit, tear-flag effects; called twice from 009737b0 (update helper)
009569f0 challenges_xml_load arg path (FileSystem::Open), bool; parses challenges.xml root challenges/challenge/version attrs (startingitems, playertype, endstage, megasatan...), fills ChallengeParams array stride 0xa4 at +0x2a664; callers load items.xml/costumes2.xml (mod content loaders)
00ad4dc0 jpeg_idct_7x7 libjpeg jidctint.c: (cinfo, compptr, short* coef_block, output_buf, output_col), constants 0x28c6=FIX_1_274162392 0x1c37=FIX_0_881747734 0x13a3=FIX_0_613604268 0xa12=FIX_0_314692123 0x2c1f=FIX_1_378756276 0x1def=FIX_0_935414347 0x573=FIX_0_170262339 0x2d41=FIX_1_414213562, quant table at compptr+0x54
008fb120 ModManager::UpdateWorkshopMods REPENTOGON name; SteamInternal_ContextInit UGC calls, "Updating mod %s", /metadata.xml, /unfinished.it, gfx/ui/loading.anm2 spinner, ModManager::Reset
005d2a70 Entity_Effect::update_mr_me ? this=Entity_Effect: __RTDynamicCast(_extraData +0x4b4 -> MrMeData) else return; anims Float/Carry/HideItem/ShopIdle/Broken, follows parent player _markedTarget/_aimDirection, TryOpenChest, GridEntity_Door::TryUnlock/Open, AnimateCollectible, SpawnEx: Mr. ME ghost effect update
00649290 Entity_Familiar::apply_tear_flag_effects ? this=Entity_Familiar (AbyssLocustData extra data), args (?, BitSet128* tearFlags, Entity* target); called from Entity_Familiar::HandleCollision right after Entity_Tear::ApplyTearFlagEffects; per-flag contact effects: spawn tears, Fart/ButterBeanFart, DevolveEnemy, SpawnMawOfVoid, BombExplosionEffects, HitList, tears_brokenbone.png
0083d8c0 item_pool_icons_render ? args (Vector* pos, Color*), this has ItemConfig_Item* at +4: ItemPool::GetItemPoolsForCollectible then renders IconShop/IconTreasureRoom/IconDevilRoom/... anims (ItemPoolChests), greed-mode pool filter; called from 0083eae0
00851b20 info_display_xml_parse_trinkets ? called from info_display.xml loader 0084eba0 with first_node("trinkets"); reads id/tag/text/info/achievement/notplayer/nottrinket attrs
00853180 info_display_xml_parse_pills ? same loader, called with first_node("pills"); same attribute set, this+0x10 table
00982100 Menu_Game::PreRenderContinueImg REPENTOGON name; called from Menu_Game::Update body 00981140 (MenuManager update dispatch case 3) before "Appear"; draws Character/Stage anims and %02d:%02d:%02d run time into a RenderTarget, ModManager::RenderCustomCharacterPortraits
009d9c60 Menu_Save::Update MenuManager update dispatch 009897d0 case 2 (save select); File1Select/DeleteConfirmation anims, GenericPrompt::Update, PersistentGameData Load/Save/Clear, GameState::Delete, %s/save_backups/
008f19f0 Menu_SpecialSeeds::Reset ? this=Menu_SpecialSeeds: zeroes +0xc/+0x10, loads seedmenu.xml layout entries (vector +0x160 stride 0x28, nodes seedmenu/entryDialog/spacer, attrs name/unlock/enable/confirm/reset); called by Menu_SpecialSeeds::Update 008f01b0 and by MenuManager menu-stack setup 0098aa30 when state==6
008d9340 Menu_KeyConfig::Render ? renders #INPUT_WALK_*/#INPUT_SHOOT_*/#INPUT_BOMB... via string_table_translate + Font::DrawString, casts InputDeviceGamepad, "ActionId is out of range"; called in the menu render list 0098a040 right after the controller-select render
0068c2e0 Console::Render this in ESI; Manager+0x2a39c console state 0..2 selects font size 15/12/8 and history offset; Console::RenderHistory, KAGE_ColorShader, "Shader stack empty"; called last in Game::Render. REPENTOGON sig prologue differs (push ebx align), so not matched
00937420 Backdrop::pre_render_walls REPENTOGON name; this=Backdrop: configurations[backdropId] (+0x154 stride 0x13c) .walls (+0x64) ==0 early-out, RenderTarget::Clear, per-backdrop switch (0x14 greed), Room::GetRoomShape; called by Backdrop::load_details; sig differs only by prologue/frame size
00a890e0 tdefl_compress_normal miniz.cpp asserts "d->m_lookahead_size >= len_to_move", "max_match_len <= TDEFL_MAX_MATCH_LEN" (tdefl_find_match inlined), "(match_len >= TDEFL_MIN_MATCH_LEN)..." (tdefl_record_match inlined); caller 00a89de0 = tdefl_compress
00427870 holiday_get_current ? builds tm for now, Nov 1 of year + weekday table (Thanksgiving = 4th Thursday), Meeus/Gauss Easter date ("Cannot calculate Easter date for year %d" if year>=5000); returns holiday id; caller 00426a50 (daily/leaderboard date code)
0062bb70 Entity_Familiar::room_enter ? this=Entity_Familiar: switch on _variant sets +0xd4c cooldown/state, FloatDown anim, Mantle overlay, wisp config, AddToOrbit/GetOrbitPosition, Red Key wisp MakeRedRoomDoor; called from room-enter entity loop 009bba30 for type 3, NPCs go to 006d6d80
0044a040 NpcAI::ENTITY_BEAST_pestilence_fly Entity_NPC_UpdateAI_dispatch type 951 (Beast) variant switch case 0x15 = 21 Ultra Pestilence Fly (20=Pestilence 004477b0 HorseSpit/MaggotAttack, 22=Maggot 0044b6f0 Maggot/MaggotBack); +0xb74==1: removed when outside room, slows and takes 10 dmg every 8 frames below the room bottom (lava), AddBurn
00587480 NpcHelper::scourge_chain_shoot called from Scourge main AI 00587aa0; walks parent chain of 909.10 (Scourge chain segments) to the end, direction from last segment, Entity_NPC::GetPlayerTarget, FireProjectiles + SoundEffects::Play
007c8240 Entity_Player::dash_impact ? called from HandleCollision after velocity=dir*speed and +0x1e94=-1, from player update 00782af0 and item effects 00794e50; sets +0x1e98=1, +0x13bc=max(.,30), spawns ring of 8 effects 1000.147 radius 40, QueryRadius enemies: AddKnockback/AddBurn, Projectile Reflect/Deflect (Mars-style dash)
006ed690 Entity_Pickup::update_magnet_attraction Entity_Pickup::Update helper: early-out unless FirstCollectibleOwner(0x35 Magneto) or AnyoneHasTrinket(0x44 Super Magnet / 6 Broken Magnet); GetTrinketMultiplier scaling, pulls pickup toward player, chest/variant checks
0091dc10 online_chat_update ? this=chat state (vector of messages at +0, countdown +0x14): handles "/mute "/"/unmute " commands (mute_list.txt), "[Frame %d] Broadcasting chat message", %llu steam id; called from online update 008e8240 and delayed-start 0090b150
0091ee90 online_chat_text_input ? only caller online_chat_update 0091dc10; polls GetKeyState(VK_CAPITAL) and key codes 0x154/0x155/0x158 via input vftable+0x74, edits the chat buffer (memcpy), FUN_0091cf80 append
009c4a50 online_chat_window_update ? state machine at +0 with Appear/Disappear anims, key polling, shares helpers 008e24c0/008fd7a0 with online_chat_update; called from online update 008e8240 and pause menu 009b5d20
008db070 Menu_OnlineLobby::update_list_cursor ? called from Menu_OnlineLobby::Update body 008dce10 ("Unhandled scope type in Menu Lobby List") when +0x500 set; "Cursor" layer, AnimationState::Update, SoundEffects::Play
008deac0 Menu_OnlineLobby::render_lobby_list ? "LobbyList" anm, "#Online/NO_FRIEND_LOBBIES", "%d / %d", "Loading", Font::DrawStringScaled; called from lobby menu render 008ddae0
0090bbf0 online_lobby_join ? "##GAME###Online/JOINING_LOBBY", ONLINE_CHALLENGE_BLOCKED, "Unknown or unsupported service provider type", Menu_Save::select_save_slot, PersistentGameData::Unlocked; callers Level::InitializeGenesisRoom(!), 008e2530, 008e5260, 008e64f0, 0090bf10
008ca600 online_stats_finalize ? "Finalized stats for user %llu, %s", "Duplicate UserID in player info!", "Player %d"; callers Game::End and 004291c0
008cd7b0 Menu_Challenge::render_seed_text ? called from Menu_Challenge::Render body 008cc1a0 (ChallengeBox/BackButton); GetNullFrame "SeedPos" then Font::DrawStringScaled
008d7cb0 menu_item_description_build ? args (type,id) pair (0=collectible 35/262, 1=trinket 48 special cases), scans Manager+0x2a448 entry list, string_table_translate, strncpy 0x78; called from 008d47c0 (DescriptionArrowUp/Down item details panel)
00a1d8f0 render_quad_draw_color_shader ? arg float* color matrix (returns 0 when avg alpha of [0xb],[0x10],[0x15],[0x1a] is 0), builds 4 vertices and draws with KAGE_ColorShader; called right after render_quad_set_uniform_color in 008128f0, also 0042dbb0, 0094ef10
0083ac20 HUD::render_extra_hud ? called from HUD::Render under Minimap::GetDisplayedSize with bool mini (icon size 32 or 16, 2 or 1 columns); iterates two vectors (+8/+0xc, +0x1c/+0x20, stride 0x28) of collected item ids, special-cases 0x279 (Dogma), render_quad_set_rect + render_color_shader_pass
009704a0 Entity_Laser::update_first_frame ? called from Entity_Laser::Update in the two first-frame paths (then +0x45c=0); variant 4 (Tech X ring) sets end point 300 units, else direction from angle +0x41c, FUN_0097f820, GetGridCollision, update_laser, UpdateHits, PlayInitSound, ClearLaserSamples
0099e360 HomingLaser::CalculateSamples REPENTOGON name HomingLaser::CalculateSamples(float<xmm1>): this=HomingLaser (_bezier vector at 0x48/0x4c stride 0x18, _sampleNum +0x18, +0x44), "Bezier Path Size is less than 2!", in_XMM1 arg; called from Entity_Laser::update_laser and UpdateHits
009a12b0 HomingLaser::find_targets ? this=HomingLaser (_samples +0x1c/+0x20), args (pos, dir, ..., flag): EntityList::QuerySublist, Entity::IsDescendantOf/GetPlayerAncestor, bezier_closest_point 0099c340; called from Entity_Laser::update_laser
0099c430 bezier_closest_point pure math: samples a cubic Bezier (p0=EDX, p1=EDX+4, p2=param_1, p3=param_1+2) in 5 steps and tracks the closest point/distance to ECX point; callers Entity_Knife::Update, 0099c790, HomingLaser 009a0850
00757ac0 Entity_Player::release_weapons_and_effects ? destroys 5 Weapon objects at +0x13dc..+0x13ec (vtable+0x14 then deleting dtor; GetWeapon slots 1-5) and nulls entity refs +0x1420..+0x142c (Remove via vtable+0x28 when arg true); callers PlayerManager::RemoveCoPlayer(1), greed reset 007db3b0, 009bee80, dtor thunk 00757a40
007db3b0 Game::reset_players_for_greed ? called from Level::generate_greed; for each familiar (type 3) owned by player: Remove; Entity_Player::release_weapons_and_effects, SetControllerIndex, ResetPlayer
00820fd0 Room::render_water ? this=Room (ESI=ECX): early-out unless _waterAmount (+0x7240)>0 and option Manager+0x2a3c9; renders screen-size pass with _floorColor +0x72a4, backdrop 0x2d special, KAGE_ColorTextureShader, RenderTarget push/pop; last call of 0080ea80 (Room render stage)
00738ab0 Level::place_room own log strings "Level::place_room data is NULL!", "[Level] place_room: invalid room pos/size", "Could not place room, limit of %d exceeded!"; args (RoomConfig_Room*, LevelGenerator_Room*, seed, ...); LevelGenerator::get_room_placement_offsets, GetRoomDescriptorsOffsetsArrayForDimension; 5 callers in level generation
004cde30 Entity_NPC::update_physics ? called from Entity_NPC::Update: copies +0x3f0..+0x3f8 from child (+0x3c0) else apply_velocity 004ce120(0) + 004ce6d0, then Entity::Update and syncs child position/velocity
004ce120 Entity_NPC::apply_velocity ? arg bool half-step (also called from Entity_NPC::Interpolate with 1): velocity*friction (+0x36c/+0x368), speed clamp 40 (variant 10 state 4 bonus), door TryBlowOpen/Open when charging through, Game room bounds
00576450 NpcHelper::raglich_slam_spawn_grid ? called from NpcAI::ENTITY_RAGLICH: when arm state ==1 sets friction 0.5, velocity to target, ShakeScreen(14), Game::BombDamage, SpawnParticles, new GridEntity + GridEntity::Init at landing index ("SpawnGridEntity: Grid index invalid")
00565680 Entity_NPC::render_v1_layer_frames ? called once from Entity_NPC::Render: picks layer frames from V1 (+0xbb0) range 0..4 vs >4, AnimationState::AdvanceLayerPosition, "LayerId out of bounds"
009dfc90 glitched_collectible_render_gfx ? called from ItemPool::CreateGlitchedCollectible: Manager::LoadImage "gfx/promo/gfuel/ui/death items.png" (!), SetRenderTarget, shader_cache_find, render_quad_set_rect, pop_render_target: composes the glitched item sprite
00633500 Entity_Familiar::update_angry_fly own log "[err] Angry Fly - Got a null target!"; called from Entity_Familiar::Update; QuerySublist for IsVulnerableEnemy target, orbit math (sin/cos/fmodf)
007f2390 Room::update_bounds ? this=Room: if _descriptor->_data has [0]==0x23 && [2]==0x10 use fixed bounds (-49.2,72.3)-(689.2,487.7) else from _gridWidth/_gridHeight (+0xc/+0x10) into _topLeftPos/_bottomRightPos (+0x14..+0x20); arg bool; called from NpcAI::ENTITY_MOTHER (bottom wall change)
008020d0 Room::update_deaths_list Room::Update helper: FirstCollectibleOwner(0x212 Deaths List), +0x1bb8/+0x1bbc state, picks next vulnerable enemy (not 802 Blood Puppy, follows parent chain, DoesEntityShareStatus) and marks it with effect 1000.109, spawns reward pickup 5.x at FindFreePickupSpawnPosition
006f2a10 EntityFactory::constructor Game::constructor stores its result in Game+0x26580 _entityFactory; eh_vector_constructor_iterator over pools: 0x400 Entity_Effect (0x4c0), 0x40 Entity_Familiar (0xf48), 0x40 of 0x9d8 (006a1e80 ctor), 0x200 Entity_Projectile (0x478), ... with count ints after each pool
004b7ee0 NpcHelper::hornfel_pick_spawn ? called from NpcHelper::hornfel_attack: builds (id,weight) outcome list (id 8 gets +3), WeightedOutcomePicker::PickOutcome, Game::Spawn the picked entity
00572cc0 NpcHelper::clutch_spawn_fire ? called from NpcAI::ENTITY_CLUTCH with the target NPC: sets its flag |0x10, Game::Spawn(33,13 ...) fireplace variant 13 at target pos, loads "gfx/009.002_Fire Projectile.anm2", plays "Flickering", EntityRef parent
00650220 Entity_Familiar::predict_player_movement ? called from Entity_Familiar::FollowParent: player (+0x410) movement joystick (normalized), input_is_action_pressed(0xb), NPCAI_Pathfinder::SimulatePlayerMovement, Room::GetClampedPositionImpl: predicted follow target
00708630 Game::update_trapdoor_loop_sfx ? Game::Update helper: skips states 2/3 and stages 9/0xd; in boss room (type 5) with room data [4]==0x58 or 0x37 finds GRID_TRAPDOOR (17) position, SoundEffects::Play looping sound, SFXManager::AdjustVolume(0x3f0, by distance), Stop/IsPlaying; Level::GetRoomByIdx
009e3560 room_grid_flood_fill ? this holds Room* (uses _gridWidth/_gridHeight): BitSet of 448 grid bits (memset 0x38) seeded with param_1 index, allocates a std::list, iterative fill; returns bool; callers Entity_NPC::HandleCollision and 004b70c0
0060b0d0 Entity_Effect::update_variant178_shooter ? Entity_Effect variant switch case 0xb2 (178) calls it with 1: effect follows parent (+0x3bc), approach_angle/fmodf toward parent angle (+0x474) into +0xec, anims Up/Down/Left/Right/Idle/Shoot/ShootBegin/ShootLoop/ShootEnd (shared with Mother 2 / Mothers Shadow); Remove when parentless
008f74c0 Game::render_mod_shaders ? called near the end of Game::Render (after 009c3890(2)): builds LuaRef (00865490) from mod shader entries, LuaRef::push params (MC_GET_SHADER_PARAMS style), render target push/pop, render_quad_set_uniform_color, memcpy uniforms
008ce430 Menu_CustomChallenge::Render ? placed right after Menu_CustomChallenge::Update (008ce080) and in the menu render list 0098a040; REPENTOGON sig prologue "558bec6aff68..64a1..50 81ecb4000000" matches ours except frame 0xc4; renders "%d.%s" entries, random torn "Piece%d" layers, "Bottom", "Cursor"
0072e640 playerforms_xml_load parses playerforms.xml ("Could not find root node playerforms", "Player Form ID %d out of range", attrs cache/costume) via FileSystem::Open; called from content loader 00952df0
009d16ee Entity_Player::restore_save_state_part2 Ghidra split chunk (odd address) called only from 009d05d0 (player restore from save state: "Invalid player type", "Invalid voided active item"); this chunk restores costumes/familiars/history/pocket items/temporary effects with "[warn] Invalid ... Save file %s might be corrupt" logs; EntitySaveState::copy
009b5320 PauseScreen::constructor Game::constructor step 0x1e (Game+0x2363c _pauseScreen); constructs ANM2s at +0x2c mainsprite, +0x140 minisprite, +0x254 statssprite, +0x368 mystuffminispritebase, +0x47c, zeroes +0x590..+0x5ac: matches REPENTOGON PauseScreen layout
009948f0 FXLayers::Render this=FXLayers: +0x8 _loaded gate, _fxLayers vector +0x18/+0x1c (stride 0x4c, [0x2c]==1 -> BlendMode::SetMode + FUN_00994120 draw), _poopFxCountdown +0x34 fade (150 in / 30 out), poop fx array +0x44 count +0x50 with flip bytes, KAGE_ColorTextureShader, Seeds forced/prevented curses; Beast room (backdrop 0x39, entity 1000.166.951) special; called from Room::Render
0084ad40 PlayerHUD::render_deathmatch_health_bar ? called from hearts render 00843df0 only when Game current room idx (+0x18304) == -0x13 ROOM_DEATHMATCH_IDX; this=PlayerHUD (player at [0], skip if player+0x20a9), Manager::LoadImage gfx/ui/ui_isaachealthbar.png, sums red/soul/black/golden/bone/rotten hearts (0x1340,0x134c,0x1350,0x194c,0x1d88,0x1da4) capped 0x50
00848d20 PlayerHUD::render_tainted_isaac_items ? called from HUD sub-render 009a6fe0 only when player type 0x15 (Tainted Isaac); 8 slots or 12 with HasCollectible(0x26b Birthright), inventory vector +0x6a0 stride 0xc, 12px grid, AnimationLayer::RenderFrame item icons
00ad9fc0 jpeg_idct_16x16 libjpeg jidctint.c (cinfo, compptr, coef_block, output_buf, output_col): 8-column pass into 8x16 workspace, constants 0x29cf FIX_1_306562965, 0x1151 FIX_0_541196100, 0x8d4 FIX_0_275899379, 0x2c63 FIX_1_387039845, 0x1ccd FIX_0_899976223, 0x5203 FIX_2_562915447, 0x133e FIX_0_601344887, 0x1050 FIX_0_509795579
00aa38a0 inverse_mdct stb_vorbis (KAGE ogg.cpp): (vorb* f, int blocktype) with buffer in ECX, n in EDX; n>>1,>>2,>>3 strides, f->A[blocktype] twiddles at f+0x43c, temp_alloc via f+0x60/0x68/0x6c; caller 00aa44d0 = vorbis_decode_packet_rest
00a97730 png_init_read_transformations ? libpng pngrtran.c: png_ptr->transformations (+0x68) & PNG_EXPAND(0x100), color_type (+0x11e)==PALETTE(3) copies palette[trans] into trans_color (+0x132..0x136), gamma tables via pow (FUN_00a9ae80); called from 00ab33f0 (png_read_update_info/start_read_image, "Out of Memory")
006b9c10 anm2_resolve_spritesheet_path ? args (std::string* a, std::string* b, bool* outFound) + EDX base path: when both empty clears the flag, else joins strings, ModManager::TryRedirectPath; result fed to Sprite::ReplaceSpritesheet in Entity_NPC::load_graphics, also Menu_Character::ChangeCharacterPage and Menu_Bestiary::LoadPreview
0078b640 Entity_Player::Render virtual: Entity::Render then RenderBody/RenderHead/RenderTop/RenderGlow, IsHeadless/IsHologram/IsInvisible/IsFullSpriteRendering, _Overlay layers, IsIdxLocalPlayer
009d45c0 GameState::write_player ? GameState::write calls it per player (count game+0x19d78) and for the 4 0x5dc-byte records at game+0x1cc5c; writes fields via stream vfn 0x1c plus the checksum accumulator FUN_00683410; also from write_rerun
006998d0 EntityConfig::load_players_xml players.xml: "Could not find root node players", attributes name/skinColor/costume/pocketActive/birthright/bSkinParent; callers Game::ReloadStagesXmlOnLuaReset and the resource loaders
0072cff0 ItemConfig::load_pocketitems_xml pocketitems.xml: root pocketitems, nodes tarot/tarot_reverse/pilleffect, "Card ID %d out of range", mimiccharge/announcer attributes
00727430 ItemConfig::load_costumes_xml costumes2.xml: "Could not find root node costumes", anm2root/fxroot/priority/hasOverlay/isFlying/forceBodyColor/skinColor attributes
008471c0 PlayerHUD::RenderPocketItems this[0]=player this[1]=HUD; PocketItems/CardFronts/HUDSmall anims, #QUESTION_MARKS_NAME via PocketItemConfig::GetName and ItemPool::GetPillEffect, string_scramble_seeded; REPENTOGON asm RenderPocketItemPillIdentifiedCheck lives here
00849510 PlayerHUD::RenderCraftingTable REPENTOGON PlayerHUD::RenderCraftingTable(Vector* pos, float scale<xmm2>): "Result" anim, Game._challenge==43 Cantripped shows min(GetCollectibleNum(251 Starter Deck)+3,20) slots; called once from RenderPocketItems
0069c420 load_bossportraits_xml ? bossportraits.xml: root bosses, attributes portrait/nameimage/pivotY/stage/alt/achievement; called from the resource loader 00952df0 (same loader as players.xml); fills EntityConfig._bosses-like vector
009abe70 load_giantbook_xml ? giantbook.xml: root giantbook, anm2root attribute, entry/layer nodes; path redirected by ModManager::TryRedirectPath in Game::LoadConfigXmls; this[0x467] = entry count
0072a1b0 ItemConfig::load_wisps_xml wisps.xml: "Could not find root node wisps", color attribute, "Collectible ID out of bounds"; same loader group as costumes2/pocketitems
00471cc0 NpcAI::ENTITY_GEMINI_baby dispatcher case after MOMS_HEART (type 79 Gemini) for variant 10..19 (Contusion/Suture/Blighted Ovum babies): Shoot/Walk01, ParentNPC, FireProjectiles, Entity_Laser::ShootAngle; variant<10 goes to FUN_00471050
00567d50 NpcAI::ENTITY_MOTHER_ball_burst the 912.100 ball pops: called by ENTITY_MOTHER and the ball AI when npc+0xbec is 912.100; sound 0x1c, spawn_blood_explosion, ShakeScreen(10), spawn_gibs, spawn_small_maggot
00716db0 spawn_poop_rewards (seed, x, variant<EDX>, ...): Dirty Mind 576 owner spawns dips (spawn_dip_at), trinkets 2/22/24 owners roll 5.10 heart / 5.20 coin / 5.350 trinket; called by ENTITY_POOP, Entity::DestroyRockGridAt, GridEntity_Poop::Hurt
009bac40 PlayerManager::handle_coop_join ? this=PlayerManager (players vector at +0/+4): "Joining as possessor", SpawnCoPlayer2/RemoveCoPlayer/CoopBabiesOnly, HUD::AssignPlayerHUDs, SetControllerIndex, InitPostLevelInitStats; from the per-frame manager update 006fa540
00a01020 Weapon_Brimstone::fire_hitscan ? called 5x from Weapon_Brimstone::Fire with a direction: Capsule::Collide sweep over EntityList::QueryRadius, GetTearHitParams(2,...), AddBrimstoneMark, AddKnockback, BombDamage; PlayerType 28 Tainted Azazel + Birthright 619 branch; returns hit flag. Caller NPCAI_Pathfinder::MoveRandomlyAxisAligned (00a02890, weapon code region) is misnamed
0096ae70 Entity_Knife::apply_hit_effects ? (pos, Entity target, targetPos, size, damage, 0, 0, isFlying) from Entity_Knife::HandleCollision after ApplyTearFlagEffects: Bone Club (GetBaseVariant==1) bomb tear flags -> BombTearflagEffects/BombDamage, gfx/tears_brokenbone.png shards, Game::Spawn
00436330 Entity_Familiar::WispInit REPENTOGON Entity_Familiar::WispInit: variant 206 WISP / 237 ITEM_WISP (Lemegeton 712 -> +0xf20), subtype switch applies Map/Compass/BlueMap effects, ItemConfig::get_wisp_config spritesheet + hsv_to_rgb color, UpdateFamiliarCounts; callers are the wisp spawners 0043d7f0/0043e990
0062aab0 Entity_Familiar::TriggerRoomClear REPENTOGON Entity_Familiar::TriggerRoomClear: called per familiar from Entity_Player::TriggerRoomClear (familiar+0x410 player == this); spawns blue spiders, cards via ItemPool::GetCardEx, wisps via GetRandomWisp+0043d7f0, FindFreePickupSpawnPosition
00a27038 StringTable::load_xml ? stringtable XML: nodes stringtable/languages/language/category/string with id/key/name attributes; no direct callers (REPENTOGON StringTable::Load(fileName) is the public entry)
00924440 OptionsConfig::Load REPENTOGON OptionsConfig::Load(path): reads options.ini keys (Fullscreen, MusicVolume, EnableMods, AcceptedPublicBeta_%s, OnlineInputDelay ...), calls OptionsConfig::Save; from 00952410
00a8e530 VideoClip_Theora::readTheoraVorbisHeaders theoraplayer VideoClip_Theora.cpp _readTheoraVorbisHeaders: "Error parsing Theora stream headers!", "Invalid theora stream!", "End of file found prematurely!"
00a7f340 glfw_choosePixelFormatWGL GLFW 3.4 wgl_context.c choosePixelFormatWGL: "WGL: Failed to retrieve pixel format attributes", "WGL: The driver does not appear to support OpenGL", "WGL: Failed to find a suitable pixel format"; calls _glfwInputError 00a69f60
00a69f60 _glfwInputError GLFW init.c _glfwInputError(code, format,...): builds "The GLFW library is not initialized" for 0x10001, "A platform-specific error occurred" ...; win32_thread.c path string nearby
007d35b0 Entity_Player::try_end_astral_projection ? bool; flag player+0x1519 (projecting) or manager float: RemoveCostume, poof 1000.16 + 1000.111 effects, Teleport back to the body entity (player+0x1eac ptr pos), try_trigger_astral_projection, "Death"/GetDeathAnimName extra anim; in take_damage_impl a true return negates the hit, also called at TriggerRoomClear start
009bee80 PlayerManager::replace_player ? (oldPlayer, newPlayer) this=PlayerManager players vector: swaps the entry, re-links _otherTwin 0x1e68/0x1e6c and 0x1d9c refs, GameStatePlayer::Init(+0x20ec), EntityList::AddEntity, EvaluateItems, InitPostLevelInitStats, HUD::AssignPlayerHUDs, RemoveStatusEffects; caller 007ac7e0 "Entity_Player::DischargeActiveItem" is a player-type change routine, misnamed
00694680 EntityConfig::parse_entity_tags ? entities2.xml tags attribute -> flag bits: static strings brimstone_soul/explosive_soul/homing_soul/ghost/spider/cansacrifice/nodelirium/noreroll, "invalid tag: %s"; called once from the entities2.xml loader 006950c0
00a73e00 netplay_lobby_host_handle_message ? virtual (no callers): dispatches consolidated lobby messages by 4cc "lhcj"/"lhnj"/"lhrj"/"lhum"/"lhwm", "This function should only be called on consolidated messages", RTTI casts to KAGE::Network message types
005ae840 NpcAI::ENTITY_WORMWOOD_segment_follow ? called once from ENTITY_WORMWOOD_main: segment follows the parent (npc+0x3bc) recorded path deque (+0xc04..+0xc24) using +0xbb0/+0xbb4 (V1) progress, sets velocity +0x360/+0x364
00402390 init_controller_button_glyph_tables ? 17KB of stack-built int tables copied into DAT_00c5a908 (58 ints) and DAT_00c5a9f0 (32 ints): (button index, 0xabab..0xabb6 PUA glyph codepoint) pairs per controller layout; no callees, no other references to the tables
009c8d20 GameState::write_room (GameStateRoomConfig* at +0x17c68, RoomDescriptor* at +0x1a0, stream): GameState::write loops _roomCount times with stride 0x2e0; writes shorts via stream vfn 0x1c plus checksum FUN_00683410
009d71b0 GameState::read_record ? no callers; stream vfn 0x14 (read) into this[0..0x10] plus vector loops (this[0xb]) via FUN_0069ee50, checksum FUN_00683410; counterpart of a GameState::write_* (FUN_009d8660 shared with 009e54d0/009e5710/009e5a30)
00422830 BossPool::GetBossId REPENTOGON BossPool::GetBossId(leveltype, levelvariant, rng): this indexed by RoomConfig::GetStageID*0x3c (BossPool_Pool[37]), PersistentGameData::Unlocked / Game::GetStateFlag filters, "Failed to pick a boss room variant, defaulting to Monstro"; callers Level::TryInitializeExtraBossRoom, 0074fbe0
007efa50 Room::on_leave ? Level::ChangeRoom and 006f9000 call it on the current Room: ShopRestockPartial when +0x706c timer, pending SpawnClearAward (_roomClearDelay 1..8 and descriptor flag), IsGreedMode, Entity_Pickup::CanFlip + EntitySaveState::copy of pickups
0067d560 Entity_Tear::try_make_bridges ? bool; from Entity_Tear::Update for tears without the masked flags (or 1-in-N random): walks the tear path vector (+0x178/+0x17c, 8-byte entries) against room grid entries, Room::TryMakeBridge, set<int> of touched indices
00666d40 Entity_Tear::play_fire_sound Entity_Tear::Update when +0x46a pending flag: skips variants 9/40/46, variant 50 -> sound 0xed, else 0x99 SOUND_TEARS_FIRE (pitch 1.2 for variants 13/23 with seed effect 0x4f)
0062b750 Entity_Familiar::trigger_player_damage ? (damageFlags, amount, source) per owned familiar from Entity_Player::take_damage_impl: variant checks, "Crack" anim + Game::SpawnEx (Mystery Egg style), sound, FindFreePickupSpawnPosition, +0xd80/+0xd88 counters, flags & 0x10200020 excluded
0061bd50 Entity_Familiar::ai_daddy_longlegs Entity_Familiar::Update case variant 16: StompArm/StompLeg anims (shared only with NpcAI::ENTITY_DADDYLONGLEGS), PickEnemyTarget, ANM2::GetFrame
00640ca0 Entity_Familiar::ai_boiled_baby ? Entity_Familiar::Update case variant 200: "Shoot" event, PickEnemyTarget, Entity_Familiar::FireProjectile toward target, Room::CheckLine, FindFreePickupSpawnPosition; reads owner +0x150c/+0x1510 list
00632d90 Entity_Familiar::ai_variant_111 ? Entity_Familiar::Update case variant 111: wanders to Room::GetRandomPosition, vector<Vector> path, GridEntity::IsBreakableRock, LerpAngleDeg, Level::GetRoomByIdx on grid +0x394, sounds
00615d80 Entity_Familiar::ai_blue_fly Entity_Familiar::Update case variant 43 BLUE_FLY: GetOrbitPosition/RecalculateOrbitOffset/get_orbit_parent orbit then PickEnemyTarget attack
0061c150 Entity_Familiar::ai_orbital_variant_50 ? Entity_Familiar::Update case variant 50: GetOrbitPosition/RecalculateOrbitOffset orbit, PickEnemyTarget, FUN_00652210 (set insert)
0049cd90 NpcAI::ENTITY_CHIMERA_head_update ? once from ENTITY_CHIMERA_body for variant 0: HeadIdle/HeadCharge/HeadAttack overlay anims, "Shoot" event spawns small maggots / Game::Spawn toward GetPlayerTarget, Entity_Effect::FollowParent
004a6240 NpcHelper::delirium_remove_minions (type<ECX>, variant<EDX>, self, other): Entity::Remove (vfn 0x28) every room NPC that is not self/alive-check and matches type.variant or other type.variant; type 0x4f (Fistula) also removes the QuerySublist entries; from ENTITY_DELIRIUM morph
0074beb0 Level::init_rotgut_dungeon_room ? this=Level (stage type +4 is 4/5, RNG +0x182d4..): RoomConfig::GetRandomRoom into the RoomDescriptor at level+0x175d4 (+0x5d75*4) guarded by +0x1830c<3, Seeds::Init3; called once from NpcAI::ENTITY_ROTGUT_face (ROOM_ROTGUT_DUNGEON)
009997c0 DeathScreen::Show ? called once from Game::End: this[0]=2 state, +0x11c=1, loads gfx/ui/Death Screen.anm2 and gfx/ui/DeedsDeathScreen.anm2, "Diary" anim, logs "Game Over. Killed by (%d.%d) spawned by (%d.%d) damage flags (%d)"
007f96f0 get_angel_room_chance ? FirstCollectibleOwner of 238/239 Key Pieces, 584 Book of Virtues, 601, 499 Eucharist and game flag 0x20 -> angel room chance; callers Level::InitializeDevilAngelRoom, StatHUD::RecomputeStats (Found HUD chance), 0084cc40
007c3a60 Entity_Player::preload_item_sounds once from Entity_Player::room_enter: HasCollectible/HasTrinket chains then "Preload sound %d." per owned item
009ecdd0 Menu_Stats::Render right after Menu_Stats::Update 009ecbc0, rendered in the menu manager render sequence 0098a040; "%d/%d" counters via Font::DrawString, render_color_shader_pass
00736c30 ItemPool::on_pill_used ? this=ItemPool: clears byte this[0x7e0 + (pillColor & 0x7ff)], bitset over collectible count (manager+0x2a434 vector) with FUN_0041d1b0/FUN_00423290 RNG, vector<int> result; called once from Entity_Player::UsePill with (pillColor, seed, rng*)
009321c0 Backdrop::constructor ? once from Room::constructor on room+0x1bc8: zeroes smart pointers +0x10..+0x28, ANM2::constructor, creates "Floor Surface", "Floor Surface 2", "Wall Surface", "Temp Backdrop Surface" render buffers (REPENTOGON Backdrop fields floorBuffer/wallsBuffer/floorSurface2/tempBackdropSurface)
007d3e40 Entity_Player::fire_saturnus_tears once from Entity_Player::room_enter under HasCollectible(595 Saturnus): ring of Entity_Player::FireTear with SetTearFlags, sin/cos spread
008ca2c0 CompletionWidget::Load ? once from Game::LoadConfigXmls after ScoreSheet::LoadAnm2: this[0]=0, ANM2::Load(this+4, "gfx/ui/DeedsMenu.anm2"), "PlayerCharacter" anim; REPENTOGON CompletionWidget has Render/Update
00821950 Room::render_water_shader ? Room::Render else-branch: shader_cache_find + uniforms ColorMul/CurrentDir/PixelationAmount/TextureSize from room +0x1b30..+0x1b54 and rect +0x6ae0..+0x6aec, render_quad_set_rect
00678080 Entity_Tear::fire_split_projectiles ? Entity_Tear::Update when (flags & mask) nonzero: spawns child projectiles matching the owner weapon: FireTechLaser/FireTechXLaser/FireDelayedBrimstone/FireBomb or SpawnEx tears with SetTearFlags/ResetSpriteScale, sin/cos spread
008dce10 Menu_OnlineLobbyList::Update ? MenuManager::Update (009897d0) case 0x12: "Unhandled scope type (%d) in Menu Lobby List", KAGE::Network::Multiplayer::LobbyImplBase casts, FUN_008de3a0/008de690 list entries; its render is 008ddae0 (#LOADING, ArrowUp/Down)
008e8240 Menu_OnlineLobby::Update MenuManager::Update case 0x11: #Online/MATCH_ENDED, NO_CONNECTION_TO_HOST; render 008e8af0 (GAME_STARTING_COUNTDOWN, RUN_STARTING)
008ead10 Menu_OnlineLobby::update_controls ? once from Menu_OnlineLobby::Update: input callbacks via vftable 00c57b18 slot 0x74, CONFIRM_LEAVE_LOBBY prompt, "Attempting to create a message when there is no multiplayer service", toggles this+0x6b8/+0x6bc/+0x6c0 chat state
008e4b10 Menu_Online::Update MenuManager::Update case 0x13: Cursor, "Daily Run"/"Friend Match"/"Options" entries; render 008e4e30 (#Online/ONLINE_DAILY_DESCRIPTOR ...)
008e3830 Menu_Mods::Update MenuManager::Update case 0x10 (MainMenuType MODS): WidgetTab, "/disable.it"
008d6b30 Menu_Collection::render_item_pool_icons ? once from the collection detail renderer 008d5440 (CollectibleTitle/CollectibleDesc/CollectibleItemPools): ItemPool::GetItemPoolsForCollectible then IconShop/IconTreasureRoom/IconBoss/IconDevilRoom/IconAngelRoom/IconPlanetarium... ItemPoolChests anims
008e6a80 Menu_Online::render_descriptions ? in the menu render sequence between the online menus; string_table_translate(manager+0x4a920, key+"_DESC"), "??????" placeholder, DescriptionPos/TextStartPos null frames, Font::DrawStringScaled; this+0x109/+0x70 flags
0091d2b0 OnlineChat::render ? sprintf "%s:" name prefix lines, KAGE_ColorShader via FUN_00a140c0, Entity_Familiar::GetPlayerSlot for colors; caller 0091e650 used by the lobby render 008e8af0 and HUD 0090b900
00906260 SaveSlotManager::constructor ? constructs a ~0x1c90-byte object: PersistentGameData at +0x5c, ANM2s at +0x10b4/+0x18e4/+0x1a18, KColor; called once from the manager constructor 00950610 (writes manager+0x4b3bc..)
0091a450 load_persistent_game_data_buffer ? (buffer): temp PersistentGameData::constructor then parses the save buffer with FUN_0091b0f0/FUN_0091b960, "Attempting to retrieve read-only buffer in a writable mode", set<int> lookups; from 0090c560
007508c0 Level::generate_random_layout ? no callers; this=Level (RNG +0x182d4, start index +0x182d0 = y*13+x): RoomDescriptor::Init, GetRoomByStageTypeAndVariant(cfg,0,1,2) start room, loops FUN_0074fbe0 until a room is placed, random shape 1..11 pairs validated by FUN_009b0180, LevelGenerator::CreateRoom, then GetRandomRoom type 3 Error and 0x16 Black Market into the off-grid descriptors +0x16d44/+0x17024 (+0x5b51/+0x5c09 *4), Seeds::Init3
0074fbe0 Level::try_place_random_room ? bool; only caller 007508c0 loops it until true: picks shape/type (skips types 2/7/3/5), bitset<13> checks, BossPool::GetBossId for boss rooms, uses the mod manager room list (manager+0x2a410) size >= 0x70
004d64f0 NpcAI::ENTITY_MOMS_HEART_mausoleum_death ? once from ENTITY_MOMS_HEART when stage type 4/5 (Mausoleum/Gehenna), room idx -10 and not friendly: ShakeScreen(50), sound, writes a room descriptor entry (level +0x29fbc index * 0x184 + 0x2a13c), FUN_004d7530 + EntitySaveState::copy of room entities, Game::UpdateVisibility (opens the path to Corpse)
0071b410 GridEntity_Rock::SpawnDrops zhl SpawnDrops(pos<ecx>,type<edx>,variant,seed,unk,backdrop); "Unknown alt rock type"; called from GridEntity_Rock::Destroy and Entity::DestroyRockGridAt
00725570 ItemConfig::Load zhl Load(xmlpath, modentry); parses items.xml root "items", "ItemConfig: unknown item type"; this=ItemConfig vectors
00842230 PlayerHUD::Update zhl PlayerHUD::Update; loads gfx/ui/hud_*.png active item overrides, Costume pngs; called from HUD::PostUpdate
007cfba0 Game::render_debug_player_info debug text overlay from Game::Render: "Player items","Player effects","History","Hearts: %d(%d rotten)"
004ae4d0 NpcAI::ENTITY_DOGMA_angel dispatcher case type 950 variant 2; strs NukeStart/NukeLoop/RingLoop/SpreadAttack/Fizzle (Dogma phase-2 angel form)
005983f0 NpcAI::ENTITY_POLYCEPHALUS_the_pile called from NpcAI::ENTITY_POLYCEPHALUS when npc->_variant==1 (The Pile); strs GoUnder/ComeUp/DirtShrink/Summon
00709fb0 GridEntity::hurt_func zhl hurt_func(Entity*,DamageAmount<xmm2>,PlayerDamage,u64 DamageFlags,bool IgnoreGridCollisionClass); called per entity from GridEntity::hurt_surroundings; sacrifice-room spikes "#YOU_FEEL_BLESSED"/TeleportUp
00a99280 png_do_background libpng pngrtran.c: switch on row_info bit_depth, compares pixels to trans_color and replaces with background; caller 00a98430 is png_do_read_transformations ("png_do_dither returned rowbytes=0")
007d4390 Entity_Player::update_suplex strs LeapUp/LeapDown/SuperLeapUp/SuperLeapDown/HideItem; uses _suplexState (0x1f2c here, zhl 0x1f1c), ThrowHeldEntity, MakeShockwave, BombDamage, Book of Virtues (0x248) AddWisp; called from player update 0x782af0
005c9930 Entity_Player::trigger_book_of_belial_passive requires HasCollectible(0x3b BOOK_OF_BELIAL_PASSIVE, Judas birthright); switch on used active id adds bonus effects (Necronomicon via UseActiveItem(0x23), AddNullEffect, AddMidasFreeze); called from active_used_post right after TriggerBookOfVirtues
0092d140 SFXManager::load_xml parses sounds.xml ("sounds"/"sound"/"sample"/"weight"), "Sound Effect %d out of bounds! Update NUM_SOUND_EFFECTS", calls SoundEffect::Load; called from manager config loader 0x952df0 and mod loader 0x8f30d0
0095cc00 Cutscene::load_xml parses cutscenes.xml ("cutscenes"/"cutscene"/"anm2part"/"videopart"/"letterbox"/"subtitles"), builds CutsceneEntry array (CutsceneEntry::Destructor callee); called from manager config loader 0x952df0
004477b0 NpcAI::ENTITY_BEAST_ultra_pestilence dispatcher case type 951 sub-switch variant 0x14 (20 = Ultra Pestilence); strs HeadlessIdle/HeadlessSpit/HorseSpit/MaggotAttack, spawn_small_maggot
0044aad0 NpcAI::ENTITY_BEAST_ultra_pestilence_fly_ball ? dispatcher case type 951 sub-switch variant 0x17 (23 = Ultra Pestilence Fly Ball); no anm strings, AddBurn/SpawnEx/CalcTargetPosition
0074de30 Game::generate_home_level this=Game (_generationRNG 0x182d4); fixed 6-room layout via LevelGenerator::CreateRoom then RoomConfig::GetRandomRoom(stage 0x23=Home, types 1/5/4/5/1/2) and GetRoomByStageTypeAndVariant(0x23,0x10,0x29a)
00920940 NightmareScene::Render zhl declares NightmareScene::Render; called from manager render switch for state 5 (STATE_NIGHTMARE); anims Levels/Connector/ClearFloor/BossIndicator/IsaacIndicator/Clock sit next to NightmareScene::Show strings
006174c0 Entity_Familiar::ai_charger Entity_Familiar::Update cases 3/0x19/0x3b/0x68/0x82/0xd5/0xd6/0xdf/0xe8 (Little Chubby, Bobs Brain, Big Chubby, Jaw Bone, Knife Piece 1/2, Knife Full, Lil Portal per CheckFamiliar item ids); anims Float*/Hit*/Throw/Touched/Charge3
00644e80 Entity_Familiar::ai_shadow_intruder_damocles Entity_Familiar::Update cases 0x83/200/0xc9/0xca (My Shadow 433, Intruder 575, Damocles 656 per CheckFamiliar); RemoveCollectible(0x290 DAMOCLES_PASSIVE), SwapANM2, inlined Game::Spawn
00734f30 ItemPool::Init zhl Init(seed, filename); this=ItemPool, stores seed at +0 and +0x654, RNG shift consts, calls shuffle_pools/ResetTrinkets; caller 0x6f8140 is the run start ("RNG Start Seed", "itempools.xml")
0075b540 costume_path_apply_skin_color free fn (out,path,-1,playerType,..): finds "costumes" in path and appends _black/_blue/_green/_grey/_white skin suffix, ModManager::TryRedirectPath; callers UpdateCostumes/update_player_skin
00911120 NetplayManager::update_player_removal ? handles eRemoveMessageType::MSG_REMOVE_FRAME, IsPlayerRemoveConfirmed, "YOU WERE KICKED"; this holds vectors of pending removals; called from lobby update 0x90b150
005b23f0 Entity_Player::use_card_hagalaz UseCard case 0x20 (CARD_RUNE_HAGALAZ; case 0x1f is Joker, 0x21 Jera); walks room grid calling Destroy on every non-door grid entity, morphs rock NPCs (type 0x13 variants 2/3 etc.) via Entity_NPC::Morph, ItemOverlay::Show(0x14)
00528ec0 NpcHelper::migraine_timer_spawn ? NpcAI::ENTITY_SPIDER passes 0x528ec0 as the callback of Entity_Effect::CreateTimer(interval 4, 3 times) for type 0x365 (Migraine); callback(Entity*) spawns around the entity pos (inlined Game::Spawn)
004b70c0 NpcHelper::hornfel_spawn_doors ? spawns ENTITY_HORNFEL_DOOR (0x3c7) at sin/cos offsets 3 times; caller 0x4bc460 sits in the Hornfel helper block next to NpcHelper::hornfel_get_rail_direction
008588f0 Leaderboard::render_daily_score_breakdown draws #DAILY_RUN_*_BONUS/_PENALTY/_TOTAL lines and %d:%02d:%02d time with Font::DrawString; in the Leaderboard block (Leaderboard::Show 0x8580e0), caller 0x858050 is reached from Game::Render and the menu renderer
00a671b0 render_quad_draw KAGE renderer: takes (color/settings*, quad from render_quad_set_rect, flags) with ECX = quad renderer; builds vertices per attribute format (cases 1-8, "Unknown attribute format specified"), divides UVs by texture size at this+8 (+0x10/+0x14); callers Entity::PostRender, HUD, debug overlay
009cb620 GameState::read_player ? this=GameState (_saveFile at +0x1fe24, version at +0x1fdf0); deserializes a GameStatePlayer record (player type as short, 8-int block at +0x1c, flags +0x44) via GameStateIO vtable slot 5 and checksums each field with the hash helper 0x683410 like GameState::write
00723f20 ItemConfig::parse_cache_flags static string->CacheFlag table (color/damage/familiars/firedelay/flying/pickupvision/range/shotspeed/speed/tearcolor/tearflag/weapon, _Init_thread_header); called from ItemConfig::Load right after reading the "cache" attribute
0042dbb0 DebugRenderer::Render Game::Render calls it with ECX=Game+0x6772c, the same list head/count (+0x6772c/+0x67730) DebugRenderer::Get walks and Game::Update expires by timeout; draws each entry (vector<Vector> points, UTF-16 text with 0xfff9/0xfffa/0xfffd tokens) with Font::DrawString/render_color_quad relative to the room render offset
006f3060 Game::~Game no callers; destroys members up to this+0x6778c (DebugRenderer list via 0x42f060, ANM2s, Console/HUD sub-objects); next to Game::Update/Render
0081f130 Room::render_debug_grid_indices called from Room::Render; sprintf_s("%d,%d") per grid cell plus render_color_quad with floor()
00aa2850 stb_vorbis_decode_residue stb_vorbis decode_residue(f, residue_buffers, ch, n, rn, do_not_decode): Residue r = cfg+rn*0x18 with classbook byte at +0xd indexing f->codebooks (f+0x8c, Codebook stride 0x830), (end-begin)/part_size, temp_alloc; region holds stb_vorbis asserts
00616db0 Entity_Familiar::ai_walker Entity_Familiar::Update cases 0x2b-0x2f/0x38/0x46-0x48 (Cube of Meat 3-4, Ball of Bandages 3-4, Leech 0x38 from item 0x10e); anims Attack/Move Down-Hori-Up, WalkHori/WalkVert, PickEnemyTarget + PathFinder::FindGridPath
008e5790 Menu_Online::render_descriptor called from Menu_Online::Render (0x8e4e30, uses _state +0x230) with the translated #Online/ONLINE_*_DESCRIPTOR string; this+0x34 is _anm2._animState, null frame "Descriptor Position"
008df1d0 Menu_OnlineLobby::render_lobby_list sub-render of the online lobby menu 0x8ddae0 (reached from the menu renderer 0x98a040): LobbyList anim, "#Online/IN_LOBBY", "#Online/NO_PUBLIC_LOBBIES", "%d / %d", Loading
008db8f0 Menu_OnlineLobby::render_player_slots ? sub-render of the online lobby menu 0x8ddae0: layers Box10..Box20, Idle/Idle_Daily, BackButton/BackKey
00a1a730 Font::Load zhl Font::Load(path, bool); opens the font file, sprintf page names, builds glyph table; 0x85e470 "KColor::Load" is just Font::Load(path,0) and is misnamed
009ed780 Menu_Stats::load_achievements_xml ? parses achievements.xml ("achievements"/"achievement", TryRedirectPath) into 0x34-byte records at this+0xa4a8 (Menu_Stats is 0xa478 in zhl); caller 0x9ed3c0 is the secrets page (achievements.anm2, SecretsMenuComponents.anm2) next to Menu_Stats::Update
00aba020 theora_oc_dec_frags_recon_mcu_plane ? libtheora decoder internal (region has "Xiph.Org libtheora 1.2.0alpha"); last per-plane call in the frame decoder 0xacebf0, 7 args, per-channel row pointer tables with memcpy, block size 16 default
00ad2c00 theora_oc_dec_dc_unpredict_mcu_plane ? libtheora decoder internal called from the frame decoder 0xacebf0 right before 0xaba020; memsets a plane-sized buffer ((+0x24)/2*4)
0041d670 AfterbirthPersistentGameData::check_header ? validates AB/AB+ save headers CNGSAVE06R/07R/08R, "AfterbirthPersistentGameData wrong file header", "Different number of achievements/challenges/..."; caller 0x92b930 is reached from PersistentGameData::TryImportABLocalSave
00568cc0 NpcHelper::mother_spawn_parts ? called from NpcAI::ENTITY_MOTHER; spawns three ENTITY_MOTHER (0x390) variant 0 children with subtypes 1,2,3 parented to the npc, SetVisibleFlag/SetSize
0052c2f0 NpcAI::ENTITY_VIS_chubber_projectile called from NpcAI::ENTITY_VIS when npc->_variant==0x16 (Chubber projectile); atan2f/normalize_angle_degrees aiming, IsPositionInRoom, ANM2::Play
009036b0 write_desync_dump ? console command handler 0x68cdc0 (reached from Isaac::ExecuteCommand) writes a netplay desync report: "Desync Frame", "Current Frame", "Application Address = 0x%llx", "Could not open file for writing"
006431d0 Entity_Familiar::ai_bot_fly Entity_Familiar::Update case 0xda (variant 218, CheckFamiliar from COLLECTIBLE_BOT_FLY 629) after GetOrbitPosition; anims Attack/Shoot, fires tears via SpawnEx + SetTearFlags + convert_shot_for_enemy_owner
004a2ce0 NpcHelper::colostomia_pick_dive_target ? called from NpcAI::ENTITY_COLOSTOMIA right before playing GoUnder; GetNearestPlayer, Room::GetRandomPosition/FindFreePickupSpawnPosition/GetGridCollision/IsPositionInRoom
0098d560 Minimap::Init ? called from Game::LoadConfigXmls; loads gfx/ui/minimap1/2.anm2, minimap_icons, mapitemicons, hudpickups, minimap_questionmark.png, creates "Minimap Surface" render image
00948fc0 Menu_Character::Reset ? this=Menu_Character (sets Status=0, _DifficultyPageSprite), anims Appear/Disappear/Unlocked/"AB+", Seeds::String2Seed+set_start_seed, DoPageSwap, IsCharacterAvailable; zhl lists Reset() as the only no-arg method left unnamed
009bba30 PlayerManager::enter_level ? this=PlayerManager (player vector at +0); builds co-op spawn offsets relative to player 0 into a global Vector list, Entity_Player::room_enter per player, Game::save_rewind_state, TextureCache::Purge; called from Level::generate_greed and the stage-start routine 0x706020
009e0f60 ProceduralEffect::roll_params ? called from ItemPool::CreateGlitchedCollectible(x, kind, seed); stores first arg at this+0, switch on kind rolls RNG::RandomInt/RandomFloat, ItemConfig::GetCollectible, BitSet128 masks
0062e120 Entity_Familiar::ai_samsons_chains Entity_Familiar::Update case 0x4b (variant 75, CheckFamiliar from COLLECTIBLE_SAMSONS_CHAINS 321); EntityList::QuerySublist + Room::GetGridCollision + distance checks for the dragged ball
009a3ac0 HUD::render_fortune_text ? this=HUD (anim state +0x5288 near zhl _fortuneSprite 0x5278, render target +0x536c); picks Text/Text2/Text3 by line count and pre-renders into the fortune render target; called from HUD::ShowFortuneText and Game::ShowFortuneText
00872090 render_debug_lua_memory called at the end of Game::Render; requires the LuaEngine global (DAT_00c71690, lua_State at +0x18) and Game debug flag bit 13 (flag 14 = Lua Memory Usage); draws bars with render_color_quad and a 30-frame timer at LuaEngine+0x264
0078ff90 Entity_Player::TriggerCollectibleRemoved REPENTOGON asm hook EntityPlayer_RecomputeWispCollectibles_TriggerCollectibleRemoved: the call followed by "cmp byte [edi+..],0 / je / push 0 / push" is exactly the call site in 0x7d7740; per-item removal side effects (Magic Mushroom 0xc RemoveCostume, Dead Cat 0x51, Heartbreak 0x2b6 AddBrokenHearts, Starter Deck 0xfb GetMaxPocketItems)
009b7680 PauseScreen::Show ? sets this+4=1 and resets a timer, anims Appear/Blood/Invite (Repentance+ pause menu invite option), SFXManager::StopLoopingSounds; called from Game::Update when pausing, sits with PauseScreen::Init (0x9b5840) and the #QUIT_DAILY_RUN pause update 0x9b5d20
007a37c0 Entity_Player::remove_twin ? called from RemoveCollectible when the other twin (Esau for Jacob 0x13, Dead Lazarus 0x1d, The Soul 0x26) must go: TemporaryEffects::ClearEffects, AddCostume, PlayerManager::RemoveCoPlayer
00772530 Entity_Player::replace_trinket ? this=Entity_Player (checks _variant/_isCoopGhost), logs "Replacing (smelted) trinket %d (%s) from player %d (%s) with trinket %d (%s)", TriggerTrinketRemoved/Added, costumes; called from Entity_Pickup::HandleCollision for golden Store Credit (trinket 0xd) with RandomInt(4)==0
00a1bb10 Font::measure_string ? (out Vector*, str, settings, scale=&1.0f): string size without drawing; used by Console::RenderHistory for wrapping and by the grid-index debug overlay to center text; sits between Font::DrawString and the glyph table code
009e2f20 RailManager::Render Room::Render calls it with ECX=&room->field_0x7468 (zhl Room _railManager 0x7468); SetAnimation on the rail anm2, iterates grid width*height (*this->room +0xc/+0x10), AnimationState::Render per rail cell
00429be0 DeathmatchManager::set_type ? switch(type) allocates DeathmatchTypeNormal/Ipecac/... (RTTI vftables) into this+0xc after releasing the old one, "Unknown type specified"; callers Game::constructor and run start
0061a240 Entity_Familiar::ai_blue_babys_only_friend Entity_Familiar::Update case 0x4d (variant 77, CheckFamiliar from COLLECTIBLE_BLUE_BABYS_ONLY_FRIEND 320); steered by Entity_Player::GetShootingJoystick and clamped with Room::GetClampedPositionImpl
006437a0 Entity_Familiar::ai_stitches Entity_Familiar::Update cases 0xdd/0xde (variants 221 Paschal Candle 567, 222 Stitches 635); anims TeleportDown/TeleportUp, aims with GetShootingJoystick + Room::GetClampedPositionImpl
00582b60 NpcHelper::scourge_spawn_chain (kind 0/1/2, npc, pos) spawns ENTITY_SCOURGE (0x38d) variant 10 (chain) and sets its anim; called 5x from the Scourge body AI 0x587aa0 (misnamed Entity_Familiar::HandleCollision, dispatcher case for type 909 variant!=10)
00ad60a0 theora_oc_state_frag_recon ? libtheora fragment reconstruction (state, fragi, pli, short* dct coeffs, last_zzi): inlined 8x8 idct then 8 pixels per row clamped through a 0x3ff lookup table; no direct callers (reached via the oc_dec opt vtable)
00499a50 NpcHelper::chub_nearest_segment ? this = array of 3 segment entities, arg = a segment: returns the other segment closest by position (0x33c); called from NpcAI::ENTITY_CHUB and 0x4999d0
007e7820 pathfinder_can_reach_pos ? ECX=Vector pos, arg=Room: reads Room::_gridPath (+0x76c, 0x1c0 ints, 1000 = blocked) at the pos cell, copies the whole grid path table and flood-fills (most blocks folded by the decompiler); sits in the NPCAI_Pathfinder block next to HasPathToPos; caller 0x7a4ba0 tests every trapdoor (grid type 0x11)
0081df80 Room::compute_overlay_texcoords ? (out, world pos, texture with w/h at +0x10/+0x14, shader): maps a world position through the room render offset (+0x1204) to normalized texture coordinates, assert_lerp "Start and End parameters cannot be the same!"; used twice in Room::Render for the layers at +0x70c4/+0x70e0
005add40 NpcHelper::visage_handle_collision ? per-type collision hook reached from Entity_NPC::HandleCollision: Visage body (variant 0) in state 0x76 touching ENTITY_VISAGE (0x387) variant 0x14 plays sound 0xb9 with rising pitch, removes it via its vtable and heals; other variants check type 9 variant 2 projectiles
00817830 Room::render_water this=Room: _waterAmount 0x7240, backdrop id 0x1d18, flooded stage ids 4/5/6/0x1b/0x1c, skipped under Curse of Darkness; KAGE_ColorTextureShader (REPENTOGON calls it Backdrop::RenderWater but the this is Room)
006950c0 EntityConfig::LoadEntities (path, isMod): parses entities2.xml ("Could not find root node 'entities'", collisionRadius/gibs/bestiary attrs); called by Manager config loader with entities2.xml
00cfe390 steamstub_drm_entry SteamStub header magic 0xc0dec0df, XOR-decrypt loops, resolves 34 imports by name, int3 on failure; entered via the call/pop thunk at 00cfe315
0057e4a0 NpcAI::ENTITY_ROTGUT_maggot 911.1 (dispatcher case 0xdf variant 1); strs ButtAttack1-3/HeadAttack1-3/Shoot, spawn_small_maggot, 1000.006_rotgut detail.anm2
00932810 Backdrop::LoadConfig parses backdrops.xml ("Could not find root node 'backdrops'", walls/floors/watergfx/props attrs); Room::constructor calls it (REPENTOGON Backdrop::LoadConfig(char* xmlpath))
007a4ba0 Entity_Player::level_start per-player new-level setup (param: isForced): start position incl. Ascent/Home, glitch baby subtype + "Glitch" anim, Map/Compass/Blue Map effects, UseActiveItem 0x11c; called per player from 009bb960 and the player update
004a8b70 NpcHelper::delirium_fire_pattern Delirium (from NpcAI::ENTITY_DELIRIUM, after morph back): 11 bullet patterns picked by npc+0xbd8 byte (0xff = random), spiral angle tables, FireProjectiles; skips while type 0x2d or 0x54.10
0092f1c0 StageTransition::Update this=Game._stageTransition (0x1ba78), switch on state; "[warn] No ending for big chest!", Player Exit/Pickup anims, Level::SetNextStage/Init/ShowName, Game::End; called from Game::Update when the state != 0
006ab440 Entity::PlayerCollideWithGrid (bool): __RTDynamicCast to Entity_Player else log "Called PlayerCollideWithGrid with Entity type != Entity_Player"; CanCrushRocks, TryBlowOpen, TryMakeBridge, SpawnGridEntity
007a0080 Entity_Player::trigger_npc_death (Entity* npc): called per player from Entity_NPC::Update on death and take_damage_impl; AddBestiaryKill, award_fly_kill_points, on-kill item/trinket effects (TemporaryEffects, AddHearts, AddActiveCharge, AddCostume)
009b5d20 PauseScreen::Update next to PauseScreen::Init 009b5840; #QUIT_DAILY_RUN prompt via GenericPrompt, BackKey, Game::End, DeleteSaveState; called from the menu update 00954cd0 and 006fa540
0094ef10 Menu_Collection::Render item collection page render: "Diary" anim, item ids < 0x2dd, 120 items per page, ItemConfig_Item::GetLocalizedName, ModManager::RenderCustomCollectionItem, KAGE_ColorTextureShader
0096d3f0 Entity_Laser::impact_tear_flag_effects (pos, dir) at the laser end: BombTearflagEffects + BombDamage (explosive), 1000.1 explosion, split tears with SetTearFlags, random pickups; called from UpdateHits and update_laser
0044c070 NpcAI::ENTITY_BEAST_ultra_war 951.30 (Beast case variant switch 0x1e); strs ChaseLoop/DashStart/LungeBomb/ThrowBomb/QuickBurst/Shockwave, BombExplosionEffects
00443e50 NpcAI::ENTITY_BEAST_ultra_death_scythe 951.41 (Beast case variant switch 0x29); strs Rotate3-6, QueryRadius, normalize_angle_degrees
004b0200 NpcAI::ENTITY_DOGMA_10 ? 950.10 (Dogma case, variant 10); strs Appear/DashStart/DashUp/DashDown/DashRight, DamageRadius, ShakeScreen, CalcTargetPosition
006378c0 Entity_Familiar::ai_lil_harbingers Entity_Familiar::Update case; "[err] Wrong Harbinger subtype %u!", FloatDown/PreSpawn, convert_shot_for_enemy_owner
0063c1c0 Entity_Familiar::ai_minisaac Entity_Familiar::Update case 0xe4 (FamiliarVariant.MINISAAC 228); Head*/Walk*/Fly* dir anims, Transform/TransformFlying, Poof_Small
00700061 Game::BombExplosionEffects spurious split: 00700060 is PUSH EBP and 00700061 MOV EBP,ESP of the same function body (BombDamage/BombTearflagEffects callees); not a separate function
0084c2c0 StatHUD::Render HUD::Render calls it with a position; per-player slots at this+0x114 (stride 0xcc), "%.1f%%"/"+%.2f" stat strings, Font::DrawString
0084cc40 StatHUD::update_player ? (oldPlayer, newPlayer): finds the slot whose player == param1 (this+0x114, stride 0xcc), stores the new player's stats (0x1568 damage, 0x1460/0x1470/0x1480 speed/range...) with lerp fields; CanSpawnDevilRoom/GetDevilRoomChance for the deal chance line
00a65190 image_load_jpeg libjpeg: jpeg_std_error table ("Bogus message code %d"), setjmp3 error exit, "Failed to load image '%s' because ... channels (%d)"
00ab5cc0 libjpeg_jinit_master_decompress ? libjpeg internal called by image_load_jpeg: cinfo->err->msg_code = 0x30 then error_exit, memset, three jinit-style callees
00aad3b0 vorbis_synthesis_blockin libvorbis: v->lW = v->W; v->W = vb->W (edx[7]); v->nW = -1; vb->granulepos edx[0xe..0xf]; v->granulepos/sequence = -1
00952df0 Manager::load_configs this=Manager (zeroes 0x21628/0x21984 fields); ModManager::TryRedirectPath + load of achievements.xml, babies.xml, entities2.xml (EntityConfig::LoadEntities), items.xml, players.xml ... and the 4 .fnt fonts
0074a500 Level::generate_home this=Game (_generationRNG 0x182d4, _nbRooms 0x182cc, 0x18314): fixed rooms at (6,6) start shape 4, (6,8),(7,7),(5,7),(6,4) from stage type 0xd (Home) via GetRoomByStageTypeAndVariant/GetRandomRoom; Tainted Keeper (0x21) check
007b8cb0 Entity_Player::update_footprints ? from the player update: _footprintColor1/2 (0x1828/0x1854 ColorMod) drawn into the floor render target (SetRenderTarget/render_quad_set_rect/pop_render_target), skipped for coop ghosts/holograms; spawns 1000.99 particles
007ea630 init_room_render_surfaces creates the named render surfaces ("Floor Water Surface", "Shadow Surface", "Mirror Surface", "Heat Wave Surface"...) via Manager::LoadImage, gfx/grid/lava.png, caustics.png; called by Room::constructor and 007084c0
0062ee30 Entity_Familiar::ai_lil_gurdy Entity_Familiar::Update case 0x57 (FamiliarVariant.LIL_GURDY 87): charges while fire is held (ChargeStart/Charging, up to 90 frames), dashes in the aim direction (Dashing/DashStop), DamageGridWithSource breaks rocks, MakeSplat
009462c0 Menu_Challenge::Render MenuManager::Render calls it with LEA ECX,[ESI+0x2688] (_menuChallenge), next to Menu_Challenge::Update; 008ce430 (ECX +0xd848) is the real Menu_CustomChallenge::Render
009b4810 Menu_Options::load_graphics ? hides "Sketch" layers, swaps OptionsMenu.png for gfx/ui/main menu/OptionsMenuDark.png (ReplaceSpritesheet), loads GammaMenu.anm2 "Counter"; callers 009b2150 (OptionsMenu.anm2 init), 009b52a0 (from PauseScreen::Update)
009c4100 InviteFriendsMenu::load_graphics ? ANM2::Load of gfx/ui/InviteWidget.anm2 (+4) and gfx/ui/main menu/InviteFriendsMenu.anm2 (+0x118), Appear/ArrowUp/ArrowDown/Cursor, "list too long"; called from PauseScreen::Update and 008ead10
009b6840 netplay_lobby_menu_update ? online lobby overlay update: Invite/InviteKey/KickKey/PasswordPaper/ShowPassword(Key), Appear/Cursor/Dissapear, NetplayManager::IsIdxLocalPlayer; called from Game::Update (Game+0x1d520 != 0) and after PauseScreen::Update in 00954cd0
008caa30 netplay_lobby_render ? renders the online player list: layers "Player%d Text"/"PlayerCharacter%d"/"Player_Character"/"Player_Me" ("[warn] no layer named %s"), vector of 0x38-byte entries at +0x568, ANM2 +0x118; called from Game::Render next to the revive prompt render
00421bf0 BossPool::load_xml (path, isMod): parses bosspools.xml ("Boss pool: Unknown stage '%s'", "BossID out of bounds", stage names basement..mortis, doubletrouble); callers 004218e0 (bosspools.xml) and ModManager loader 008f4890
00706020 Game::rewind ? Glowing Hourglass style restore: Level::GetRoomByIdx current room, Room::Update, TryDecreaseGlowingHourglassUses, RemoveCoPlayer, IncreaseEventCounter; called from the console command handler 0068cdc0 and 00830950
00426a50 DailyChallenge::Init ZHL sig (prefix drift: 53 8b5d08 56 vs 53 56 8bf1): this->_id = dailyDate, _specialDailyId, seeded xorshift picks of challenge params (mod 20 excluding 0xb/0xc/0x11/0x14, stage 6/8/10/11), "GetTaintedId() could not find tainted counterpart"
00814a50 pickup_roll_random_variant (seed, &variant, &subtype, rng): random pickup variant/subtype via ItemPool::GetCollectible/GetTrinket/GetCardEx/GetPill, lua_callback_run_get_card; called from Entity_Pickup::Init (00814980) and Entity_Pickup::Morph when variant 0
00a9ae80 libpng_png_build_gamma_table ? libpng: malloc(256) table[i] = pow(i/255, gamma)*255+.5 stored at png_ptr+0x15c, "Out of Memory" (png_malloc string); caller 00a97730
00a8da40 VideoClip_Theora::_executeSeek theoraplayer: "[seek]: fineseeking failed, _readData failed!", calls _seekPage and ogg_stream_reset (was audio_stream_seek)
008d3890 PauseScreen::update_items_page ? pause menu items list: iterates the player's collectible history (player+0x1dec, 0x1c-byte entries) keeping HasCollectible ones, ItemsArrowUp/Down, LoadImage; called from the pause item-description page 008d3360 (DescriptionArrowUp/Down) <- PauseScreen::Update
009ee2a0 Menu_Stats::update_achievements called from Menu_Stats::Update when _isAchievementScreenVisible; Icon%dLocked/Unlocked(Selected) spritesheets, Achievement_Locked.png, Appear/Dissapear
0099c790 HomingLaser::build_bezier_path (isHoming, source): this=HomingLaser (_origin 0x4, _endPoint 0xc, _bezier vector 0x48 of 0x18 HomingLaser_Bezier); straight segment when empty, else targets via room entity list (IsVulnerableEnemy/IsDescendantOf, CalculateEndPoint); called by Entity_Knife::InitHomingPath and Entity_Laser::update_laser
0099fed0 HomingLaser::build_wiggle_bezier (tearFlags): this=HomingLaser; perpendicular (cos/sin pi/2) offsets scaled by amplitude pushed as 0x18 bezier entries into _bezier (0x48); called from Entity_Laser::update_laser when the laser's tear flags & mask 0xc34860
009a0850 HomingLaser::build_ring_bezier (center, mode, radius): 6 bezier segments around a circle (angles k/6*2pi) pushed into _bezier (0x48/0x4c); Entity_Laser::UpdateHits calls it with the laser pos and laser+0x3bc radius (Tech X ring)
009a0fa0 HomingLaser::apply_sample_wiggle ? this=HomingLaser: _samples (0x1c/0x20) offset along their direction by sin(k*2pi/n - frame*0.16)*10 when _unkInt (0x40)==1, else by _unkFloat2/500; called from Entity_Laser::update_laser after get_tear_trinket_multiplier(0x1e)
007a6680 Entity_Player::room_exit ? (bool): per player from Game::ChangeRoom, the player update, 009bd150, 009bee80; RemoveCompassEffect, ClearTemporaryEffects, FlushQueueItem, ResetItemState, RemoveCoPlayer, TemporaryEffects::RemoveEffect/RemoveNullEffect
0044b6f0 NpcAI::ENTITY_BEAST_ultra_pestilence_maggot 951.22 (Beast case variant switch 0x16); strs Maggot/MaggotBack/ShootPos, Entity_NPC::ParentNPC, spawn_blood_explosion
006a69e0 resolve_resource_path ? (out string, path, vector<string> roots): tries each root (0x18-byte std::string entries) then ModManager::TryRedirectPath/FileSystem::ResolvePath; called from Entity_Bomb::update_sparks for the sparks gfx
0054ccc0 NpcHelper::bulb_player_collision (Entity_Player*): Entity_NPC::HandleCollision for variant 6 (61.6 Bulb): 1 dmg to players (10 to familiars), bounces back (V1 negated, state 6), AddActiveCharge(charge/3) + HUD::FlashChargeBar, PlayExtraAnimation
008257a0 Room::spawn_grid_from_desc ? (gridIdx, GridEntityDesc*, ANM2*) -> bool: GridEntity::GridEntity/Init at the index, SetBigRockFrame, UpdateNeighbors, TrySpawnWorms/TrySpawnLadder, "SpawnGridEntity: Grid index invalid"; called from Room::PickupGridEntity
008ef990 coop_join_menu_update ? multiplayer-only overlay (called from 006fa540 when !is_single_player and Game::Update): state machine on MENUCONFIRM/MENULEFT/MENURIGHT/MENUDOWN (0xe/0x14/0x15/0x17), two ANM2s (+0x10, +0x124), Player_stats_add, count_main_players
0043a5e0 Entity_Familiar::wisp_take_damage Entity_Familiar::TakeDamage for variants 0xce/0xed (WISP 206, ITEM_WISP 237): GetLastSpawner, AddFear, AddErasedEnemy/ShouldEraseEnemy, RemoveWithPoof, HasInvincibility
0054f670 NpcHelper::needle_render Entity_NPC::Render calls it for type 0x371 (881 Needle/Pasty): ANM2::GetLayer + distance math (burrow render)
00754980 input_state_reset ? zeroes a controller/input state block: 4 x 0x18 entries at +0x8c (id -1), fields 0xec-0x1ac; called from Entity_Player::constructor, 00906100 and 0090c7e0 ("Failed to find input device for UserId")
004a2940 NpcHelper::colostomia_pick_target (out Vector*, out bool*) -> Vector*: NpcAI::ENTITY_COLOSTOMIA stores the result as _targetPosition; EntityList::QuerySublist, GetPlayerTarget
004568d0 NpcAI::ENTITY_FLY_isaac_spawned NpcAI::ENTITY_FLY branch for _spawnerType 0x66 (102 Isaac/??? boss) and subtype != 0: orbits the spawner (QuerySublist, radius 100/85, V1 direction)
00959180 save_rerun_to_steam_cloud Game::End callee: GameState::write_rerun (Manager+0xfa4), "[warn] GameState::SaveRerunToSteamCloud could not open %s for writing", "[warn] GameState::Save: no filename specified", GetExtraLives
00996580 FXLayers::render_veins ? Room::Render callee: 10 vein entries at +0xd8 (count at +0xc4) set scale/offset of ANM2[idx] at +0x364 (stride 0x114, FXLayers._veinANM2) then AnimationState::Render
009353b0 Backdrop::render_ashpit_ash Backdrop::load_details callee; this=Backdrop (rng at +0x4f28): gfx/backdrop/04x_ashpit_ash(_Lfloor/_Nfloor).png via Manager::LoadImage drawn into a render target (SetRenderTarget/Clear/Sprite::RenderLayer)
006fefd0 apply_tear_effects_in_rect ? (Vector* min, Vector* max, Entity* source): EntityList::QueryRadius then Entity_Tear::ApplyTearFlagEffects on each hit with EntityRef(source), source type/flag checks; only caller NpcAI::ENTITY_NERVE_ENDING
008276e0 Room::spawn_options_alternative (Entity_Pickup*): Room::SpawnClearAward calls it when a player has COLLECTIBLE_OPTIONS (0x29e): spawns a second pickup (RoomClear_PickVariant, Morph, CanSpawnObstacleAtPosition) linked with AssignOptionsIndex
004d4610 NpcHelper::moms_heart_pick_attack NpcAI::ENTITY_MOMS_HEART (state 4 after frame 0x1f): picks a random attack id into V1.y from ranges by subtype/variant (I1==5 -> 8), state 8, SpawnFollowingEffect198
009615e0 Entity_Familiar::multidimensional_baby_copy_knife Entity_Familiar::Update case 0x65 (MULTIDIMENSIONAL_BABY 101) when Entity_Knife::IsFlying: SpawnEx(8, knife variant) + Entity_Knife::InitHomingPath/GetRootParent
00599f80 NpcHelper::tuff_twins_body_attack_anim NpcAI::ENTITY_TUFF_TWINS helper: picks Body1-3Attack{Hori,Vert} by (npc+0x3ec % 3) and the parent (0x3bc) direction, SetFrameFloat by angle, flip flag +0x148
00857450 Leaderboard::Update this=Game._leaderboard (0x1d5f8): returns when _displayState (+4)==0; Appear/DisplayRankStart/DisplayRank/Loading anims; called from Game::Update when Game+0x1d654 != 0 and from the daily menu 008cf610
0068cdc0 Console::RunCommand called by Isaac::ExecuteCommand with (in,out,player); console command strings (Spawned entity, Changed stage...); zhl Console::RunCommand(std_string&in,std_string*out,Entity_Player*)
00431be0 FamiliarAI::umbilical_baby Entity_Familiar::Update case 0xf0 (FamiliarVariant 240 UMBILICAL_BABY); allocates UmbilicalBabyData extra data, CreateWeapon/aim
009688d0 Entity_Knife::UpdateSwingHits called from Entity_Knife::Update when _isSwinging && !_isFlying; QueryRadius, HitListContains, AddKnockback/AddBurn, Reflect projectiles, GetTearHitParams; Swing/Swing2/SwingEnd anims
0094a500 Menu_Character::Render called in menu render sequence (0098a040) next to Menu_DailyChallenge::Render; right after Menu_Character::Update (00949c20); CompletionWidget::Render, Seeds::CountUnlockedSeedEffects/AchievementUnlocksDisallowed, ButtonIcon layer, Font::DrawString
0093f1d0 Backdrop::RenderWalls Room::Render passes (&offset, Room._wallColor ColorMod 10 dwords); this=Backdrop (0x150 backdropId, 0x2c waterGfx, 0x4f18 unkVec1); zhl Backdrop::RenderWalls(Vector const& renderOffset, ColorMod color)
00940d30 Backdrop::RenderWater called at top of Backdrop::RenderWalls only when Backdrop+0x2c waterGfx != 0, with the render offset; zhl Backdrop::RenderWater(Vector const& offset)
009d05d0 GameStatePlayer::read called by GameState::read_rerun and 0090c7e0 right after GameStatePlayer::Init(&local) with the stream ptr; per-player [warn] strings (Invalid player type, pocket item, trinket, voided active item); Ghidra split its tail into FUN_009d16ee and FUN_009d2656 (costume/familiar/history count warnings)
008f4a30 ModManager::LoadShaders shaders.xml parse ("Could not find root node shaders in mod %s", vertex/fragment/parameters); callers ModManager::TriggerResize and the reload paths; zhl ModManager::LoadShaders()
0072ba80 ItemConfig::LoadLocustConfig locusts.xml parse ("Could not find root node locusts", locust/id/color/scale/quality), params (char* xmlpath, int mod) match zhl ItemConfig::LoadLocustConfig(char*,ModEntry*); this=ItemConfig; callers Console::RunCommand reload, mod content load
00a93860 png_write_find_filter libpng: caller 00a63ba0 is png_write_row (interlace pass switch on row_number&7 / width<5, then do_write_interlace 00a93640, do_write_transformations 00a94c80, this, then write_row_fn callback at +0x194); SIMD filter heuristic over row bytes; sibling 00a94b10 has "zlib error"/"Call to NULL write function"
0098fa60 FXLayers::parse_fx_params_node parses stage/fxParams xml attributes (backdrop, brightness, contrast, colorModifier, lightColor, shadowAlpha, shadowColor, waterColor, waterEffectColor, waterv2, altStages) into FXLayers+0x4f8 _fxParams (writes +0x504..); recursive on child "fxParams"; called from fxlayers.xml loader 00990a40
007f1380 Room::LoadBackdropGraphics this=Room (0x4 _descriptor, 0x8 _roomType, 0x1bb0 _bossId); loads gfx/backdrop/shading_*.png, fxlayers.xml, Backdrop::Init; REPENTOGON ASMLevel.cpp calls this "Room::LoadBackdropGraphics" (LoadBackdropGraphics_VoidEx patch); called by ENTITY_DOGMA before Backdrop::load_details
007ba2b0 Entity_Player::update_baby_skin_effects called from player update when _variant==1 (co-op baby) or _isCoopGhost; switch on Entity_Player+0x1aec _babySkin (0,3,5,0x28,0x29..) spawning creep/troll bombs/blue spiders, "Dripping" overlay, HasCollectibleEffect checks
009c79a0 GameState::Clear called by GameState::Delete and the SteamCloud/local GameState load paths; constructs RoomDescriptor, GameStatePlayer::Init, memset; zhl GameState::Clear()
0094c580 Menu_Character::handle_input called from Menu_Character::Update when Status != 2 before UpdateRotations; polls menu input actions (0xe,0x14-0x17 confirm/back/left/right) via the input vftable, DoPageSwap, SetStartSeed, IsCharacterAvailable, SoundEffects::Play
0098e4d0 Minimap::Render called from HUD::Render (non-greed); this=Minimap (+0x620 _shakeOffset, +0x18 MinimapConfig: +0x13c borderPadding, +0x148 borderScale); renders map ANM2, Seeds::GetForcedCurses/GetPreventedCurses (curse of the lost), Room::IsMirrorWorld, "Frame" anim
00988d80 MenuManager::LoadGraphics loads gfx/ui/main menu/TitleMenu.anm2, ChallengeMenu, CollectionMenu, Death Screen anm2s then calls each menu loader (009ef740, 009d9560, 00980eb0, 00948200); separate from MenuManager::constructor 00986450
00948200 Menu_Character::LoadGraphics called from MenuManager::LoadGraphics (00988d80); loads gfx/ui/main menu/CharacterMenu*.anm2, DifficultyWidget, SeedEntry, SeedWidget, WinStreakWidget, PageSwapWidget
0069bd50 EntityConfig::LoadBabies babies.xml parse ("Could not find root node babies in %s"), param_1 = xml path, appends 0x38-byte entries to vector at this+0x14 (= zhl EntityConfig::GetBabies at 0x14); zhl EntityConfig::LoadBabies(char*)
008f30d0 ModManager::LoadModContent iterates ModManager mods vector (this+0/+4) skipping disabled (+0xfd), Mod::GetContentPath for entities2.xml/items.xml/items_metadata.xml/pocketitems.xml/locusts.xml/info_display.xml/... and calls each config loader (ItemConfig::LoadLocustConfig 0072ba80, 0084eba0 info_display)
009282e0 PersistentGameData::write called from PersistentGameData::Save between stream flushes; writes section headers (id 1 len 0x282 achievements bytes at +0x38, id 2 len 0x82c = 0x20b event counters at +0x2bc, id 3 ...) through the stream vtable +0x1c and updates the checksum (00683410)
007d1c10 Entity_Player::play_hurt_effects called from Entity_Player::take_damage_impl unless damage flags & 0x100d0400 (no-gib flags); spawn_gibs, Game::ShakeScreen, ANM2::Play hurt anim, Color flash, Room::IsPositionInRoom
00934770 Backdrop::PreRenderControls this=Backdrop (0x150 backdropId==3, 0x4f18 unkVec, +0x5050 ANM2 "Controls"/"Keyboard" anims, EntityConfig_Player::_moddedControlsANM2 + GetDisplayName); REPENTOGON ASM hook Backdrop_PreRenderControls_GetCharacterAnimName lives here; called from Backdrop::load_details chain (009356a0)
0093ea00 Backdrop::RenderFloor Room::Render passes (&offset, Room+0x72a4 _floorColor ColorMod 10 dwords), same shape as the Backdrop::RenderWalls call; this=Backdrop (in_ECX[0x54]=0x150 backdropId==0x1c, in_ECX[0x13c6..]=0x4f18 unkVec); ANM2::Render, shader_cache_find, render_quad_set_rect
00ad9840 jpeg_idct_15x15 libjpeg jidctint.c: params (cinfo, compptr, coef_block, output_buf, output_col); constants 0x2731=FIX(1.224744871), 0x4ea3=FIX(2.457431844), 0x2ace=FIX(1.337628990), 0x1a9a=FIX(0.831253876) are the 15x15 set; workspace 8*15 ints; CONST_BITS 13 rounding 0x400
00a8ecc0 wgl_provider_resolver libepoxy wgl_generated_dispatch.c: switch over provider enum, epoxy_wglGetProcAddress("wglGetExtensionsStringARB"), entrypoint name table indexed from "wglAllocateMemoryNV", WGL_* extension names, "Implementation unexpectedly missing WGL_ARB_extensions_string. Probably a libepoxy bug."
009b1220 LevelGenerator::try_resize_room logs "[LevelGenerator] try_resize_room: invalid room" and, in its end-room branch, "try_resize_endroom: invalid room"; (room, uint shape, int) params; callers LevelGenerator::GetNewEndRoom, DetermineBossRoom
007d7c30 Entity_Player::trigger_cracked_orb called from take_damage_impl when HasCollectible(0x2a3 COLLECTIBLE_CRACKED_ORB); GridEntity_Door::TryBlowOpen/TryUnlock, Minimap::Refresh, spawns effect FollowParent
006ca930 Entity_NPC::update_frozen called from Entity_NPC::Update when _flags & (1<<49) FLAG_ICE_FROZEN, then returns; ring buffer at +0xc4c..0xc58, DoesEntityShareStatus
006f2060 HUD::constructor called from Game::constructor; constructs ANM2s at +0x3778,+0x388c,+0x39a0,+0x3ab4,+0x3bc8 = zhl HUD _chargeBarSprite 0x3798/_heartsSprite 0x39c0/_pickupHUDSprite 0x3ad4/_cardsPillsSprite 0x3be8 minus the 0x20 drift seen for this exe; HUD render (009a6fe0) passes +0x39a0 as the hearts ANM2
00834350 Ambush::Update called from Room::Update when roomType is challenge(0xb)/boss rush(0x11) and Game._ambush.active; this=Ambush (+0x18 maxBossWaves, +0x24 currentWave, +0xc/+0x10 wave vector, +0x28 countdown); Ambush::SpawnWave/SpawnBossrushWave, Room::SpawnClearAward, MusicManager::Crossfade
009f5ad0 Weapon::fire_tear called from Weapon::TriggerTearEffects; this=Weapon (+4 owner); Entity_Player::FireTear(pos, dir, ...) when owner is a player else Game::SpawnEx(2,0,...) and vtable+0x40 (SetDamage); returns the tear
00425b70 init_coop_awards called from Game::constructor right after constructing the 21x0x34 award array at Game+0x1bbec (ECX = that array); fills each entry with "#Online/COOP_AWARD_*" name, id, flags, 1.0f
007bbbd0 Entity_Player::Init ? no direct callers (vtable Init); this=Entity_Player: looks up EntityConfig_Player by _playerType 0x13c0 ("Could not load config for player type %d"), stores GetDisplayName into +0x13c4, sets red hearts/max (+0x1340/+0x1344) and armor from config, many inline RNG::Next ("RNG Seed is zero!")
00596c60 NpcAI::ENTITY_BEAST_rock_projectile dispatcher case for The Beast (951) variant 2 (ROCK_PROJECTILE); "Rotate%d" anims; sibling naming NpcAI::ENTITY_BEAST
00444cc0 NpcAI::ENTITY_BEAST_ultra_famine dispatcher case for The Beast (951) variant 10 (ULTRA_FAMINE); DashStart/DashLoop/DashEnd, Summon, HeadLoop, Reverse, Transition anims
00440630 NpcAI::ENTITY_BEAST_background dispatcher case for The Beast (951) variants 100-104 (BACKGROUND_BEAST/FAMINE/PESTILENCE/WAR/DEATH); Cheer, Leave, ScreamStart/Stop, Shoot anims
005ad8a0 NpcAI::ENTITY_VISAGE_plasma dispatcher case 0xd7 (Visage 903) variant 0x14 (VISAGE_PLASMA), beside NpcAI::ENTITY_VISAGE (variant 0) and ENTITY_VISAGE_mask (variant 1)
00616050 FamiliarAI::blue_spider Entity_Familiar::Update case 0x49 (FamiliarVariant 73 BLUE_SPIDER); Appear/Idle/Walk and Idle_Deathmatch/Walk_Deathmatch anims; HasCollectible(0xf7 BFFS) size check
0063d570 FamiliarHelper::fly_head_pathfind_move ? called from the Entity_Familiar::Update case 0xe4 (variant 228) routine 0063c1c0 (FlyUp/FlyDown/HeadUp/HeadDown, Transform/TransformFlying anims); PathFinder::FindGridPath, Room::CheckLine, EntityList::QuerySublist, GetAxisAlignedUnitVectorFromDir; Ghidra cannot decompile it
00824ee0 Room::update_water_current called from Room::Update; this=Room (+0x7460 _waterCurrent Vector, +0x125c/+0x1264 entity list, +0xc/+0x10 grid dims, +0x24 grid array); pushes pickups/NPCs by _waterCurrent*0.4 and spawns effect 1000/99 splashes every 3 frames
007f01c0 Room::update_player_exits called from Room::Update; this=Room (+4 _descriptor, +8 _roomType, +0x724 door slots x8, +0x1c/+0x20 bounds); checks each player against the 8 doors and, for ROOM_DUNGEON (0x10) crawlspaces, walking off the edges -> Game::StartRoomTransition with _leaveDoor
00824a70 Room::update_ambient_effects ? called from Room::Update; this=Room (+8 roomType, +0x1bb0 _bossId, +0x1d18 _backdropType, +0x14..0x20 bounds); skips boss 0x5b room and Level::HasAbandonedMineshaft; spawns effect 1000/0x8a particles with color per backdrop (0x2b/0x2c CORPSE2/3)
00749270 Level::maze_swap_rooms called from Level::ChangeRoom after Random()%5==0 for a room whose 00748d40 lookup returns a match (Curse of the Maze teleport); this=Level: GetRoomByIdx(param_1) and the target, requires equal RoomConfig shape (+0x46/+0x47), swaps the two RoomDescriptor contents (+0x14 + idx*0xb8)
0083a3d0 render_beast_arena_background ? called from Room::Render only when Room+0x1d18 _backdropType == 0x39 (57 DUNGEON_BEAST); ECX struct holds the Room at [0] (reads Room+0x6ae0 bounds, +0x11fc camera), full-screen render_quad_set_rect with KAGE_ColorTextureShader, "Shader stack empty"
006b5320 Entity_Tear::reroll_hit_entity ? called from Entity_Tear::HandleCollision when tear flags & DAT_00c34670 (bit 81) hit a vulnerable non-boss enemy: EntityFactory::Create replacement + EntityList::AddEntity, Game::ShouldEraseEnemy -> RemoveWithPoof, rerolls pickups via ItemPool::GetTrinket/GetCardEx/GetPill, lua pre_entity_spawn
0065ad30 reroll_entity_to_free_tile ? no callers; same callee set as 006b5320 (EntityFactory::Create, ShouldEraseEnemy, RemoveWithPoof, ItemPool::GetTrinket/GetCardEx/GetPill) but first searches up to 0x20 Room::GetRandomPosition/FindFreeTilePosition spots >20px from param_1 and >80px from the nearest player
00ac2da0 decode_mcu_slow ? libjpeg jdhuff.c entropy decoder: 0xFF byte-stuffing/marker handling into cinfo+0x18c, HUFF_LOOKAHEAD lookup table (nbits<<8|symbol, nbits<9 fast path), loops cinfo->blocks_in_MCU (+0x144) with MCU_membership (+0x148); caller 00ac3450 is the decode_mcu dispatcher
006d7230 Entity_NPC::update_damage_history ? called at the end of Entity_NPC::Update (both paths) after 006d7010; sums this frame hit-list entries (+0x8..0xc, 0x38 bytes each, skipping flag 0x2000) into a ring buffer at +0xc4c..0xc58, clears the list, spawns effect 1000/0x36 when flags bit 47 set
0067aaf0 Entity_Tear::apply_link_spring_forces ? called once from Entity_Tear::Update; this=Tear with two linked entity refs (+0x494/+0x498): spring toward rest distance 10 using +0x38c/+0x390 pos, +0x394/+0x398 vel, +0x39c mass, writes velocity +0x360
00967a70 Entity_Knife::apply_wiggle ? called from Entity_Knife::Update when tear flags & DAT_00c34870 (bit 10 TEAR_WIGGLE); offsets the knife position relative to its parent player (+0x3bc parent, type 1 or knife 8 -> player)
0099efc0 Entity_Laser::update_wiggle_path ? called from Entity_Laser::update_laser when tear flags & DAT_00c348e0 or DAT_00c348a0 (with get_tear_trinket_multiplier 0x2e/0x1a Hook Worm); this=Laser (+0x40 mode, +0x1c/+0x20 sample vector, +0x4..0x10 endpoints), sin/cos/pow displacement of the path samples
0096ee00 Entity_Laser::get_tear_spawn_color ? result passed to Entity::SetColor (vtable+0x3c) on the tear spawned by Entity_Laser::update_laser; Color::apply_to_kcolor, Color::__mul
009dc830 init_procedural_item_surfaces ? called from Game::LoadConfigXmls (and two reload paths); creates render targets "Procedural Item Surface"/"Procedural Item Collection Surface" and calls ItemPool::CreateGlitchedCollectible setup
006f6260 daily_challenge_params_assign ? called from Game::StartDailyChallenge with the params struct; copy-assigns string (+0), set (+0x18), two int vectors (+0x20, +0x2c) from param_1 into this
0083bc50 PlayerManager::remove_coplayer_slot ? called from PlayerManager::RemoveCoPlayer with the player; ECX = 5-dword slot array at Manager+0x1da04: finds the slot whose [0]==player, zeroes it and shifts the rest down
006fa540 Manager::update_ingame_input ? called from Manager::Update case 2 (in game) when no overlay/menu consumed input; ACTION_PAUSE (0xc) -> Game+0x26534 pause request, ACTION_MUTE (0x12) per controller ("Out of bounds"), menu confirm/back (0xe/0xf), Player_stats_add(8,..)
00910980 NetplayManager::try_advance_frame ? returns bool; called from the lobby/daily join path 0090b150; iterates the player array (+0/+4) hashing per-player state (00a790b0/00a2a460 when DAT_00c79a58 netplay active), compares queued input frames in three vectors (+0x1878,+0x1884,+0x1890) against the current frame (+0xc), clears +0x18
008413a0 HUD_Message::render_text_image ? called twice from HUD_Message::UpdateTextImage with (utf8 str, wide str, size, out); lays out glyphs (00a1c480), renders into the layer texture with KAGE_ColorShader (Exposure/Gamma uniforms), render_quad_set_rect
00a1c480 Font::layout_glyphs ? (out run, text, FontSettings*, size*) builds a vector of 12-byte glyph quads for a string; callers GenericPrompt::Render, GenericPopup::Render, HUD_Message::render_text_image
007e6b90 PathFinder::update_chase_movement ? called from NpcAI::ENTITY_PEEPER_FATTY; ECX struct with the NPC at [0] and countdown at +0x28 (PathFinder); charmed/controlled NPC uses Entity_NPC::GetControllerInput, else GetPlayerTarget + PathFinder::Reset/FindGridPath, approach_angle; returns velocity
0084f780 InfoDisplay::describe_pickup_stats ? builds description lines (" red heart", "Heals all red hearts", " soul heart", " black heart", " coin", " bomb", "empty red health") into a vector of 0x68-byte entries from a stats struct (+0x58..+0x6c); callers 0084f0a0 (info_display.xml entry parser: achievement/collectible/info/notcollectible/player attrs), 00850480, 00851b20
008df9b0 Menu_LobbyList::render_lobbies ? called from the lobby-list menu render 008ddae0 right after "Unhandled scope type (%d) in Menu Lobby List"; "LobbyList" layer, "#Online/IN_LOBBY"/IN_DEATHMATCH/NO_LOBBIES, "%d / %d", current_stage/lobby_mode fields, Font::DrawStringScaled
008da510 Menu_KeyConfig::render_gamepad_layout ? called from the key-config menu render 008d9340 only when the device casts to InputDeviceGamepad with flag 0x20 or type 3; draws #INPUT_* labels (incl. FULLSCREEN/MUTE) with Font::DrawString next to button icons (ANM2::GetLayer/RenderFrame)
00919980 Menu_Save::load_slot_data ? called from Menu_Save::Reset for each slot after Manager::SetSaveSlot; constructs a local PersistentGameData, reads "sharedsave%d.dat", logs "Merging eden coins: pdTokens=..."
007b0070 Entity_Player::restore_state_entities called from the player update 00782af0 and the GameState player restore loop 009bd010 with a GameStatePlayer-like record; "m_FamiliarCount does not match m_Familiars.size()" (+0x37c/+0x380), respawns familiars (type 3) and friendly NPCs (+0x22c/+0x244, Entity_NPC::Morph, controllerID), "GhostAppear" for co-op ghost, EvaluateItems
0061d030 FamiliarAI::lil_haunt ? Entity_Familiar::Update case 0x4f (FamiliarVariant 79); FloatDown/FloatDownRage/Rage/RageEnd anims (NPC haunt anm2 set), Entity_Familiar::FollowParent then PickEnemyTarget + EntityList::QueryRadius, "Rage" when its counter runs out, HasCollectible(0xf7 BFFS)
0064f860 FamiliarAI::thrown_familiar_239 ? Entity_Familiar::Update case 0xef (FamiliarVariant 239); thrown/bouncing object: height +0x350 and fall speed +0xd6c (+0.7 gravity), grid collision class +0x184 set 3 in air / 5 on landing, friction +0x36c, spawns effect 1000/0x36 dust and 1000/0x3b on landing
009d2656 GameStatePlayer::read_part3 not a real function: Ghidra split the tail of GameStatePlayer::read (009d05d0) into FUN_009d16ee and this chunk (no prologue, unaff_EBP/EBX/ESI, reached by fallthrough from 009d16ee); carries the [warn] Invalid pocket item / costume count / familiar count / history count / temporary effect "Save file %s might be corrupt" reads
0077b020 Entity_Player::update_shooting ? called from player Update; reads shoot actions 4-7, GetMouseAimTarget/GetShootingJoystick, Head* anims, LiftItem/HideItem per held active (0x2a,0x2f,0x31,0x121,0x160...), 'No Such State %d'
00635390 FamiliarAI::sprinkler Entity_Familiar::Update case 0x78 (120 SPRINKLER); 'Loki Appear' with 0x57, 'MomsEye Appear' with 0x37; FireTear/FireBomb/FireTechXLaser spin
004386f0 Entity_Familiar::fire_wisp_projectile only caller Entity_Familiar::FireProjectile for variant 0xce/0xed (Wisp/Item Wisp); get_wisp_config, AddBlueFlies, FireBrimstone
00a85710 tinfl_decompress miniz: switch(r->m_state) state machine, stored-block nlen ^ 0xffff check, -3 (TINFL_STATUS_BAD_PARAM) for a non power-of-two buffer; the TDEFL strings are table reads misshown as string offsets
007dfaf0 Music::LoadConfig ZHL Music::LoadConfig(xmlpath, ismod): 'Could not find root node music in %s', layer/layerintro/layermode attrs, ModManager::TryRedirectPath
00850480 InfoDisplay::load_collectibles_xml ? info_display.xml 'collectibles' node (caller 0084eba0 does collectibles/trinkets/pills/cards); collectible id/info/text with player/notplayer/collectible/trinket/achievement conditions
007b0be0 Entity_Player::StoreGameState ZHL StoreGameState(GameStatePlayer*, bool saveTemporaryFamiliars): caller 00906100 does GameStatePlayer::Init(&s) then this(&s,1); copies 0x13c0 playerType etc into state
00728cc0 ItemConfig::load_wisp_node ? wisps.xml entry attrs coreColor/flameColor/tearColor/procChance/damageMultiplier; caller 0072a1b0 is likely LoadWispConfig
00722cb0 ItemConfig::parse_tags 'invalid tag: %s' with tag names angel/devil/battery/quest/offensive/nolostbr...
004a9860 NpcHelper::delirium_morph_update ? called twice by NpcAI::ENTITY_DELIRIUM; Taunt/JumpUp/Attack1/HeadlessAttack1 anims then Entity_NPC_UpdateAI_dispatch for the mimicked boss
0041e960 BeamRenderer::End 'Beam renderer needs per-vertex colors for Dogma'; RenderSegmentLink calls Begin, 5x 0041e720 (Add) then this; draws quads via shader
008fa390 ModManager::UpdateWorkshopMods ? ZHL name; walks 0x50-byte workshop entries, state 2 -> '#MOD_UNINSTALLING', '#MOD_INSTALLING'/'#MOD_UPDATING', writes /disable.it /unfinished.it, FileSystem::ResolvePath
00adebd0 th_decode_packetin libtheora decode.c: (dec, ogg_packet* op, granpos*); oc_pack_readinit on op->packet/bytes, 1-bit frame type, up to 3 6-bit qis; vendor string nearby
00acebf0 mapping0_inverse libvorbis mapping0.c: vb->vd at +0x40, vd->vi +4, vi->channels +4, vi->codec_setup +0x1c, alloca bundles, no callers (mapping_P table)
0062f7f0 FamiliarAI::bumbo Entity_Familiar::Update case 0x58 (88 BUMBO); Level1Float/Level2Idle..Level4Walking anims, PickEnemyTarget, FindFreePickupSpawnPosition
00618b00 FamiliarAI::gb_bug Entity_Familiar::Update case 0x5d (93 GB_BUG); Collide/Float anims, Entity_Pickup::Morph + IsChest on hit pickups, FollowParent
0064aab0 anm2_apply_gfx_overrides parses 'anm2=' 'spritesheet=' 'animation=' entries of a split string into an ANM2 (ANM2::Load, ReplaceSpritesheet, SetAnimation); used by locust config and Entity_NPC::HandleCollision
009f6e60 fire_fetus_tear ? (pos<ecx>, vel, variant 7, source, dmgMult): TearParams from GetTearHitParams(WEAPON_FETUS 0xe), Marked flag strip; callers sprinkler and Weapon_Fetus::Fire
00698e80 EntityConfig::load_boss_colors bosscolors.xml: 'Could not find root node bosscolors', 'Cannot patch boss colors for Entity %d.%d', EntityConfig::GetEntity; called from config loader 00952df0
00735a30 ItemPool::load_pools ZHL ItemPool::load_pools(xmlpath, ismod): 'Could not find root node ItemPools', 'Pool %s not found', Item/Weight/DecreaseBy/RemoveOn
0072b230 ItemConfig::load_locust_node ? locusts.xml entry attrs locustFlags/mutexFlags/shootGfx/overlayGfx/procChance; caller 0072ba80 has 'Could not find root node locusts' (= LoadLocustConfig)
009a6fe0 HUD::render_player_hud ? HUD::Render calls it per player index; this+idx*0x6dc PlayerHUD, draws hearts (00843df0), RenderSpellQueue, coop ghost alpha
00addab0 oc_dering_block libtheora pp.c: mod_hi=min(3*dc_scale, OC_MOD_MAX[]), mod=32+dc_scale-(abs(diff)<<shift), <-64 -> sharp_mod else clamp; caller oc_dering_frame 00adcd70
005b1a20 Entity_Player::moms_bracelet_grab ? this Entity_Player: when +0x1600 != 0x25c (Mom's Bracelet) picks the facing grid entity (CanPickupGridEntity/PickupGridEntity) or an enemy in radius -> TryHoldEntity; Rock1/redhost/mobile host gfx; no resolved callers (UseActiveItem jump table)
0060bae0 Entity_Effect::setup_loot_preview only caller CreateLootPreview, right after spawning 1000.191; questionmark.png, Pickup_PickVariant, ItemConfig::GetCollectible, forced/prevented curses
008e8af0 Menu_OnlineLobby::Render ? eMainMenuType ONLINELOBBY=17 is 008e8240 (Update); rendered from 0098a040; layers Menu_background3/Show_Password/Winstreak/Best_Winstreak/ChallengeName, '#RunStatus/*' and '#Online/*' strings
00a8a090 TheoraVideoManager::TheoraVideoManager theoraplayer ctor log 'Initializing Theoraplayer Video Playback Library (', '- libtheora version:', '- libvorbis version:'
009f0290 rich_text_layout ? (text, font, w, h, out lines): splits markup text into runs (type 0 text drawn via 00a1b050, 1-4 icon types via 009f24b0); caller 009efdb0 renders with inline redheart/soulheart/blackheart/collectible icons
009efdb0 rich_text_render ? renders lines from 009f0290 with inline heart/pickup/collectible icons; used by PlayerHUD::RenderHearts and item info pages
00616770 FamiliarAI::bobs_brain Entity_Familiar::Update case 0x30 (48 BOBS_BRAIN); WalkDown/WalkHori/WalkVert, PickEnemyTarget, FindGridPath, SpawnEx explosion
0062e9c0 FamiliarAI::lost_fly Entity_Familiar::Update case 0x55 (85 LOST_FLY); QueryRadius + IsVulnerableEnemy + Entity_NPC::TryForceTarget (distracts enemies), CheckLine
00638170 FamiliarAI::mystery_egg ? Entity_Familiar::Update case 0x7c (124); 'Crack' event -> SpawnEx enemy, MakeChampion, AddCharmed, BloodExplode; FollowParent
006196e0 FamiliarAI::variant_53 ? Entity_Familiar::Update case 0x35 (53); moves along Entity_Player::GetShootingJoystick *1.25, Float/FloatSide/StoppedDown anims, PlayShootAnim, Room::CheckLine (Robo-Baby 2.0 like)
0061c3f0 FamiliarAI::variant_66 ? Entity_Familiar::Update case 0x42 (66); 'Walking', PathFinder, shoots (apply_tear_modifiers/convert_shot_for_enemy_owner), SpawnEx(3,0x49)
0064fd40 FamiliarAI::variant_241 ? Entity_Familiar::Update case 0xf1 (241); Idle/Move Down/Hori/Up, PickEnemyTarget, FindGridPath, MakeSplat, AddPersistentEntity, cap 5 (10 with Mom's Wig 217)
00644780 FamiliarAI::variant_204 ? Entity_Familiar::Update case 0xcc (204); spawns child effect 1000.166 at +0x3c0 (scale .6, tinted), GetOrbitPosition, HasEntityFlags
00755470 Entity_Player::Init 'Got non existing player type %d in Player::Init!', '[Frame: %d] Initialized player with Variant %d and Subtype %d', Entity::Init, GetGlitchBabySubType; vtable (no direct callers)
00a87300 tdefl_optimize_huffman_table miniz: num_codes[33] memset 0x84, counts m_huff_code_sizes[table][i] when static_table, this=tdefl_compressor, EDX=table_num
00ae4bf0 oc_idct8x8_mmx ? libtheora MMX idct: pmulhw with OC_C1S7 0xfb15, OC_C2S6 0xec83, OC_C3S5 0xd4db, OC_C5S3 0x8e3a, OC_C7S1 0x31f1; (y, x) int16x8 rows
00a1bd80 Font::render_glyph_quads ? this Font (+0x14 line height); draws a vector of 12-byte glyph entries with 'KAGE_ColorTextureShader', alignment switch 3-8; Console::RenderHistory after layout 00a1bb10
007bb5e0 Entity_Player::coop_baby_death_effect ? TriggerDeath calls it when _variant==1 (co-op baby) before removal; spawns blue flies/spiders, ThrowSpider, FireTear, UseCard(0x14)
006f8140 Game::restore_game_state ? (GameState* state, bool) copies seeds/stage/flags from state into Game, Level::RestoreGameState, Ambush::StartChallenge, 'RNG Start Seed: %s (%u) [Continue, %d]'; callers 00706020 (hourglass restore) and 00959720
006f9000 Game::store_game_state ? (GameState*) mirror of 006f8140: ItemPool::StoreGameState, Seeds copy, 009bd150; callers Game::save_rewind_state, 009172f0, 00958ed0
009172f0 write_game_state_to_stream ? writes header, player list then 006f9000 + GameState::write into 128K stack buffer, miniz compress (00a850f0/00a85140), 'Buffer overflow'; caller 00916f70 (no callers; online)
00904050 make_timestamp_string sprintf_s(global,0x40,'%02d_%02d_%d__%02d_%02d_%02d'); caller 009047f0 appends it to 'online_logs/desyncs/'
009e14b0 trigger_effect_execute ? called from trigger_set_dispatch; switch on effect type: 0 UseActiveItem, 1 AddCollectibleEffect, 2/4 Spawn, 3 tear flags, 5 Game::Fart; 'Collectible ID out of bounds!'
009cb020 read_entity_save_state_tree ? reads EntitySaveState fields from stream (vtable+0x14) via 00683410, recurses for children (0x78 stride); caller 009cb620 (game state read)
0098dba0 Game::update_map_input ? Game::Update helper: per local player input_is_action_pressed(0xd ACTION_MAP), Level::ShowName(1), HUD_Message::text_out
0097fe60 Entity_Laser::update_sample_points ? update_laser helper: walks +0x480 8-byte vector, angle +0x41c deg->rad, normalize_angle_degrees/atan2
0096d160 Entity_Laser::get_segment_start_dir ? (outPos, outDir): default pos +0x33c, else interpolates between stored sample points; followed by Vector::GetAngleDegrees in update_laser
0097f820 Entity_Laser::spawn_impact_effect loads gfx/1000.050_brimstoneimpact_static.anm2, Spawn; callers update_laser and 009704a0
00417930 Room::init_render_buffers ? Room::constructor helper: allocates 4 buffers (0x4000/0x100/0x800/0x4000 entries), EntityList::Reset, Manager::LoadImage gfx/shadow.png
009956e0 render_color_quad_list ? renders list of 0x4c-byte entries (+0x18..+0x1c) with 'KAGE_ColorShader' via render_quad_set_rect; Room::Render and 0080ea80 (render target pop)
006b6ed0 Entity::get_water_splash_variant ? Entity::Update when room water level >0: picks effect variant (0x40/0x26/0x25/0x1b/0x19) by entity type/variant, Room::IsMirrorWorld
004291c0 update_cutscene_state_machine ? Game::Update after HUD::Update: state 2..5 timers, sound 0x341, Camera::SetFocusPosition lerp, entity_vector_set_flag_410, 00429810(3/5)
009446e0 Camera::update_follow Camera::DoUpdate non-override branch: computes target, ring_buffer_push ('Cannot erase from empty buffer'), Camera::ClampedToRoom
00732fa0 ItemPool::pick_weighted_item ? (pool, rng float) weighted pick with repicks, Item::IsAvailable, RemoveCollectible; '[warn] item pool ran out of repicks'; GetCollectible calls it
00581430 NpcAI::rotgut_fire_projectiles ENTITY_ROTGUT calls on Shoot event; ProjectileParams + Entity_NPC::FireBossProjectiles toward GetPlayerTarget
0074d4a0 Level::prepare_blue_room ? StartRoomTransition: when target room flag 0x40000, builds RoomDescriptor DAT_00c81090 via RoomConfig::GetRandomRoom type 0x1c (ROOM_BLUE), caller sets room idx -0x10
005911b0 NpcAI::siren_release_stolen_items ENTITY_SIREN_main state 0x12: 'Death', AnimateCollectible 'Pickup'/'PlayerPickupSparkle' on owner +0xf40, RemoveCollectible 0x51/0xb, Spawn 0x388
00a13750 kage_graphics_flush ? compares global render state DAT_00c79900.., 00a670c0/00a66e30 submit; called from Entity::PostRender after shader set and 00a11080
00824800 Room::update_ambient_spawns ? Room::Update tail: Room::GetTimeScale, random SpawnEx(1000,0x87) at clamped positions
004bc8c0 NpcHelper::horny_boys_pull_entity ? (slot, targetPos): entity from ring +0xbf4/+0xbf8/+0xbfc, only type 4 (bomb), sets its parent +0x3bc to npc and velocity toward target scaled 10..28
009c6860 load_preloads_xml 'Could not find root node preloads in %s', preload nodes; Game::LoadConfigXmls
005aef20 NpcAI::wormwood_pick_emerge_position ? ENTITY_WORMWOOD_main calls it in state 3 and when _v1 is invalid; GetPlayerTarget/CalcTargetPosition + Room::GetGridIndex, writes +0x334/+0x338 and velocity, _state 3 -> 8, 0xba4 = -1
008d5f70 render_item_info_text ? shared by 008d5440 (CollectibleDesc/Title/ItemPools), 008d5640 (TrinketDesc), 008d57f0 (PocketDesc): string_table_translate + rich_text_render 009efdb0, Game::GetPlayer
008e0660 render_lobby_info ? online lobby panel: '%d / %d Players', '#Online/IN_LOBBY', lobby_mode/lobby_tag/game_difficulty/current_stage, LobbyInfoTextPos, Font::DrawStringScaled; 3 lobby-menu callers
009dbdd0 Menu_Save::update_save_drawings ? swaps gfx/ui/main menu/SaveDrawings/*.png (1SaveFileToGo, Complete1-3, Infinity1-3) per slot layer; callers Menu_Save::Reset, 0098aa30, 009d9c60
009fa450 Weapon_Bone::Fire Weapon_Bone vftable slot 3 (Fire); gfx/tears_brokenbone.png, TryForgottenThrow, Entity_Knife::Shoot
00a0a720 Weapon_Tears::Fire Weapon_Tears vftable slot 3 (Fire); gfuel promo casing/muzzle_flash anm2, GetMultiShotParams, TriggerTearEffects
00aa5250 stb_vorbis::start_decoder stb_vorbis lookup1_values asserts "pow((float) r+1, dim) > entries", ogg.cpp, "vorbis" header check
00800500 Room::update_ambient_sounds this=Room; averages player positions, then SFXManager::SetAmbientSound x8 smoothing volumes stored at Room+0x7084..; called from Room::Update
0080c810 Room::render_grid_entity_light this=Room (+0x1d18 backdrop); switch GridEntity type PIT/DOOR/TRAPDOOR/PRESSURE_PLATE/TELEPORTER drawing glow sprites into light target; called per grid entity from light pass FUN_0080ea80
00a052b0 Weapon_Laser::Fire Weapon_Laser vftable slot 3 (Fire)
00a0e630 Weapon_UrnOfSouls::Fire Weapon_UrnOfSouls vftable slot 3 (Fire)
00aa44d0 stb_vorbis::vorbis_decode_packet_rest stb_vorbis assert "f->alloc.alloc_buffer_length_in_bytes == f->temp_offset" (vorbis_decode_packet_rest), ogg.cpp
00a87970 miniz::tdefl_start_dynamic_block miniz.cpp asserts "code < TDEFL_MAX_HUFF_SYMBOLS_2" and "bits <= ((1U << len) - 1U)" (tdefl_start_dynamic_block/tdefl_optimize_huffman_table inlined)
0078ca00 Entity_Player::Render Entity_Player vftable slot 5 (Entity::Render); IsInvisible, GetFlyingOffset, Font::DrawString
009b31c0 Menu_Options::Render option label layer names (Fullscreen, Gamma, HUDOffset, MapOpacity...), called from menu render dispatcher FUN_0098a040 beside Menu_DailyChallenge::Render
008f06e0 Menu_SpecialSeeds::Render PaperTop/PaperMiddle/PaperBottom, NoAchievement, {numseeds}, Seeds::CanAddSeedEffect, string_scramble_seeded; called from menu render dispatcher FUN_0098a040
00859290 Leaderboard::render_scores Leaderboard state 1 render (TextGlobal/TextFriends/TextMine, SoloScore, "Lv%2d %d:%02d:%02d", #LEADERBOARD_NO_ENTRIES), from FUN_00858050 state switch
00780f40 Entity_Player::update_bomb_input ACTION_BOMB (8) input_is_action_triggered -> place bomb (GetBombFlags, check_bomb_tearflags) or Tainted Blue Baby (playertype 0x19) UsePoopSpell/poop_spell_roll/AddPoopMana; called from Entity_Player::Update (vtable slot 3 = 00782af0)
0085f0f0 lua_searcher_resources_scripts Lua package searcher: appends ".lua", tries "resources/scripts/" path, builds "\n\tno file" message; called by FUN_0085fcc0 ("error loading module")
00950610 Manager::constructor PersistentGameData::constructor at this+0x14 (Manager.zhl _persistentGameData : 0x14), ModManager at +0x2a6c0, Seeds::constructor, CutsceneEntry array; object is g_Manager (DAT_00c7169c)
0054a350 NpcAI::ENTITY_SKINNY_crispy called from NpcAI::ENTITY_SKINNY when type 0xe2 variant 2 (Crispy); strs HeadAngry/HeadTransition/WalkHori/WalkVert
009439d0 Camera::update_focus_position ? real body of Camera::DoUpdate (called unless camera mode 2); "No main player detected when trying to update camera", Epic Fetus target/knife/laser focus, position ring buffers, Camera::ClampedToRoom
00419e70 EntityList::rebuild_sublists ? this=EntityList: clears 8 sublists (FUN_0041baf0 x8), walks entities assigning +0x24 index and pushing by type ("EL: not enough space for push_back"), Entity::CollideWithGrid; called from FUN_004186c0 (EntityList update)
0068b260 Console::Update ? GLFW input.c asserts, Console::FillOmnicomplete; called from Manager update loop FUN_00954cd0 and FUN_006fa540
0080ea80 Room::render_lighting ? Game::Render -> this: sets light render targets (DAT_00c797b4/DAT_00c797cc), renders each entity light then FUN_0080c810 per grid entity, curses via Seeds::GetForcedCurses, then FUN_00825de0 overlay; "PopRenderTarget: stack is empty!"
00825de0 Room::render_darkness_overlay ? called at end of Room light pass FUN_0080ea80; KAGE_ColorShader, Seeds::GetForcedCurses/GetPreventedCurses (Curse of Darkness), render_color_shader_pass, Game::IsPaused
007fe220 Room::update_player_trail_spawns ? Room::Update helper: walks player position history (+0x1794, 16-byte entries, cap 46); Hallowed Ground (0x21f) poop grid spawn, Midas Touch (0xca), trinket 0x5b, spawns effect 1000.33 (PLAYER_CREEP_HOLYWATER) at Game::GetRandomPlayer
00821fc0 Room::is_obstacle_path_valid ? flood fill over 448-cell grid arrays after temporarily placing obstacle (GridEntity_Pit::UpdateCollision, Room::PickupGridEntity); called per candidate from Room::CanSpawnObstacleAtPosition
00741e60 Level::generate_boss_room ? this=Level (+0x182cc _roomCount), param LevelGenerator: picks boss id, FUN_00739080 boss room config ("[warn] could not find matching boss room (boss id: %d)"), RNG::Next, LevelGenerator::GetNewEndRoom/place_room
0093b760 Backdrop::spawn_wall_details ? this=Backdrop (+0x150 backdrop id, +0x4f28 RNG): per wall slot spawns effect 1000.121 embers / 1000.140 decoration entities with gfx/backdrop/*_details, *_torches, *_pipes anm2 by backdrop type; called from FUN_007f1380
00952410 Manager::Init ? zhl has Manager::Init but its sig missed; loads stringtable.sta/stringtable_pc.sta, options.ini (falls back through Repentance/Afterbirth+/Afterbirth/Rebirth dirs), SteamCloud check, Game::constructor, ModManager::ListMods, Seeds::InitSeedInfo
0095df20 Manager::update_state_loading ? Manager update loop FUN_00954cd0 case 3 (menu=1, game=2); "##GAME###Online/WAITING_FOR_PLAYERS", CutsceneEntry::Unload, TextureCache::Purge, netplay message 0x11, "Attempting to create a message when there is no multiplayer service"
00647320 FamiliarAI::apollyons_best_friend Entity_Familiar::Update case 0xe7 (variant 231); EvaluateItems: CheckFamiliar(0xe7, GetTrinketMultiplier(0xba)) with trinket 186 TRINKET_APOLLYONS_BEST_FRIEND; CanBlockProjectiles, TryAimAtMarkedTarget, HitListContains
0064bfa0 FamiliarAI::worm_friend Entity_Familiar::Update case 0xe9 (variant 233); EvaluateItems CheckFamiliar(0xe9) from collectible 0x2aa COLLECTIBLE_WORM_FRIEND; strs GrabLoop/GrabEnd/Shoot, Entity::AddSlowing
0064d5f0 FamiliarAI::star_of_bethlehem Entity_Familiar::Update case 0xec (variant 236); EvaluateItems CheckFamiliar(0xec) from collectible 0x28b COLLECTIBLE_STAR_OF_BETHLEHEM; Level::GetRoomByIdx path toward boss, SpawnEx 1000.0x70
006468a0 FamiliarAI::lil_dumpy Entity_Familiar::Update case 0xd4 (variant 212); EvaluateItems CheckFamiliar(0xd4) from collectible 0x267 COLLECTIBLE_LIL_DUMPY; Game::ButterBeanFart on contact, Idle/IdleFast/IdleFaster
006384a0 FamiliarAI::lil_spewer Entity_Familiar::Update case 0x7d (variant 125); EvaluateItems CheckFamiliar(0x7d) from collectible 0x219 COLLECTIBLE_LIL_SPEWER; ChargeDown/ChargeSide/FloatShootDown, apply_forgotten_lullaby
0061c910 FamiliarAI::punching_bag Entity_Familiar::Update case 0x43 (variant 67); EvaluateItems CheckFamiliar(0x43) from collectible 0x119 COLLECTIBLE_PUNCHING_BAG; PathFinder::EvadeTarget/FindGridPath, QueryRadius
00630c90 FamiliarAI::spider_mod Entity_Familiar::Update case 0x5e/0x71 (variants 94 and 113); EvaluateItems CheckFamiliar(0x5e)/CheckFamiliar(0x71) from collectible 0x193 COLLECTIBLE_SPIDER_MOD; random walk via PathFinder, Room::GetRandomPosition
005971e0 NpcAI::ENTITY_BEAST_soul ? dispatch type 951 (Beast) variant 3; sinusoidal wandering projectile-like body with Game::DamageRadius, random launch angle at state 0
005ad250 NpcAI::ENTITY_VISAGE_chain dispatch type 903 (Visage) variant 10 (chain); siblings ENTITY_VISAGE (0), ENTITY_VISAGE_mask (1), FUN_005ad8a0 (0x14 plasma)
0059c5d0 NpcAI::ENTITY_TURDLET_segments ? called from NpcAI::ENTITY_TURDLET, npc only; BodySegments/Bounce/HeadRotate null frames and layer frames by segment count (+0xc8)
00561580 NpcAI::ENTITY_FLY_orbit_parent ? called from NpcAI::ENTITY_FLY, npc only; steers toward target +0x3bc, timing from Entity_NPC::ParentNPC I1 (>0x28), QueryNPCsSpawnerType
006d9550 NpcHelper::Polty_SpawnRockProjectile called from NpcAI::ENTITY_POLTY; Game::SpawnEx(9,8 = PROJECTILE rock) with Isaac::SwapANM2 of grabbed object sprite, Entity::SetSize x3; returns projectile
006d7520 Entity_NPC::update_blood_guide_gibs ? called from Entity_NPC::Update with Sprite::GetNullFrame("BloodGuide"); for 912.10 (Mother phase 2) or entity-config flag bit 13: spawn_blood_explosion at null frame, BloodStart/BloodStop events, PlayerManager::GetGFuelCount promo effect 1000.17
009a8b90 Entity_NPC::render_debug ? called from Entity_NPC::Render; hsv_to_rgb colored render_quad_set_rect quads, no sprite work
006324d0 Entity_Familiar::render_charge_indicator ? called from Entity_Familiar::Render; plays Charging/Charged/StartCharged/Disappear on ANM2 at +0xdcc from charge timer +0xd4c, apply_forgotten_lullaby, NetplayManager::IsIdxLocalPlayer
00435290 Entity_Effect::render_player_target ? called from Entity_Effect::Render and FUN_00435130; dyncast Entity_Familiar::ExtraData -> UmbilicalBabyData, player-colored (NetplayManager::IsIdxLocalPlayer) quads
0098ef30 Minimap::render_score_time ? caller FUN_0098e4d0 (HUD::Render -> minimap render, "Frame"); #MINIMAP_SCORE_LABEL/#MINIMAP_TIME_LABEL, "%02d:%02d:%02d", ScoreSheet::Calculate, GetExtraLives
0094e910 Menu_Collection::Update MenuManager update FUN_009897d0 case 8 (MainMenuType COLLECTION); pages of 0x78 items, ItemConfig::GetCollectible + Manager::LoadImage
00a1c7d0 Font::draw_glyph_run ? called by GenericPrompt::Render and menu renders; KAGE_ColorTextureShader, horizontal alignment switch on FontSettings (3-5 center, 6-8 right) over 12-byte glyph vector, "Shader stack empty"
00409cb0 render_build_sprite_quad ? called by AnimationLayer::RenderFrame, Game::Render, Entity_Player::Update/Render; flips via sign bit from layer flags (+0x100/+0x101), KColor::SetFromARGB then FUN_00a10950/FUN_00a10760 quad submit
0080e320 Room::pick_special_clear_award ? called from Room::SpawnClearAward; by room +0x1bb0 type switch writes collectible ids (0x27f, 0x180, 0x242, 0x219) checked with ItemPool::is_collectible_available, RNG::RandomInt
007fa360 Room::remove_grid_entity_for_spawn ? called from Room::SpawnClearAward after FindFreePickupSpawnPosition with grid index; nulls grid slot (+0x24 array) and +0x76c entry, fixes neighbor pits (GridEntity_Pit::UpdateCollision), QuerySublist
007f0870 Room::check_line_collision ? bool(Vector* from, Vector* to, ..., char, ...) stepping the grid with Room::GetGridCollision over 0x1c0 cells; used by NpcAI::ENTITY_CLICKETY_CLACK and FUN_009a0520; sibling of Room::CheckLine
008128f0 Room::render_debug_grid_values ? called from Room::Render; sprintf_s of per-cell +0x76c value for every grid cell, drawn with font FUN_00a1bb10/FUN_00a1bd80
00713ee0 GridEntity_Pit::update_sprite_edges ? called from GridEntity_Pit::PostInit; checks 8 neighbors via FUN_00813420(x,y) to pick edge animation/layer frames ("LayerId out of bounds")
0096f070 Entity_Laser::copy_from_parent ? called from Entity_Laser::update_laser; copies timeout/flags/offset fields from param laser (+0x3dc,+0x4d4,+0x4e0,+0x500..0x515) then Entity_Laser::ResetSpriteScale
00967650 Entity_Knife::update_target ? called from Entity_Knife::Update; scans room entity list for Entity::IsVulnerableEnemy not IsDescendantOf parent (+0x3c8) within range, atan2f, stores +0x3c4
0075a700 Entity_Player::update_item_anims ? this=Entity_Player (+0x1220 item-anim array of 0x130 entries, count +0x122c); Weapon::is_held_item, "_Overlay" ANM2::SetOverlayAnimation; called from Weapon::UpdateHeadChargeAnimation
00745ca0 Level::get_stage_display_name ? string out; RoomConfig::GetStageID + RoomConfigStage::GetDisplayName, appends "!"/"!!"/"!!!"/"!V"/" Spikes"/"... Please stop." suffixes, string_scramble_seeded; called by Level::GetName and menus
007387d0 RoomDescriptor::operator_assign copies 0x2e dwords (RoomDescriptor size 0xb8) from param to this; called from Level::reset_room_list
009beba0 players_center_position ? (Vector* out, bool useCache): averages positions of local non-coop-ghost players (PlayerManager list at Game+0x1baa8, netplay local check), frame-cached; used by camera update, Room::update_ambient_sounds, NpcAI::ENTITY_DOGMA
009ae640 LevelGenerator::try_place_room ? called from level generator FUN_00739370; LevelGenerator_Room::constructor + get_door_target_position + place_room, returns success
00420ba0 Game::load_bossoverlays_xml called from Game::LoadConfigXmls with "bossoverlays.xml"; parses anm2root/entry/persist/bossoverlay attributes via xml_node
008d2450 EmoteWheel::Render ? ECX = Game+0x25108 (emote menu), reads the state (+4) and emote-set vector (+0x7cc) its update 008d1f20 uses (was Game::render_debug_overlay)
0090f760 NetplayManager::process_drop_player_message "Recieved Drop Player Message", eDropMessageType::MSG_DROP_EXECUTE, "This function should only be called on consolidated messages"; called from FUN_0090b150
00a5cd20 _glfwCreateWindowWin32 GLFW win32_window.c: "Win32: Failed to register window class", "Win32: Failed to create window", GLFW_ICON, "Win32: Failed to query monitor DPI"
00a83290 _glfwCreateContextEGL GLFW egl_context.c: "EGL: Failed to create context: %s", "EGL: Failed to bind OpenGL", attribs assert
00a98430 png_read_row libpng pngread.c: "NULL row buffer for row %ld, pass %d", "png_do_dither returned rowbytes=0"
00ad6ad0 jpeg_idct_islow libjpeg jidctint.c: reads coef rows 0/2/4/6 (0x20/0x40 byte strides) times quant table, CONST_BITS 13 shift, range_limit = cinfo->sample_range_limit + 128 (cinfo+0x124)
00abc500 dsp_init_sincos_table ? (this, int n): 2*pi/n (DAT_00baa7a8 = 6.2831855) then libm cos/sin per element, 3855 bytes of pure arithmetic with no game calls; once from FUN_00abd410 <- FUN_00acebf0 (memset/alloca, no strings) in the audio/image library block before jpeg_idct_islow
00586c40 NpcAI::ENTITY_SCOURGE_projectile_attack ? called every 30 frames from the Scourge 909.0 body (00587aa0, misnamed Entity_Familiar::HandleCollision) when target +0x3c0 set; ProjectileParams + Entity_NPC::FireProjectiles toward Entity_NPC::GetPlayerTarget, Game::Spawn
0083c8d0 HUD::update_item_info ? called last in HUD::Update; item description panel: "##GAME###ITEM_INFO_UNIDENTIFIED", "<color=0xFF00FF00>Spins down into <collectible=" (Spindown Dice 0x2d3), ItemConfig::GetCollectible/GetTrinket/GetCard, ItemPool::GetPillEffect, questionmark.png; sub-object with ANM2 at +0x10
009555c0 Manager::Render ? sits right after Manager::Update (FUN_00954cd0, 2223 bytes); renders Game::Render then menu render dispatcher FUN_0098a040 into targets with Exposure/Gamma/ScreenSizePow2 shader uniforms, Font::DrawString; caller FUN_008fb120 (main loop, "Updating mod")
007ae4b0 Entity_Player::RestoreGameState GameStatePlayer* param: SetControllerIndex from state[0x149], playerType, "Could not load config for player type"; caller passes player+0x20ec (_unlistedRestoreState 0x20c0 + 0x2c drift); zhl sig missed
0043aa90 Entity_Familiar::ai_wisp Entity_Familiar::Update callee; variant 0xce (WISP), ItemConfig::get_wisp_config, subtypes 0x28a/0x2c5/0x25c items, SpecialDown/SpecialUp anims
008c66a0 Menu_Bestiary::Render draws #BESTIARY_KILLS/DEATHS/HITS/HP text, GetBestiaryKillCount, EntityConfig::GetBestiaryConfig; ECX = MenuManager+0xd4d0 (zhl _menuBestiary 0xd490 + drift) in menu render aggregator 0098a040
008ddae0 Menu_OnlineLobby::Render strings LobbyList, RefreshButton/FiltersButton/CreateButton Position, EnterPasswordPaper, "Unhandled scope type (%d) in Menu Lobby List"; called from MenuManager::Render 0098a040
009356a0 Backdrop::render_floor_to_target ? called from Backdrop::load_details helper 009353b0; SetRenderTarget+Clear, tiles 13x7 rects (0xd,7) and 2x2 corner pieces, RNG variant pick
0072ece0 ItemConfig::LoadBombCostumes parses bombcostumes.xml (bombcostumes/anm2root/rule/includeFlags/excludeFlags/front/front2/overlay/suffix); ECX=Manager+0x2a404 (ItemConfig in this exe), stores at this+0x110; caller loads all config xmls
004186c0 EntityList::Update "EntityList: e_update is empty!", "EL: invalid index for remove"; iterates update list calling Entity vtable +0xc (Update); callers Room::Update, Game::update_pending_pickup_animations
0061a4e0 Entity_Familiar::ai_pickup_sack ? Entity_Familiar::Update cases 0x18/0x40/0x5a/0x66 (Bomb Bag-style pickup spawners): PreSpawn/FloatDown anims, FindFreePickupSpawnPosition, ThrowSpider/spawn_blue_spider, BFFS 0xf7 check
00650610 Entity_Familiar::ai_variant_242 ? Entity_Familiar::Update case 0xf2: "Transform" anim, GetSeededCollectible + MakeShopItem + AssignOptionsIndex, FirstPlayerByType(0x21), RemoveFromFollowers
00440f00 NpcAI::ENTITY_BEAST_ultra_death 951 Beast variant switch case 0x28 (variant 40 Ultra Death) at 006c4186; anims Swing/SwingPrepare(Loop)/SummonStart/Loop/End, spawns 951.41 (scythe) and 951.42 (skull) on "Shoot" event; npc_ai.tsv only lists NpcAI::ENTITY_BEAST
0044f2b0 NpcAI::ENTITY_BEAST_ultra_war_bomb ? 951 variant switch case 0x1f (variant 31) at 006c417d; "Pulse" anim, falls until y > room bottom-30 then spawns 1000.181 + Game::BombDamage/BombExplosionEffects, RemoveWithPoof; inlined Game::Spawn pickup randomization
00447180 NpcAI::ENTITY_BEAST_ultra_famine_fly ? 951 variant switch case 0xb (variant 11); m_Parent downcast, CalcTargetPosition, IsPositionInRoom, 1299 bytes
00444900 NpcAI::ENTITY_BEAST_ultra_death_head ? 951 variant switch case 0x2a (variant 42); "DieLoop", MakeGroundPoof, SFXManager::Stop, Game::start_poop_cloud_screen_effect
00471050 NpcAI::ENTITY_GEMINI Gemini (79) inline case: after FireProjectiles, variant < 10 -> this (variants 10..19 Contusion/Suture -> 00471cc0); anims Hori/Vert/WalkHori/WalkVert/IdleHead/RageBody, m_Child downcast, SetBossColorIdx, PathFinder::FindGridPath
004b0a30 NpcAI::ENTITY_DOGMA_tv 950 Dogma block 006c40c7 switches on variant-1: variant 1 -> this, variant 2 -> 004ae4d0; anims Destroyed/Shoot/Transition, ChildNPC, RemoveStatusEffects
008453c0 PlayerHUD::RenderActiveItem (slot, ANM2*, layout, size, alpha): BarEmpty/BarFull/BarOverlayN charge bar layers, GetTotalActiveCharge/GetActiveMaxCharge, ItemConfig::GetCollectible, HasPlayerForm; zhl sig missed
00854940 InfoDisplayConfig::parse_item_node ? parses info_display.xml item nodes: id/info/text with player/notplayer/collectible/notcollectible/trinket/nottrinket/achievement/tag conditions; caller 0084eba0 reads cards/collectibles/pills/trinkets groups, ECX=Manager+0x2a530
009b23a0 Menu_Options::Update called from MenuManager::Update (009897d0) with ECX=MenuManager+0xcecc (zhl _menuOptions 0xce8c+0x40) and +0xeb50 (second options instance); "Lua is resetting!", mods toggle -> reload xml/anm/texture caches, OptionsConfig::Save/SetMusicVolume
008d8b00 Menu_KeyConfig::Update ECX=MenuManager+0xd284 in MenuManager::Update (zhl _menuKeyConfig 0xd244+0x40); "ActionId is out of range", input vtable polling
008ccc70 Menu_OnlineMode::update_mode_select ? ECX = MenuManager+0xedd8; parent 008cbfe0 is case 0x15 of MenuManager::Update (Menu_Online is +0xda98) (was Menu_Online::update_mode_select)
0079f3c0 Entity_Player::update_ladder called every Entity_Player update: HasCollectible(60 Ladder), player+0x1424 cached effect ptr, spawns 1000.8 (EffectVariant LADDER) via inlined Game::Spawn, GridEntity_Pit::UpdateCollision, trigger_set_dispatch
00813d90 Room::init_shop_item_slots ? called by Room::ShopRestockFull on room types 2/0x16: fills RoomDescriptor+0x94..0xa2 int16 shop slot item types (RNG::Shuffle), ShopItemIdx 0xac / ShopItemDiscountIdx 0xae, IsGreedMode
0080bd20 Room::render_player_light ? Room::Render loop over room players: renders Room+0x6e40 ANM2 at player pos scaled by TemporaryEffects::GetNullEffectNum(0x4a) (max 4) when HasNullEffect(0x4a), RandomFloat flicker, _babySkin==0x42 branch
008d4940 OnlinePlayerInfo::render_items ? layers Items/Trinkets/Cursor, Entity_Player::HasCollectible/HasTrinket, ModManager::RenderCustomCollectionItem; chain Game::Render -> 008d2450 (Game+0x25108, Rep+ struct after PauseScreen) -> 008d3640 (BackButton) -> this
0095b310 Manager::update_controller_popups ? ##GAME###CONTROLLER_DISCONNECTED_* / RESELECT_CONTROLLER_* / ##PLATFORM###UNRECOGNIZED_CONTROLLER_* strings, SetControllerIndex; called from main loop 00954cd0
005c88a0 Entity_Player::reroll_collectibles_on_damage only caller take_damage_impl; playerType 0x1e (Tainted Eden) check, CanRerollCollectible, ItemPool::GetCollectible/ResetCollectible, AddCollectible, ClearCostumes, zeroes stat modifiers
005caa70 Entity_Player::console_spawn ? ECX=player (pos +0x33c, +0x1770), param_1 = parsed spawn vector (type,variant,subtype,count), from Isaac::ExecuteCommand handler 0068cdc0; AddCharmed/LoadDeliriumForm/AddWisp/ShowHallucination/AddPersistentEntity options
004f5f20 NpcHelper::ball_and_chain_render_chain Entity_NPC::Render for type 0x37d (893 Ball and Chain) when pos.y past targetPosition: renders chain layer segments via Sprite::RenderLayer
00970cb0 Entity_Laser::find_nearest_grid_hit ? ECX=laser: walks sample vector +0x48c..+0x490 offset by param_2, Room::GetGridCollision/IsPositionInRoom, stores min distance +0x544 and point +0x548/+0x54c; caller 009737b0 (from update_laser/UpdateHits) presets +0x544 = +inf
0099f2c0 laser_sample_trace_entities ? called from Entity_Laser::update_laser; ECX struct {laser*, x0,y0,x1,y1,...}: Entity::IsDescendantOf filter, Room::CheckLine(…,3), steps +0x13 by 24px and rewrites end point [3],[4]
008e9ac0 Menu_OnlineLobby::init_lobby_view ? zeroes lobby fields (+0x68c..+0x954), sets "PlayerInfo" anims per slot, sends "current_stage"/"current_stage_type" message ("Attempting to create a message when there is no multiplayer service"); callers: MATCH_ENDED, LOBBY_KICKED, lobby joined
009f1380 rich_text_parse_icon_tag ? str_eq on tag names player/pickup/rooms/collectible/color/default/redheart/soulheart/blackheart, advances x by icon width and sets kind 2/3/4; called from text renderer 009f0290 used by PlayerHUD::RenderHearts and Rep+ player info
0042fba0 OnlineEmotes::load_anm2 ? loads gfx/OnlineEmotes.anm2 into this+0x14 and this+0x128 (Angel/Bubble/Devil/Happy/Heart/Nicalis/QuestionMark/RaiseHand/ThumbsUp/...); called from 008d1d60 in Game::LoadConfigXmls
00634b10 Entity_Familiar::ai_lil_spewer ? Entity_Familiar::Update case 0x77: FollowParent, TryFireTear, Sprite::ReplaceSpritesheet + LoadGraphics picked by RNG (pill-colour style), convert_shot_for_enemy_owner, forgotten lullaby
006424d0 Entity_Familiar::ai_bird_cage Entity_Familiar::Update case 0xd2 (210 Bird Cage): Flying/JumpDown anims, Game::BombDamage + ShakeScreen on landing, PickEnemyTarget, flies via 0061b8c0
0061b8c0 Entity_Familiar::ai_flying_bird ? Entity_Familiar::Update cases 0xe/0xf/0x3f and from Bird Cage 006424d0: Flying (0xe,0xd2), FlyingTransparent (0xf), Float/FloatChase (0x3f), Idle; PickEnemyTarget
0062d300 Entity_Familiar::ai_incubus_shot ? Entity_Familiar::Update cases 0x3d/0x6c/0xe6 after FollowParent: IsLilithBirthrightIncubus, get_incubus_umbilical_whip, PlayCharge/Shoot/FloatAnim, FireBrimstone/FireProjectile mimicking player (Incubus / Lil Brimstone / Twisted Pair style)
00632820 Entity_Familiar::ai_lil_monstro ? Entity_Familiar::Update case 99: QueryRadius(8) for enemy, Room::CheckLine, "Attack" anim then TryFireTear burst on "Shoot" event
004307c0 init_engine_parameters IsaacMain before KAGE init: "%s/options.ini", "The Binding of Isaac: Repentance+", "1.9.7.16", EnableEpicOverlay, "SetEngineParameters must be called before calling KAGE::Initialize"
0090b150 NetplayManager::Update ECX=Manager+0x4b3d8 (zhl _netplayManager 0x4afb8 + Rep+ drift, fonts drift ~+0x400 too) from main loop 00954cd0; "[Frame %d] Executing delayed game start", #Online/LOBBY_JOIN_DAILY_*
008f92b0 ModEntry::parse_metadata_xml ECX=ModEntry: metadata/name/directory/description/version/visibility/tag/id into _directory 0x0, _name 0x18, _metadataDescription 0xa8 (zhl ModEntry)
006d0ec0 NpcHelper::fireplace_moveable_update NpcAI::ENTITY_FIREPLACE for variants 10/12/13 (moveable fireplaces): Appear/Disappear anims, IsFrame, GetIntervalTicks, SoundEffects::Play
00951920 Manager::load_fonts loads font/TeamMeatEx/TeamMeatEx10/12/16.fnt, Upheaval, PFTempestaSevenCondensed, CJK/LanaPixel, KR_MeatFont14, MPlus_12b into Manager fonts (+0x4ae70..), ModManager::TryRedirectPath
0094bee0 Menu_Character::render_portraits ? ECX=MenuManager+0x1534 (zhl _menuCharacter 0x1530+4) via 0094a500; ModManager::RenderCustomCharacterPortraits, Menu_Character_Entry::IsCharacterAvailable, entry sprites +0xb50
00834680 Game::LoadBossRushXml Game::LoadConfigXmls callee: FileSystem::Open, root "bossrush", chunks/numWaves/spawnsPerWave/enemy/variant/count
004d33d0 NpcHelper::moms_heart_attack_pattern NpcAI::ENTITY_MOMS_HEART calls it as (v1.y pattern, stateFrame) in states 8 / i1==5: switch(pattern) fires FireProjectiles rings, Entity_Laser::ShootAngle, "Heartbeat" event
00998880 GameOver::Render ECX=Game+0x1d520 (zhl _gameOver 0x1d4c8 + drift) in Game::Render; anm2 at this+8 (zhl GameOver.anm2 0x8), Seeds::Seed2String at "SeedPos" null, "Player%d Text", "DeedsMe" layer, ModManager::RenderCustomCollectionItem
006f37e0 Game::create_render_surfaces Game::constructor + resize path 007084c0: creates "Pixelation Surface", "Bloom Surface", "Old TV Surface", "Hallucination Surface/Snapshot", "Colormod Surface"
009a36d0 HUD::show_fortune_text_impl ? ECX=Game::GetHUD(); Entity_Slot::Update passes string_table_translate("#YOU_FEEL_BLESSED"); converts to wide chars (0x100 buf), std::list "list too long"; 0085eca0/00912560 are the ShowFortuneText entry points
00576090 NpcHelper::raglich_pick_target_pos ? NpcAI::ENTITY_RAGLICH only caller (twice, before GetPlayerTarget): GetAxisAlignedUnitVectorFromDir, Room::GetGridIndex, GetClampedPositionImpl, IsPositionInRoom
009f6610 Weapon::fire_laser ? Weapon::Fire callee (pos, dir, ..., flags): Entity_Player::FireTechLaser or Entity_Laser::ShootAngle with Weapon::GetOwnerLaserOffset, sets laser+0x515
0073f620 Level::reveal_room_visibility ? recursive over room descriptors from Game::UpdateVisibility: FirstCollectibleOwner(0x4c X-Ray Vision) reveals secret doors, spawns 1000.36, Level::GetNeighborRoomIdx, HasMirrorDimension
00748d40 Level::find_matching_room_idx ? Level::ChangeRoom loop: GetRoomByIdx(param), compares every room's stage/type/variant/shape fields (stride 0xb8) against it and _startingRoomIndex, returns idx or -1
00739080 Level::pick_boss_room_config ? ECX = boss id (0x59 Mausoleum Mom with game state flag -> GetRandomRoomWithFallbackStage), RoomConfig::GetRandomRoom retry loop (50 tries) filtering room subtypes; callers include Level::TryInitializeExtraBossRoom
0058ac10 NpcHelper::singe_explode_at NpcAI::ENTITY_SINGE_body passes target pos: QueryRadius/QuerySublist, Game::BombExplosionEffects, ShakeScreen, ButterBeanFart
006444d0 Entity_Familiar::aim_reflected_projectile ? Entity_Familiar::HandleCollision with projectile (type 9): if flag 0x100 and owner target -> GetPlayerTarget, else picks nearest valid enemy (skips 802/866 friendlies) and returns direction/speed for the knocked-back shot
009e31b0 Room::render_pit_rails Room::Render callee: "pitrail" anim, per grid cell (<0x1c0) with rail flag, SetFrameFloat
0064a830 Entity_Familiar::load_config_graphics ? Entity_Familiar::Init (and Menu_Stats::Render preview): ItemConfig::get_wisp_entry, ANM2::Load(entry+0x74), Hungry Soul ReplaceSpritesheet "hungry_%d.png" (hp/5)
00499580 std::string::replace (pos, count, const char*, count2) with _Xlen/memmove; NpcAI::ENTITY_PIN replaces "Bosses/AfterbirthPlus/DeliriumForms"
00961870 Entity_Knife::spawn_child_knife ? ECX=knife (+0x4e5 once-flag, subtype 0/1): SpawnEx(8, same variant, pos, parent=this), child+0x3bc=this, Entity_Knife::InitHomingPath; called from Entity_Familiar::Update when knife IsFlying within 25px
00a8ca10 VideoClip_Theora::_load theoraplayer: calls readTheoraVorbisHeaders, FrameQueue::setSize, vorbis_synthesis_init, th_granule_frame; "unable to determine file duration!" is theoraplayer's _load message (was KAGE_Audio::open_sound_file)
0043db20 Entity_Familiar::ai_mr_me_wisp called from Entity_Familiar::ai_wisp (0043aa90) for wisp subtype 0x20f (COLLECTIBLE_MR_ME 527): state this+0xd84 1/2/3 walks to grid targets (x%w*40+40, y*40+120), Entity_Pickup::TryOpenChest, GridEntity_Door::TryUnlock/TryBlowOpen/Open, Game::BombDamage, AddToOrbit
00619270 Entity_Familiar::ai_auto_shooter ? Entity_Familiar::Update case 2 (Demon Baby) shared by variants 6/0x35/0x4c/0x6d (and wisp 0xce/0xed branch): QueryRadius(8) + Room::CheckLine(...,900) for a target, spawns 2.1 tears with apply_tear_modifiers, cooldown this+0xd50=12, anims Float/FloatDown/StoppedDown
#
# Corrections found by the tier-3 pass (checked: strings/callers). Short REPENTOGON sigs and ICF put these names on the wrong function.
00782af0 Entity_Player::Update 34 KB vtable slot 3; "Controller %d has disconnected", status-effect anims; ZHL had put the name on 006d97e0
006d97e0 Entity_NPC::zhl_misfit_006d97e0 ? tests boss types (0x47..0x4c, 0xdf), Morph/BloodExplode; ZHL prefix20/55 called it Entity_Player::Update
00779b40 Entity_Player::update_body_animations ? Head*/Walk*/Blink/Shimmer anims, only caller Entity_Player::Update; ZHL called it RoomTransition::Update
00830950 RoomTransition::ChangeRoom uses _roomIndex/_direction, Game::ChangeRoom, boss intro; ZHL had put the name on 006414c0
006414c0 Entity_Familiar::zhl_misfit_006414c0 ? only caller Entity_Familiar::Update; +0x184=5, Random()%3; ZHL called it RoomTransition::ChangeRoom
008318a0 RoomTransition::Update ? state machine on this+0x1c that calls ChangeRoom; TeleportDown/Pickup anims
00592460 NpcAI::ENTITY_BEAST 951.0 (dispatcher default case); BGIdle/BlastLoop/Blink/DeathRay
00596120 NpcAI::ENTITY_BEAST_stalactite 951.1; TopCrackedBase/TopCrackedTip; NpcTable named it ENTITY_BEAST (first case)
00587aa0 NpcAI::ENTITY_SCOURGE 909.0 (variant != 10); Idle/HoverLoop/Death/Shoot; ZHL exact sig called it Entity_Familiar::HandleCollision (real one 006261f0)
00584140 NpcAI::ENTITY_SCOURGE_chain 909.10 chain segment; NpcTable named it ENTITY_SCOURGE
00843df0 PlayerHUD::RenderHearts ui_hearts.png, CurseHeart, HolyMantle*; ZHL had put the name on 0083eae0
0083eae0 PlayerHUD::render_pocket_item_info ? #ITEM_INFO_UNIDENTIFIED_CARD/PILL/RUNE strings; ZHL called it RenderHearts
007a3430 Entity_Player::ReviveFromTrinket "No revival effect associated with trinket %d"; ZHL had put the name on 00923920
00923920 NetplayManager::update_text_popup ? only caller NetplayManager::Update, TextIn/TextOut/TextStay; ZHL called it ReviveFromTrinket
0098a040 MenuManager::Render ? sub-menu render list (MenuManager+0xdd4/0x2688/0x27b8/0xd4d0)
009897d0 MenuManager::Update per-state switch: Menu_Character/Stats/CustomChallenge::Update
00981140 Menu_Game::Update MenuManager::Update case 3; "ModsKey", Online/CONNECTING_TO_SERVER; ZHL had put the name on 00a8ab60
00a8ab60 theora_create_video_clip ? theoraplayer strings "Creating video from data source"; ZHL called it Menu_Game::Update
00a03f90 Weapon_Knife::Fire Weapon_Knife vftable slot 3 (RTTI walk); ZHL prefix24/43 called it Menu_Game::online_mods_check
008c99b0 Menu_ControllerSelect::Render ? in MenuManager::Render list with MenuManager+0xd154
007d7740 Entity_Player::RecomputeWispCollectibles ? matches REPENTOGON's RecomputeWispCollectibles_TriggerCollectibleRemoved hook site
# The Lua "Font" class table was attributed to KColor; these are Font methods (0085e470 is Font::Load(path, 0))
0085e450 Font::EnableAutoWrap Lua Font table
0085e470 Font::Load Lua Font table
00a1a5c0 Font::SetAlignment Lua Font table
00a1a5d0 Font::SetMaxCharacters Lua Font table
00a1a5e0 Font::GetMaxCharacters Lua Font table
00a1a5f0 Font::IsAutoWrapEnabled Lua Font table
00a1a600 Font::EnableTruncation Lua Font table
00a1a620 Font::IsTruncationEnabled Lua Font table
00a1a630 Font::SetMissingCharacterOverride Lua Font table
00a1ad90 Font::Unload Lua Font table
00a1ae70 Font::GetCharacterWidth Lua Font table
00a1aea0 Font::GetLineHeight Lua Font table
00a1aeb0 Font::GetBaselineHeight Lua Font table
00a1b140 Font::DrawString Lua Font table
00a1b3b0 Font::SetMissingCharacter Lua Font table
00407280 Font::SetLineHeightModifier Lua Font table
# Weapon vtable slots (RTTI walk of the exe's vftables)
00a0d870 Weapon_Tears::Update vftable
00a0d850 Weapon_Tears::Reset vftable
00a0d8e0 Weapon_Tears::GetMaxCharge vftable
009f9aa0 Weapon_Bone::Free vftable
009fa220 Weapon_Bone::Update vftable
009fed90 Weapon_Bone::Reset vftable
009fedf0 Weapon_Bone::ClearReferences vftable
009feeb0 Weapon_Bone::GetMaxCharge vftable
00a052a0 Weapon_Laser::Reset vftable
00a063b0 Weapon_Laser::ClearReferences vftable
00a06870 Weapon_Laser::GetMaxCharge vftable
00a04f90 Weapon_Knife::ClearReferences vftable
00a05010 Weapon_Knife::GetMaxCharge vftable
009f9b60 Weapon_Bombs::Fire vftable
00a031b0 Weapon_Deathmatch::Fire vftable
00a036e0 Weapon_Fetus::Fire vftable
00a0d9c0 Weapon_TechX::Fire vftable
00a08d40 Weapon_Rockets::Fire vftable
00a099e0 Weapon_SpiritSword::Fire vftable
00a06a30 Weapon_Ludovico::Fire vftable
00a0e270 Weapon_UmbilicalWhip::Fire vftable
0078dc20 Entity_Player::RenderShadowLayer vftable slot 6
00954cd0 Manager::Update main loop
#
# Vtable slots named from the base class layout REPENTOGON declares (python3 -I scripts/vtable.py bin/isaac-ng.exe dump/functions.tsv zhl_vtables.tsv)
006a7ee0 Entity_Dummy::Free vtable slot 0 of Entity_Dummy; slot name from Entity
006a7f20 Entity_Dummy::Init vtable slot 1 of Entity_Dummy; slot name from Entity
006a7f30 Entity_Dummy::Update vtable slot 3 of Entity_Dummy; slot name from Entity
006a7f80 Entity_Dummy::Render vtable slot 5 of Entity_Dummy; slot name from Entity
00754d60 Entity_Player::Free vtable slot 0 of Entity_Player; slot name from Entity
00757a40 Entity_Player::ClearReferences vtable slot 17 of Entity_Player; slot name from Entity
00757ab0 Entity_Player::CanShutDoors vtable slot 18 of Entity_Player; slot name from Entity
005ccc60 Entity_Text::Free vtable slot 0 of Entity_Text; slot name from Entity
005ccca0 Entity_Text::Init vtable slot 1 of Entity_Text; slot name from Entity
005ccd80 Entity_Text::Update vtable slot 3 of Entity_Text; slot name from Entity
005cd2e0 Entity_Text::Interpolate vtable slot 4 of Entity_Text; slot name from Entity
005ccfc0 Entity_Text::Render vtable slot 5 of Entity_Text; slot name from Entity
009f9880 Weapon_Bombs::Free vtable slot 0 of Weapon_Bombs; slot name from Weapon
009fa190 Weapon_Bombs::GetFocusEntity vtable slot 9 of Weapon_Bombs; slot name from Weapon
009fa1b0 Weapon_Bombs::GetMarkedTargetVariant vtable slot 12 of Weapon_Bombs; slot name from Weapon
009fef20 Weapon_Bone::TriggerNewRoom vtable slot 11 of Weapon_Bone; slot name from Weapon
009ff1a0 Weapon_Bone::CanTriggerCursedEyeTeleport vtable slot 14 of Weapon_Bone; slot name from Weapon
009ff210 Weapon_Bone::CanTriggerKidneyStone vtable slot 15 of Weapon_Bone; slot name from Weapon
009ff230 Weapon_Bone::CanOverrideForgottenThrow vtable slot 16 of Weapon_Bone; slot name from Weapon
00a036b0 Weapon_Deathmatch::GetMaxCharge vtable slot 6 of Weapon_Deathmatch; slot name from Weapon
00a03f60 Weapon_Fetus::GetMaxCharge vtable slot 6 of Weapon_Fetus; slot name from Weapon
009f99b0 Weapon_Knife::Free vtable slot 0 of Weapon_Knife; slot name from Weapon
00a05060 Weapon_Knife::SupportsTractorBeam vtable slot 13 of Weapon_Knife; slot name from Weapon
009f9930 Weapon_Laser::Free vtable slot 0 of Weapon_Laser; slot name from Weapon
00a068e0 Weapon_Laser::CanTriggerCursedEyeTeleport vtable slot 14 of Weapon_Laser; slot name from Weapon
00a099a0 Weapon_Rockets::GetMarkedTargetVariant vtable slot 12 of Weapon_Rockets; slot name from Weapon
00a0a6f0 Weapon_SpiritSword::Reset vtable slot 4 of Weapon_SpiritSword; slot name from Weapon
00a0a700 Weapon_SpiritSword::GetMaxCharge vtable slot 6 of Weapon_SpiritSword; slot name from Weapon
009f9900 Weapon_Tears::Free vtable slot 0 of Weapon_Tears; slot name from Weapon
00a0d950 Weapon_Tears::CanTriggerCursedEyeTeleport vtable slot 14 of Weapon_Tears; slot name from Weapon
00a0e260 Weapon_TechX::GetMaxCharge vtable slot 6 of Weapon_TechX; slot name from Weapon
009f97e0 Weapon_UrnOfSouls::Free vtable slot 0 of Weapon_UrnOfSouls; slot name from Weapon
00a0f410 Weapon_UrnOfSouls::Reset vtable slot 4 of Weapon_UrnOfSouls; slot name from Weapon
00a0f420 Weapon_UrnOfSouls::ClearReferences vtable slot 5 of Weapon_UrnOfSouls; slot name from Weapon
009f3170 Weapon_UrnOfSouls::GetMainEntity vtable slot 10 of Weapon_UrnOfSouls; slot name from Weapon
# Vtable audit: functions in a declared slot whose current name came from a wrong sig (even an "exact" one)
007729d0 Entity_Player::TakeDamage Entity_Player vtable slot 8 (TakeDamage), 25 KB
0099b520 GridEntity_Gravity::PostInit GridEntity_Gravity vtable slot 1; Tiles_Itemdungeon(_Gideon).anm2; ZHL exact sig said Entity_Player::InitPreLevelInitStats
00721310 GridEntity_Wall::PostInit GridEntity_Wall vtable slot 1; Brick/LowBrick/Decoration anims; ZHL prefix29/30 said Entity_Player::TryRemoveTrinket
0074bae0 Level::get_secret_exit_kind the floor's secret exit door kind (1 Downpour, 2 Mines, 3 Mausoleum, 4 Mom's Heart) by depth and path; read 2026-10-24 (alt_path.md)
0074bba0 Level::get_secret_exit_room makes room -10 lazily: kind 4 a boss room of subtype 90, else a ROOM_SECRET_EXIT of that subtype (alt_path.md)
0070d360 GridEntity_Door::get_secret_exit_kind the -10 room's subtype for a secret exit door, 4 for a subtype 90 boss room (alt_path.md)
0074f0c0 Level::generate_mirror_world copies dimension 0's rooms into dimension 1, the treasure room as subtype 34 (alt_path.md)
0074f360 Level::generate_mineshaft dimension 1's eight fixed mineshaft rooms (subtypes 11, 30, 20) (alt_path.md)
007f01c0 Room::update_door_transitions players walking into doors start room transitions; a 0x10 door (mirror) passes while not open (alt_path.md)
009be850 PlayerManager::add_lost_curse null item 112 for every player (white fire) (alt_path.md)
007d87a0 Entity_Player::spawn_ghost_corpse effect 1000.6 playing the player's Death, before the Lost Curse (alt_path.md)
00739370 Level::place_special_rooms the level's special rooms: boss, shops, treasure, mirror/mineshaft/photo door rooms (alt_path.md)
00732fa0 ItemPool::pick_weighted GetCollectible's draw: cumulative base weights (+4), keeps a pick with chance running/base (+8), then running -= DecreaseBy (+0xc), under RemoveOn (+0x10) removed (characters_9.md)
00794e50 Entity_Player::update_effects per-tick player update: Dark Arts snaring (+0x2004/+0x2008/+0x200c), the end blast, Mars, hallowed ground... (characters_9.md)
00848d20 PlayerHUD::render_inventory Tainted Isaac's inventory slots (max/2 columns, 12 px, ui_inventory Dot/Select) (characters_9.md)
00431be0 Entity_Familiar::ai_umbilical_baby familiar 3.240: launch over frames 3-10 (180 * eased f, sinc swing 20), cord capsule hits (radius 16, x3), reel-in (characters_9.md)
0072b230 ItemConfig::load_locust locusts.xml entry loader: +0x74 speed, +0x78 scale, +0x7c collisionInterval, count, gfx/colors (characters_9.md)
007b0070 Entity_Player::spawn_dark_esau Dark Esau 866.0 at a free spot >= 80 px off (20 tries), stored at +0x1fc0 (characters_9.md)
007dba30 Entity_Player::is_evil_charm_immune true if the player has Evil Charm (632, item or effect) and the source type/variant is a creep/hazard it blocks (case list incl. 1000.22-26, 1000.169); creep damage skips the hit (dogma_effects.md)
00435e00 Entity::to_npc_or_coop_player returns this if type 10..999, or type 1 with 2+ players, else null; used by the Dogma Blackhole TV pull (dogma_effects.md)
004173b0 Entity::is_player tiny: type == 1 (ICF caution) (dogma_effects.md)
004173c0 Entity::is_bomb tiny: type == 4 (ICF caution) (dogma_effects.md)
00431550 Entity::is_pickup tiny: type == 5 (ICF caution) (dogma_effects.md)
00435ce0 Entity::get_friction tiny: returns +0x36c (Lua Entity.Friction field); blackhole pull divides by it (dogma_effects.md)
00a155c0 Math::lerp a XMM0, b XMM1, t XMM2 (clamped to 0..1 when CL != 0): a + (b - a) * t (asm) (dogma_effects.md)
0042f2a0 Math::clamp XMM2 clamped to [XMM0, XMM1] (MAXSS/MINSS) (dogma_effects.md)
0067f2b0 Vector::mul_065 out = in * 0.65 (world to sprite-space for texel tests and sprite offsets) (dogma_effects.md)
00456340 Sprite::set_offset tiny: writes +0x94/+0x98 (Lua Sprite.Offset is +0x94) (dogma_effects.md)
00435c60 Sprite::set_flip_x tiny: writes byte +0x100 (Lua Sprite.FlipX reads +0x100) (dogma_effects.md)
00435eb0 Entity_Effect::set_rotation tiny: writes +0x474 (Lua EntityEffect.Rotation) (dogma_effects.md)
0097fe50 Entity_Laser::set_scale writes +0x4e0 (_scale) from XMM1 then ResetSpriteScale (dogma_effects.md)
004aaed0 Entity_Laser::set_disable_init_sound tiny: writes byte +0x518 (_disableInitSound) (dogma_effects.md)
00447740 Entity_Projectile::set_projectile_flags tiny: writes 64-bit +0x438 (Lua ProjectileFlags) (dogma_effects.md)
004214b0 BossOverlay::play this=Game+0x1d2ec (bossoverlays.xml, 5 entries x 0x38 at +0x120): loads entry id's anm2 and anim; Dogma angel death plays 2/3, Beast death 4 (beast.md)
004212c0 BossOverlay::update called from Game::Update with ECX=Game+0x1d2ec; overlay 3 (Dogma Shutdown) "End" event: Dogma kill counters, cutscene 25, StartRoomTransition(-10,-1,1) into the Beast room (beast.md)
00592280 NpcAI::ENTITY_BEAST_spawn_background only caller ENTITY_BEAST state 0 in room variant 666; spawns 951.100 at (room centre x, bottom-58) and 951.101-104 at fixed offsets into the deque at npc+0xbf4 (beast.md)
0083a080 BeastArena::update this=Room+0x776c, called at the end of Room::Update: anim, scroll pos += speed (+0x120), shifts non-player/familiar entity x by speed (beast.md)
0083a1b0 BeastArena::render_light this=Room+0x776c, from Room::render_lighting: draws anm2 layer 16 (light, hell_overlay.png) full screen (beast.md)
00592270 Room::get_beast_arena lea eax,[ecx+0x776c]; callers in Entity_Effect::Update (beast.md)
00592260 BeastArena::get_scroll_speed movss xmm0,[ecx+0x120] (Room+0x788c) (beast.md)
008279a0 Room::IsBeastDungeon returns RoomConfig stage 0x23 && type 0x10 (only the Home type-16 rooms: Beast room 666 and its test rooms); was IsGravityDungeon (beast.md)
0081ee20 Room::make_walls calls Room::make_wall on the border cells (L-shape variants by shape); skipped in the Beast room (beast.md)
007ee7e0 Room::make_wall "make_wall index out of bounds"; crawl space (type 16) ladder special cases (beast.md)
009bb840 PlayerManager::trigger_room_clear Entity_Player::TriggerRoomClear for every player + Entity_Familiar::TriggerRoomClear; ENTITY_BEAST calls it twice per dead harbinger (beast.md)
006fd3f0 Game::interpolate_update Manager::Update odd frames: entity Interpolate (vtable +0x10) and the BeastArena half-step scroll (beast.md)
009432f0 Camera::get_clamp_bounds ? room bounds -> camera min/max with the 0.65 scale; Beast room zeroes the extra margins (beast.md)
00839b80 BeastArena::init ? no Ghidra function; called by Room::Init with ECX=Room+0x776c: active if stage 35 type 16, loads gfx/backdrop/hell/background.anm2, zeroes scroll (beast.md)
007fe220 Room::card_against_humanity_fill Room::Update calls it while flag 0x11f4 (Room::SetCardAgainstHumanity) is set; it clears the flag and puts a poop (33% black with Meconium) on every free interior cell not under an entity; 1 in 8 an effect 1000.33 at a player (trinkets-cards)
006b5e20 Entity_NPC::hold_set NPC field 0x3f0 = max(it, ticks), 0x3f4/0x3f8 = spot: holds it in place (Emergency Contact, 150) (trinkets-cards)
0097e3c0 Entity_Laser::damage_entity adds the entity to the hit list, then TakeDamage: player (1 player) 1.0 DAMAGE_LASER source = spawner, countdown 30; others laser damage with tear flag effects (dogma_effects.md)
009e01b0 glitched_item_effects_run UseActiveItem 0x5b3bc8 sends negative (TMTRAINER) ids here: item ~id of Game+0x67758 runs each effect whose trigger matches param_3 (8 = after the previous one fired) through trigger_effect_execute (items-verify, use_dispatch.md)
006ed580 Entity_Pickup::empty_pedestal variant 100 with a subtype: subtype 0 and the "Empty" animation; a priced one (+0x534) is removed unless kept; hides itemshadow. Spindown Dice below id 1 (UseActiveItem case 0x2d3) (items-verify)
007a3d30 Entity_Player::pocket_use_input logs "Action PillCard Triggered" and uses the pocket (decompile stops at that log: read 0x7a4100+ with --asm); Endless Nameless (trinket 0x4f) at 0x7a41a7: 0.25/0.33/0.5 a copy of the used pill (kind 0) or card (kind 1); caller Entity_Player::Update (items-verify)
007a42b0 Entity_Player::pockets_rotate ACTION_DROP (0xb) triggered: rotates the filled pocket slots (0x17a0..) slot 0 to the back, then SwapActiveItems
005b1890 Game::room_restart_flag_set sets game+0x67744 = 1 after D7's Room::RespawnEnemies
00736c30 ItemPool::on_pill_used the gold pill (colour 14) after a use: clears its identified byte (ItemPool+0x7e0+colour) and gives effects[colour] (ItemPool+0x7a4+colour*4) a random available pill effect none of colours 1-14 holds (rif/rebirth-pills)
007ea2d0 Room::time_scale_update misnamed GetDevilRoomChance: the global time scale (manager+0x2a2d4) SetBrokenWatchState stores: Stop Watch effect (0xe8) / Hourglass effect (0x42) / Broken Watch state 1 -> 0.7, state 2 or challenge 22 -> 1.43, Stop Watch owned -> 0.9, collectible 0x2a5's countdown eases it; plus (GFuel count - 1) * 0.1 (rif/rebirth-pills)
00703190 Game::spawn_bomb_crater spawns effect 1000.18 (BOMB_CRATER) at pos, sprite scale from XMM2, and appends an EntitySaveState (1000.18) to the room save list; called from NpcAI::ENTITY_SKINNY Black Bony death after BombDamage (pass5_g2)
0044ee60 NpcAI::ENTITY_BEAST_ultra_war_fire_burst npc in ECX; called by NpcAI::ENTITY_BEAST_ultra_war 0x44c070 on the Transition and QuickBurst Shoot events: sound 483 flame_burst (pitch 1.5/0.5 for champion colour 18/19) and 5 fans x 5 dust clouds 1000.59 rising from pos (notes/entities/beast_war_death.md)
008279c0 Room::get_lava_line_y body: returns Room+0x20 (BottomRight.y) - 30 (0xbaa8d0); the Lava Spawner case of Entity_Effect::Update (0x5e1f3a) spawns its eruption at that y (beast_war_death.md)
00435e60 Entity_Effect::set_state body: this+0x450 (EntityEffect.State, Lua field+0x450) = arg; the Lava Spawner sets 1 on the 1000.1 it spawns (tiny setter: ICF may fold other +0x450 setters)
006d6d20 Entity_NPC::on_player_damaged called by Entity_Player::TakeDamage (ECX = each IsEnemy entity) when a player is hurt: types 0x24 Gurdy / 0x54 Satan set V1.x = 1; 951.102-104 (background Pestilence/War/Death) in state 3 get state 8 and StateFrame = Random()%15 + 2, which NpcAI::ENTITY_BEAST_background turns into "Cheer" (notes/entities/beast_fight.md)
00444c90 Entity_Projectile::set_falling_accel trivial setter of +0x418 (db/fields.tsv _fallingAccel); Entity_Effect 1000.181 sets 0.5 on its 9.14 lava ball (beast_fight.md)
0044bd80 std::deque<EntityPtr>::resize the Pestilence fly ball (0x44aad0) calls it on its +0xbf0 orbiter deque with the new count after killing the slots past it (also Hornfel 0x4b92e0); grows by operator_new(0x10) blocks of 4 pointers (std::deque<int>::resize is 0x44bcc0)
007ea190 Room::is_type_16 body `return *(int*)(this+8) == 0x10` (room type 16: crawl space / Beast room); ECX from Level::GetCurrentRoom in Entity_Projectile::Update 0x653070 (flag at 0x653bd2), Entity_Tear::Update, Entity_Effect::Update/Init, Entity_Familiar::Update, Entity_NPC::Update; tiny, beware ICF
004d8f20 NpcHelper::adult_leech_heading Adult Leech walk (NpcAI::ENTITY_ADULT_LEECH 004d9000): random heading within +-45 deg of horizontal, random x sign, 1 in 2 its y turned toward the player (pass6_h2.md)
004cf5b0 NpcHelper::min_min_willo_count NpcAI::ENTITY_MIN_MIN: out EDX = room sublist count (all Willos), *param_1 = those whose parent (+0x3bc) is this Min-Min (pass6_h2.md)
00599950 NpcHelper::tuff_twins_spawn_count NpcAI::ENTITY_TUFF_TWINS: variant 2 counts live type 13 + 61 (flies, suckers), variant 3 type 819 (Fly Bombs); the spit/butt attacks need < 4 (pass6_h2.md)
004b40d0 NpcHelper::heretic_choose_attack called from NpcAI::ENTITY_HERETIC state 3 once the idle wait (60, 30 below half) passes; WeightedOutcomePicker over Attack2/exit/point/idle
004b3ec0 NpcHelper::heretic_count_out_fires counts room entities 33.3 (purple fireplace) with health (+0x380) < 1.5, i.e. put out; used by NpcAI::ENTITY_HERETIC
005a7510 NpcHelper::visage_plasma_cap compared with the live 903.20 count in NpcAI::ENTITY_VISAGE state 0x72 to choose Attack (spawn a plasma) over Attack3
00860ac0 NpcHelper::default_case_lua_callback the NPC dispatcher's default block (006c41af, types with no native AI: 37, 70, 95, 103-109, 842 Nightwatch...) calls it when +0xb74 is clear; it only runs a Lua ref (FUN_00872a20 + luaL_unref) when the mod-callback flag is set (pass6_h5)
004b0200 NpcAI::ENTITY_DOGMA_angel_baby 950.10: Appear, health 500 drained 3.5/tick to max, orbit Isaac, 1 in 20 DashStart below 100 health, dash past Isaac + 120 then DamageRadius 50 and Remove (pass6_h5)
00a20fb0 KAGE::Input::Manager::query_devices KAGE::Input::Manager vtable slot 29 (+0x74); Input::IsButtonTriggered etc call it via PTR_vftable+0x74 with (controllerIdx, predicate FUN_00a207d0, &arg, 0,0); idx -1 iterates all devices under mutex, returns 1 if predicate true
00a1b8e0 Font::get_string_width_n Font::GetStringWidth(str) is a thin wrapper calling this(str,-1); ECX char* first byte=loaded flag; builds UTF8 CharacterIterator(str,len)
00a140c0 shader_push called as FUN_00a140c0("KAGE_ColorShader") before color quads (Console::Render); hashes path, finds in shader map, pushes previous current shader DAT_00c379b8 onto a deque and makes it current, returns 1
00676020 Entity_Tear::get_height_offset_y thiscall float(height in xmm1)->float; Entity_Projectile::SetHeight passes height then stores result in _posOffset.y; variant 46 (FIRE) -> -8, 47/49 sword beams constant unless falling (0x418 _fallingAccel), NAIL with SEED_G_FUEL(79) -> -12, else height*0.4-15 + max(h+8.5,0)^2
00709e50 GridEntity::get_render_position thiscall(out Vector*) on GridEntity (+0x24 grid index): x = (idx%width*40+40-60)*0.65 + (screenCenterX-338)*0.5, y likewise from idx/width, pixel-snapped; first call in every GridEntity_*::Render
00a1ba10 Font::get_string_width_utf16 Font ECX (byte0 loaded, +0x40 glyph map, +0x48 missing glyph, +0x28 glyph table stride 0x14); iterates ushort chars with kerning FUN_00a1b4a0 summing advances; called by Font::layout_glyphs/draw_glyph_run and HUD text renderers
00423480 string_compare ECX=ptr1, EDX=len1, (ptr2,len2): memcmp dword-wise then length tiebreak, returns -1/0/1 (std::char_traits compare inlined helper); used by BossPool::load_xml, Menu_Mods
00a25090 SaveDataManager::open_file_write ? sibling of 00a24fd0 (read); callers are writers (Isaac::SaveModData, write_desync_dump); logs "Save data manager has not been initialized" if !(this+4 &1); if flags&2 and file exists (FUN_00a25200) news a KAGE::Filesys::File and calls its open vfunc +0x28(path,mode); returns File* or null; callers Isaac::SaveModData, ModEntry::parse_metadata_xml
009c39e0 PopupQueue::push ? ECX is a std::list of popups guarded by a mutex at this+8 (vfuncs +0xc lock/+0x10 unlock); copies desc (FUN_009c01d0), inserts sorted by priority (+0x14 vs node +0x38), returns id; preceded by desc init FUN_009c25e0, text lines FUN_009c2700, "##GAME###PROMPT_OK" button FUN_009c3c30 (online_lobby_join, Level::InitializeGenesisRoom, HUD::update_item_info)
009e9430 Seeds::operator_assign copy-assign: copies _isCustomRun(+0), _gameStartSeed(+4), _rng(+8..), +0x50 _playerInitSeed, rebuilds the _seedEffects set at +0x54 (copy via FUN_00709280); Game::store_game_state calls it right after Seeds::construct_from_copy
00a10c00 ColorQuad::ColorQuad ? thiscall(KColor*): zeroes 4 corner Vector2s (DAT_00c7b640 zero vector) then copies the 5-dword color into 4 corner color slots (+0x20,+0x34,+0x48,+0x5c); callers render_color_quad, render_quad_draw_color_shader, Room::render_water
007ad4e0 Entity_Player::stop_costume_item_anims ? if !_isCoopGhost(0x20a9) walks the 15 _playerCostumeMap entries (0x122c stride 0x10) and clears _costumeSpriteDescs[idx]+0x11c (_itemAnimPlay per REPENTOGON); called on Taurus(299) removal in trigger_collectible_effect_removed and from Weapon_*::Fire
00a5f260 KAGE::System::UserProfile::is_local_user ? bool thiscall on a UserProfile (constructed with UserProfile vftable just before, from Lobby vfunc +0x20 owner); compares the profile id's high dword 0xfefefefe/id against the local user (FUN_00a5f090) or flag byte; GameOver::Render, Menu_OnlineLobby, NetplayManager
0098ae20 MenuManager::push_menu ? uses MenuManager global DAT_00c72a20: if (+0x40 current menu) != id, pushes id onto the history vector at +4, then calls the menu transition FUN_0098aa30(id,0); callers Menu_Game::Update, Menu_Character::handle_input, Menu_Online*
0090f5f0 user_profile_format_display_name ? sprintf's UserProfile name (FUN_00a5f1c0 returns "???"/"localhost"/name) into static buf DAT_00c82bd0, truncates with "..." until Font::get_string_width_n fits the max width arg, masks when an option byte (Manager+0x2a3e0) is set; used by OnlineChat::render, lobby lists, Entity_Player::Render
007527b0 vector_LevelGenerator_Room_tidy std::vector _Tidy for 0x48-byte elements (destroy range FUN_00752e40, deallocate, zero begin/end/cap); called at the end of Level::generate_* layout passes; LevelGenerator::place_boss_room 009aef10 calls it on a vector it walks with LevelGenerator_Room* stride 0x48
00709280 std_set_uint_copy std::_Tree copy-assign body: copies nodes (FUN_00709770) from param tree, sets size, then fixes leftmost/rightmost head links; used by Seeds::construct_from_copy/Seeds::operator_assign for _seedEffects and GameState::copy_room_list
006851f0 vector_string_emplace_reallocate std::vector<std::string>::_Emplace_reallocate (elem 0x18, max 0xaaaaaaa, constructs std::string(param_2) at the insert position); ResolveRelativePath, FXLayers::LoadConfig
0042f2f0 vector_string_emplace_reallocate_move std::vector<std::string>::_Emplace_reallocate (elem 0x18, 0xaaaaaaa max) that move-constructs the new string (zeroes the slot then steals param_2's buffer); EntityConfig::load_players_xml, ResolveRelativePath
00a20240 KAGE::Input::Manager::get_device KAGE::Input::Manager vtable slot 9; under the mutex at this+0x14 copies the shared_ptr device at index param_2 of the device vector (this+8, 8-byte entries) or the default device when out of range into *param_1; Manager::Init, PlayerManager::handle_coop_join
009b9380 PlayerManager::get_first_local_main_player ? neighbours GetPlayer 009b92c0 / get_main_player 009b9310 / count_main_players 009b9480; device +0x370 vfunc +0x14 is the "is local" test (same as InputManager::FirstLocalDeviceID); iterates the player vector (ECX), skips the higher-index member of a twin pair (_twinPlayer 0x1e68 / _playerIndex 0x161c), returns the first whose controller (_controllerIndex 0x1618) has no device entry in Manager+0x4b3d8 or whose device vfunc +0x14 returns true; Camera::update_focus_position, HUD
0090aeb0 InputManager::FirstLocalDeviceID string "[Frame %d] FirstLocalDeviceID() Could not find a device for the local user!"; walks the input-slot vector (ECX), first whose profile (+0x370) vfunc +0x14 is local returns its device (+0x378)->+0xc id, -1 if none; neighbours InputManager::GetDeviceByPlayerEntity 0090ac70
008327e0 RoomTransition::get_hud_alpha ? thiscall float, ECX = Game+0x1b83c _roomTransition (Minimap::GetDisplayedSize: lea ecx,[c71678+0x1b83c]); state(+0) 2 -> 1-progress(+0xc), 3 -> progress, only for modes(+0x1c) 1,2,11,16-20 or +0x10==-1; else 1.0; result multiplies minimap/HUD alpha
00707e10 spawn_chain_lightning spawns EFFECT 1000.167 CHAIN_LIGHTNING (Jacob's Ladder) (Game::SpawnEx(1000,0xa7)) at pos; walks spawner chain to the player, arc count 4 (+2 The Battery 63, +2 Jumper Cables 520, +2 Charged Baby 372, +1 trinket 3), damage mult 1.5/+0.5 (items 356/205), sets count at +0x458; callers tear/laser/knife/familiar tear-flag effect paths
00651b10 std_string_insert std::string::insert(pos, const char*, count): length check (+0x10 size, +0x14 cap, SSO <=0xf), memmove tail and memcpy in place or reallocates; Console::Update, theora_create_video_clip
00a78770 NetworkManager::receive_message ? under the mutex at this+0x38 walks the message list at this+0x30, returns (into param_1) the first message whose channel byte (+5) == param_2, removing it when param_3; HUD::ShowFortuneText calls (out,8,0) peek and (out,8,1) pop on DAT_00c79a58
00a24fd0 SaveDataManager::open_file_read ? logs "Save data manager has not been initialized" unless flag&1; when flag&2 news a KAGE::Filesys::File, gets path via own vfunc +0x10 and calls File open-read vfunc +0x24; callers Isaac::LoadModData, OptionsConfig::Load, Menu_Save::load_slot_data, PersistentGameData::TryImportABLocalSave
00a1a640 Font::Font constructor: clears loaded byte +0, glyph vectors +0x24..+0x3c, allocs the std::map head at +0x40 (glyph map used by Font::get_string_width_utf16), +0x48 missing glyph = -1; called from HUD/PauseScreen/Manager constructors
00a11210 SourceQuad::SourceQuad ? like ColorQuad::ColorQuad (00a10c00) but copies four 8-byte corner Vector2s plus one extra dword (+0x20) from the param quad; BeamRenderer::End, render_quad_draw, PlayerHUD::RenderActiveItem
009baaa0 PlayerManager::GetPlayerSlotFromController strings "PlayerManager::GetPlayerSlotFromController() recieved invalid controllerID (%d)" / "could not find NetInputDevice with controllerID"; scans the controller slots at this+0xc for param and returns the slot index
009a17b0 vector_LaserSample_emplace_reallocate ? std::vector<0x18-byte element>::_Emplace_reallocate (max 0xaaaaaaa, copies 6 dwords of param_2); callers HomingLaser::build_bezier_path/build_ring_bezier/laser_sample_trace_entities, so the element is a laser sample point
0095ae60 render_online_icon ? sets Manager+0x4acf8 ANM2 animation "Icons" to frame param_1 and renders its layers at pos param_2 (offset stored at Manager+0x4ad94); called per lobby/player row by Menu_LobbyList::render_lobbies, Menu_OnlineLobby::render_lobby_list, GameOver::RenderItemSprite
0092a350 PersistentGameData::check_collection_unlocks thiscall PersistentGameData; counts collectibles 1..0x2dc seen/unlocked (skipping 276,283,331,333-335 and hidden), then TryUnlock 69/84 (all 176 ...), 235, 339 and 637 (Dead God) when thresholds reached; called from AddToCollection, TryUnlock, TryAddBestiaryEncounter
008eeed0 lobby_member_map_get_or_add ? std::map keyed by 64-bit user id (lower_bound FUN_00731ee0); if absent inserts a 0x28-byte node holding a KAGE::System::UserProfile (vftable, refcount 1) and returns the iterator; Menu_OnlineLobby::Update/Render/init_lobby_view
00864c30 lua_run_input_action_callback if the callback mask (*DAT_00c71690 & 0x2000) has MC_INPUT_ACTION, calls LuaCallbackCaller::CallInputAction(entity,hook,action), and if the Lua return is non-nil writes its boolean to *param_4 and returns 1 (override); callers input_is_action_pressed/triggered, Console::Update
0084f2e0 InfoDisplayEntry::operator_assign ? copy-assign: 2 dwords, std::string at +8, three vectors (+0x20,+0x2c,+0x38 via FUN_008569a0), a byte at +0x44, then 0x33 dwords; used by InfoDisplay XML parsers (collectibles/trinkets/pills)
007ad7e0 string_from_direction returns into param_1 a copy of one of four strings by the dominant axis of (x,y): left/right (x<0 / x>=0) when |x|>|y|, else up/down; Entity_Player::update_shooting passes Vector::ToCardinal() and "HeadLeftShoot"-style anim names
0072fff0 ItemConfig_Item::get_localized_description returns std::string from ECX+0x20 (ItemConfig_Item desc, Lua Item.Description field+0x20); if it starts with '#' resolves via StringTable::get_string("Items", language, key); empty if size(+0x30)==0; HUD::ShowItemText, PlayerHUD::RenderPocketItems
0062e020 Entity_Familiar::set_player thiscall Entity_Familiar: detaches from orbit/follower/delayed lists (RecalculateOrbitOffset, RemoveFromFollowers, RemoveFromDelayed), sets _player = param, re-adds (AddToFollowers/AddToDelayed, variant 235 always follows); PlayerManager::replace_player, Entity_Familiar::RemoveFromPlayer
00423090 vector_bool_resize std::vector<bool>::resize(n): size in bits at this+0xc, grows via FUN_0041c910/FUN_0041c890 insert of (n-size) false bits or trims; ItemPool::Init/StoreGameState, Item::IsAvailable
00415d20 std_tree_extract std::_Tree::_Extract: advances iterator, unlinks the node (+0xd isnil) and runs the red-black erase fixup, returns the node; used by std::multiset<unsigned_int>::erase, TextureCache::Purge
00aa1b10 stb_vorbis::get8_packet_raw ogg.cpp assert "f->bytes_in_seg > 0"; decrements bytes_in_seg (+0x570), increments +0x588, reads one byte from the memory stream (+0x20/+0x28) or the file callback; callers stb_vorbis_decode_residue, vorbis_decode_packet_rest, start_decoder
00a58040 KAGE::Filesys::BufferedStream::BufferedStream constructor: sets KAGE::Filesys::StreamBase then BufferedStream vftables at +0 and +0x28, zeroes buffer fields, size -1 and reserves the buffer (FUN_007dccd0); SaveSlotManager::constructor, write_game_state_to_stream
00a285f0 KAGE::Network::Multiplayer::Lobby::get_members ? walks the lobby impl (this+4) member array +0x10..+0x14, wraps each as KAGE::System::UserProfile and appends to vector param_1, skipping the local user (UserProfile::is_local_user) unless param_2; Menu_OnlineLobby::init_lobby_view, online_chat_update
00a19340 GraphicsWindow::get_framebuffer_width ? asserts "window != NULL" (GLFW_3.4 window.c line 711) on this+0xbc, calls platform getter DAT_00c73730(window,&w,&h) and returns w; the sibling FUN_00a193c0 returns h; Manager::ResizeWindowCallback uses both
00a10760 Quad::rotate thiscall on a 4-corner float quad, (pivot Vector*, angle in xmm2): if angle != 0, translates the 4 corners by -pivot, rotates by cos/sin, translates back; AnimationLayer::RenderFrame, render_build_sprite_quad, Room::render_darkness_overlay
009f4ff0 Weapon::stop_costume_item_anim ? thiscall Weapon (owner this+4); for a player owner (type 1) walks the 15 costume-map layers and clears CostumeSpriteDesc+0x11c (_itemAnimPlay) on the layer whose costume belongs to collectible param (Weapon::is_held_item); familiar owner (type 3) clears a field instead; Weapon_Bone/Brimstone/Tears::Fire
009e3450 RoomGridPath::can_step ? ECX holds Room* like room_grid_flood_fill (the next function): for two 4-adjacent grid indices (|drow|+|dcol|==1, index<448) checks the from-cell's type nibble (ECX+4+idx) against the direction table DAT_00c37610 (0x44-byte entries of +-13 offsets) and returns whether the step is allowed; NpcHelper::hornfel_spawn_doors, room_grid_flood_fill
009b9310 PlayerManager::get_main_player returns the param-th player of the player vector (ECX) counting only players that are not the higher-index twin (_twinPlayer 0x1e68, _playerIndex 0x161c); 0 if out of range; sits between PlayerManager::GetPlayer 009b92c0 and count_main_players 009b9480; Room::SpawnClearAward, RoomTransition::StartBossIntro
009af980 LevelGenerator::update_room_neighbors ? for room param (+0x18 shape/pos) clears its neighbour set (+0x30) and door mask (+0x1c), then for the 8 door slots LevelGenerator::get_door_target_position -> 13x13 grid cell; if occupied sets door bit and inserts the neighbour room index into the set; copies count to +0x38; LevelGenerator::try_place_room/try_resize_room
00954760 Manager::validate_language ? thiscall Manager: if the language id at +0x4a920 is not in the available set (+0x4a924 head) resets it to 0, same for +0x4a938/+0x4a93c, then FUN_009abbd0; callers OptionsConfig::Load, Manager::Init, Menu_Options::Update (Manager+0x4a920 is the language passed to StringTable::get_string)
008fd7a0 map_u64_bool_subscript std::map<uint64,bool>::operator[]: lower_bound by 64-bit key (FUN_00731ee0), inserts a 0x20-byte node with value byte 0 if missing, returns &value; used with user ids by online_chat_update, PauseScreen::Update, NetworkManager::receive_message
0090eca0 NetplayManager::send_message ? callers build a message with FUN_00a78160(msg,1,data,size,..) then call this(flags,...); flags bit1 adds the lobby host, bit4 walks the peer list at this+0x1864 (std::list, user id at node +0x1c) collecting recipients into a set of 64-bit ids before dispatching; Menu_OnlineLobby::update_controls (flags 1), Manager::update_state_loading (0x11)
00840540 int_to_string std::string from the int in EDX: formats digits into a stack buffer (FUN_00840510), prepends '-' when negative, assigns into the out string (ECX); HUD::update_item_info, InfoDisplay::describe_pickup_stats
007e8950 vector_PathNode_emplace_reallocate ? std::vector<0x14-byte element>::_Emplace_reallocate (max 0xccccccc); only callers are PathFinder::FindGridPath, NPCAI_Pathfinder::HasPathToPos, pathfinder_can_reach_pos (open-list nodes)
007c9ad0 Entity_Player::get_voice_pitch thiscall float: 1.0 (variant 0) or 1.5 (co-op baby) + 0.1*count, +0.5 with Pluto 598 or Inner Child 688 effect, +0.2 Binky 438, -0.2 when +0x1808>=3 unless curse mist/coop ghost, clamped [0.5,2.0]; try_end_astral_projection passes it as the pitch of SoundEffects::Play right after; also TakeDamage
007529c0 vector_LevelGenerator_Room_reserve std::vector<0x48-byte element>::reserve (max 0x38e38e3): allocate, move range (FUN_00752b70), adopt (FUN_00752ac0); companion of vector_LevelGenRoom_tidy 007527b0, called by Level::generate_home/mineshaft
0071dee0 grid_mark_neighbors_dirty ? fastcall grid index in ECX (used as idx % room _gridWidth); for each neighbour offset in table DAT_00b69110, a ROCK(2) with state 1 or PIT(7) with state 0 and _varData(+0x18)==1 gets _varData=13; called after GridEntity_Rock::Destroy (after TrySpawnLadder), GridEntity_Pit::Update, Room::spawn_grid_from_desc
006fec30 spawn_enemy_spawner_effect ? Game::Spawn(1000, 203) at pos param_3 then stores type/variant (+0x47c/+0x480), position (+0x484), subtype/seed/etc (+0x494..+0x4a4); callers Ambush::SpawnWave, Ambush::SpawnBossrushWave, NpcHelper::gideon_spawn_wave (delayed wave spawn)
004d74a0 SharedPtr::assign ? copy-and-swap: builds a temp smart pointer from param (FUN_004d7190), swaps the two dwords with this, releases the old control block (vfunc +0xc, deleter DAT_00c7e84c); Entity_Player::StoreGameState/RestoreGameState, Entity_Pickup::RestoreState
0041b570 EntityList::invalidate_type_cache thiscall EntityList, (type,variant,subtype) of the entity just added (EntityList::AddEntity passes piVar[10..12] = +0x28/+0x2c/+0x30); erases entries of the std::set at this+0xe0 keyed (type,variant,subtype), (type,variant,-1) and (type,-1,-1); also Game::rewind, PlayerManager::RemoveCoPlayer
0040b0c0 ANM2::GetNullFrame string "[warn] ANM2::GetNullFrame frame number %d out of bounds."; finds the animation (FUN_0040bcd0), looks up null layer name in the names vector (+0x84, 0x18-byte strings) and returns its frame; Entity_Player::GetCostumeNullPos
00aad330 vorbis_synthesis_restart libvorbis: reads halfrate_flag (+0xe48), sets centerW/pcm_current, pcm_returned/granulepos/sequence = -1 (was AudioStream::reset)
00aaaf50 Mutex::lock EnterCriticalSection(*this); sets locked byte this+4, and if it was already set logs "WARNING: '<0x%p>' is deadlocked!"; used by theora video and audio stream code
00aa1dc0 stb_vorbis::codebook_decode_scalar_raw ogg.cpp asserts "c->sorted_codewords || c->codewords" and "!c->sparse"; refills the bit accumulator (+0x580/+0x584) via stb_vorbis::get8_packet_raw to 24 bits then decodes one codeword for codebook EDX; callers stb_vorbis_decode_residue, vorbis_decode_packet_rest
00a80c70 _glfwInputErrorWin32 FormatMessageW(GetLastError()) -> WideCharToMultiByte UTF-8 -> _glfwInputError("%s: %s"); callers _glfwCreateWindowWin32, glfw_choosePixelFormatWGL
00a2c370 utf8_to_utf16_alloc ? ECX = char*; converts into a temporary ushort vector, allocates (operator_new_tracked) and copies it with a 16-bit terminator, returns the wide buffer (null for null input); HUD::ShowItemText, HUD::show_fortune_text_impl feed the result to Font::get_string_width_utf16-style wide text paths
00a2add0 SoundInstance::assign ? thiscall: resets (FUN_00a2ae60(0)), sets loop byte 0, volume 1.0, pan 0, pitch 1.0, binds the source param (FUN_008f2c90) and pushes loop/volume/pan/pitch to the voice via vfuncs +0x40/+0x48/+0x50/+0x58; SoundEffect::Load, SoundEffects::Play
00a264f0 glfwGetMouseButton GLFW 3.4 input.c (assert "window != NULL" line 761, "Invalid mouse button %i"); ECX=window, EDX=button<8, returns state at window+0x74+button, clearing sticky state 3; Entity_Player::GetMouseAimTarget, Manager::Update
00a118d0 KAGE_Graphics_ImageManager::load_image_file ? resolves the path (FileSystem::ResolvePath), returns a cached image if present, otherwise picks the decoder by extension ("png" -> KAGE::Graphics::ImagePng, also bmp/jpeg/jpg/pcx) and loads it into a SmartPointer; callers Manager::LoadImage, Font::Load
009f0140 Font::measure_rich_text ? (out Vector*, text, maxWidth, scale in xmm3): runs rich_text_layout into a vector of 0x10-byte lines, x = widest line (+0xc), y = lines * ushort line height (this+0x2c) * this+0x68 * scale; PlayerHUD::render_pocket_item_info, menu_item_description_build
009dc6e0 GlitchedCollectibleGfx::constructor ? zeroes a 0x38-byte object and sets +8 = 0x12345678 (seed sentinel); the only users are ItemPool::CreateGlitchedCollectible (new + this, pushed into a vector) and glitched_collectible_render_gfx
009d8580 GameStateReader::read_int_vector ? reads a uint count via the stream vfunc +0x14 (byte-swapped by FUN_00683410), then that many ints into the std::vector<int> param (replacing its storage); GameStatePlayer::read, Entity_Player::restore_save_state_part2
009c88e0 GameState::write_entity_save_state ECX = saved entity record, EDX = writer: writes each dword field through writer vfunc +0x1c with endian swap FUN_00683410 (+0 type, +4, +8, +0xc, +0x10, +0x14, byte +0x60 ...) and recurses into itself for child records; callers GameState::write_room and GameState::write_player loop over the saved entities
009c73c0 GameState::constructor thiscall GameState: zeroes header fields, _eh_vector_constructor_iterator(this+0x68, 0xb8, 0x20f, RoomDescriptor::constructor) for the saved room list, then the rest; callers Manager::constructor, write_game_state_to_stream
009c3f30 MenuDialog::constructor ? zeroes +0, constructs two ANM2 at +4 and +0x118, clears +0x22c..+0x248, allocates a std::map head at +0x244; only MenuManager::constructor and PauseScreen::constructor build one (popup/dialog widget near the PopupQueue code 009c0000-009c4000)
009c1260 Popup::set_state ? thiscall: state 1 -> show (FUN_009c12d0), 2 -> resets two child positions via vfuncs at +0xc8/+0xf0 (zero vector), 3 -> hide (FUN_009c14c0); stores state at this+4; callers PopupQueue internals (009c01d0, 009c3ab0), HUD::update_item_info, Manager::update_controller_popups
009bc690 PlayerManager::get_player_start_position (out Vector*, player, basePos): basePos or Room::GetCenterPos when zero; with N players spreads them 48px apart by _playerIndex (0x161c), two rows +-24 when more than 2, slight y bias -0.01*idx; Entity_Player::level_start, NpcAI::ENTITY_MOTHER
009b1fc0 Menu_Options::constructor ? zeroes +0xc..+0x20, constructs ANM2 at +0x24 and +0x138, empty std::string at +0x260, clears +0x27c..+0x284; built by MenuManager::constructor and PauseScreen::constructor (both own an options menu); sits right before Menu_Options::Update 009b23a0
009aef10 LevelGenerator::place_boss_room thiscall LevelGenerator: LevelGenerator::DetermineBossRoom, then try_resize_room on room index this[0xe2] (0x48-byte LevelGenerator_Room array this[0xd9]); with the XL flag (+0xe4) places a second adjacent boss room from get_neighbor_candidates via place_room + update_room_neighbors and sets the door bit; returns the boss room; Level::place_special_rooms, Level::generate_boss_room
009a64f0 HUD::GetPlayerHudIndex strings "HUD::GetPlayerHudIndex() recieved NULL player entity!" / "could not for a Player HUD for the giveiten player entity"; maps a twin to its main player then scans the 4 PlayerHUDs (stride 0x6dc) for it; HUD::ShowItemText, PlayerHUD::show_pill_name
009a1610 vector_LaserSample_erase std::vector<0x18-byte element>::erase(iter): shifts the following 6-dword elements down, end -= 0x18, returns iter; same element type as vector_LaserSample_emplace_reallocate 009a17b0; HomingLaser::build_bezier_path/build_wiggle_bezier
0099fa60 HomingLaser::build_curl_path ? thiscall on the homing-path object (start +4, end +0xc, sample vector +0x4c): pushes the start sample, then generates curling samples by atan2(end-start) - 0.7 - i/5*1.5*pi with radius from xmm1*1.05; Entity_Knife::InitHomingPath, Entity_Laser::update_laser
0099c340 segment_project_point ECX = point P, EDX = segment start A, param_1 = segment end B: t = dot(P-A,B-A)/|B-A|^2 clamped to [0,1] (0 for a zero-length segment) written to *param_2; Entity_Laser::update_line_hits, HomingLaser::find_targets
0098f9d0 FXLayers::stage_matches ? ECX = layer stage, EDX = stage-type bitmask, (param_1 current stage, param_2 stage type): stage 0 always; stages 1-8 compared by chapter ((s-1)/2), 9+ exact, Blue Womb special case with Game flag 0x10000; then requires bit param_2 in the mask; FXLayers::LoadConfig, parse_fx_params_node
009838c0 GridEntity_PressurePlate::play_pending_animation ? thiscall: if the current animation name (+0x74) differs from the target name (+0x268) and it is not "OffRedStart" while +0x84 is set, ANM2::Play(sprite +0x40, target); GridEntity_PressurePlate::update_greed_button, BeginBatches
00954320 Manager::set_viewport_size (width,height): reads the framebuffer size (GraphicsWindow::get_framebuffer_width/height), computes the pixel scale min(w/400, h/240) and stores it in the global screen scale DAT_00bf941c, logs "Viewport: %dx%d"; Manager::ResizeWindowCallback, Manager::update_state_loading
00951730 Manager::create_render_surfaces strings "Render Surface (Manager)", "Color Correction Surface", "HQ4X size: %dx%d"; (re)creates the manager's render targets via FUN_00a11f30 when missing and the matching options are on (+0x2a3c2 color correction, +0x2a3c6 HQ4X); Manager::Init, Manager::Render
00943610 Camera::soft_clamp_position thiscall Camera, (out Vector*, x, y): Camera::get_clamp_bounds then remaps each axis into the bounds with a smoothstep-like polynomial (6t^5-15t^4+...); logs "Start and End parameters cannot be the same!" for an empty range; Camera::constructor, Camera::update_focus_position
00930820 TemporaryEffects::Update thiscall TemporaryEffects (vector of 0x10-byte effects at +4): unless disabled (+0x11) clears cache flags, decrements each cooldown (+8) and on 0 removes the effect, ORs its item cache flags (+0x54), calls Room::TriggerEffectRemoved or Entity_Player::trigger_collectible_effect_removed (owner +0x14); between AddEffect/ClearEffects and GetCollectibleEffect; Entity_Player::Update, Room::Update
0092cb30 std_map_copy_assign std::_Tree copy-assign: if different, erases this tree, copies nodes from param (FUN_0082e720), size, fixes leftmost/rightmost; Entity_Player::StoreGameState/RestoreGameState (a std::map/set member of the player state)
00925c60 OptionsConfig::set_fullscreen thiscall OptionsConfig: stores the bool at +0x24, switches the window (FUN_00a196b0(fullscreen, +0x66)); when windowed restores window pos (+0x74/+0x78), size (+0x7c/+0x80) and sets cursor mode GLFW_CURSOR 0x34001+(+0x6a); OptionsConfig::Load, Menu_Options::Update
0091e730 LobbyList::clear ? ECX = std::map whose values hold vectors: clears the shared string and each node's vector<12byte>, erases all nodes (FUN_0091fb10) and resets the head/size; Menu_Online::update_mode_select, Menu_OnlineLobbyList::Update
0091c770 online_session_reset ? resets online globals: DAT_00c79874/78 = 0, DAT_00bf9434..40 to 2/1/2/2, erases the std::map at DAT_00c7987c; callers online_stats_finalize, Manager::update_state_loading and other netplay teardown paths
0090e7d0 online_check_mods_allowed strings "##PLATFORM###ONLINE_MODS_BANNED"/"ONLINE_MODS_NEEDS_RESTART"/"ONLINE_MODS_PERMABANNED"; when the mod state Manager+0x4a91c is 2/3/4 queues the matching popup (PopupQueue desc FUN_009c25e0, OK button FUN_009c3c30, PopupQueue::push) and returns false; online_lobby_join, Menu_Game::Update
00907b60 online_lobby_get_member_count copies the global lobby shared_ptr DAT_00c79a74 and returns its member array size ((+0x14 - +0x10) >> 3), 0 without a lobby; PauseScreen::Update, netplay_lobby_menu_update
008ef120 vector_UserProfile_destroy ? std::vector of 8-byte polymorphic elements (KAGE::System::UserProfile: vftable + impl): calls each element's scalar destructor vfunc 0 then frees the buffer; Menu_OnlineLobby::init_lobby_view, InviteFriendsMenu::load_graphics and several unwind funclets
008ed150 Menu_OnlineLobby::change_character ? thiscall (ECX mistyped HUD): finds this lobby member's entry (lobby_member_map_get_or_add at +0x6a0); param 0x3e9 toggles tainted (+9) else steps the character byte (+8) by param through 18 characters, wrapping and skipping ones Menu_Character_Entry::IsCharacterAvailable rejects; plays menu sounds 0xc2/0xc3/0x23b; Menu_OnlineLobby::Update/update_controls
00873fc0 LuaCallbackCaller::CallUseItem ? Lua callback invoker: lua_rawgeti(callback table ref), pushes callback id (+4), item id, RNG and EntityPlayer as luabridge UserdataPtr (nil if null), use flags, slot, custom var data, then pcall; only callers LuaEngine::PreUseItem / LuaEngine::UseItem; sibling of LuaCallbackCaller::CallInputAction 00874910
008725f0 std_set_int_erase_key std::set<int>::erase(const key&): equal_range by *param, erases the range, returns the count removed; Seeds::RemoveSeedEffect, Seeds::RemoveBlockingSeedEffects
0085c590 luabridge::Userdata::getClass luabridge type check: strings "%s expected, got %s", "__const", "__parent", "__type", "cannot be const"; walks the metatable __parent chain comparing to the class key, honoring const-ness (param_2); called by every Lua binding argument check (Isaac::FindInRadius, HUD::ShowItemText ...)
0085b050 LobbySettings::reset ? zeroes +0..+8, max players +0xc = 4, public byte +0x10 = 1, clears two std::strings (+0x18, +0x30) and a vector (+0x48), and when this is Manager+0x4b0d8 and MenuManager exists re-runs Menu_OnlineLobby::init_lobby_view; Manager::constructor, online_lobby_join
00858050 Leaderboard::Render ? thiscall: when active (+4) dims the screen with a 0.3 grey / 0.5 alpha KAGE_ColorShader quad, then mode (+0) 0 -> Leaderboard::render_daily_score_breakdown, 1 -> Leaderboard::render_scores; callers Game::Render, MenuManager::Render
0084da20 InfoDisplayText::constructor ? zeroes an empty std::string at +0 (size +0x10, cap 0xf) and dwords +0x18..+0x64; callers HUD::update_item_info, InfoDisplay::describe_pickup_stats and the InfoDisplay XML parsers
0083b850 HUD::update_player_hud_slots ? thiscall HUD: for the player HUD slots (from +0x14), drops a slot whose player no longer resolves (FUN_0083bbc0 < 0) and shifts the following slots down; logs "PlayerManager::GetPlayer() : There are no players!"; callers HUD::PostUpdate, mark_all_slots_dirty
008332e0 Ambush::shuffle_waves ? copies the wave list (+0..+4) into the vector at +0xc and Fisher-Yates shuffles its 0xc-byte entries with a xorshift seeded from the current RoomDescriptor +0x5c ("RNG Seed is zero!"); callers Ambush::StartChallenge, Game::restore_game_state
00823370 Room::get_color_modifier ? thiscall Room (out 6 floats r,g,b,a,brightness,contrast): copies the room FX color (+0x1b10..+0x1b28), lerps 75% to neutral for room types 7/8/29 or the Abandoned Mineshaft dimension, +0.03 brightness for descriptor flag 0x200, darkens with the backdrop 0x20 kill ratio; callers Entity_Player::TakeDamage, try_end_astral_projection
007e8810 vector_PathNode_emplace_reallocate_copy ? second std::vector<0x14-byte element>::_Emplace_reallocate (copies 5 dwords of param_2) for the same pathfinder node vector as 007e8950; NPCAI_Pathfinder::HasPathToPos, pathfinder_can_reach_pos
007defc0 vector16_clear_and_reserve std::vector<16-byte element>::_Clear_and_reserve(n): frees the old buffer (FUN_005cbf50), grows to max(n, 1.5x) up to 0xfffffff and allocates; init_engine_parameters, Entity_Player::spawn_dark_esau
007ddd20 vector_PlayerItemBackup_emplace_reallocate ? std::vector<0x34-byte element>::_Emplace_reallocate (max 0x4ec4ec4); only callers Entity_Player::StoreGameState and Entity_Player::AddCurseMistEffect (backing up player item/state records)
007dc840 vector28_resize ? std::vector<0x1c-byte element>::resize(n): shrink sets end, grow within capacity default-constructs (FUN_007de2f0) or reallocates (FUN_007deaf0); only callers Entity_Player::StoreGameState and Entity_Player::restore_save_state_part2
007d83f0 Entity_Player::spawn_lil_clot_familiars thiscall Entity_Player: counts this player's FAMILIAR 3.238 subtype 7 (Lil Clot blood clot) in the room entity list, and while below GetTrinketMultiplier(TRINKET_LIL_CLOT 176) spawns more at a random angle (Game::SpawnEx(3,0xee,..,7)); Entity_Player::room_enter, TriggerTrinketAdded
007d2b70 Entity_Player::apply_soul_charge_to_actives ? only for PLAYER_BETHANY (0x12): for each active slot with a chargeable item compares the charge before/after adding param soul charge (_effectiveSoulCharge) and calls HUD::FlashChargeBar + charge sound (0xab/0xda) when a bar fills; Entity_Player::AddSoulCharge, SyncConsumables
007c7d70 Entity_Player::trigger_immaculate_conception string "[err] Immaculate has a wrong state!"; picks the reward for the Immaculate Conception counter (param 0 -> normal path with 5 options); callers Entity_Player::AddImmaculateConceptionCounter, TakeDamage
00771410 Entity_Player::apply_innate_collectibles ? loops collectible ids 0..0x2dc: innate ones (Entity_Player::IsInnateCollectible) get AddCostume and are marked in the game's seen-item bitset (Wait What 484 removes Butter Bean 294 from pools), non-held ones lose their costume (RemoveCostume); special case for player type 5; Entity_Player::InitPostLevelInitStats, ChangePlayerType
007530f0 std_deque_growmap std::deque::_Growmap: doubles the map size (min 8, max 0x15555555 -> 12-byte element deque) and moves the block pointers, adjusting the offset (+0xc); Level::write_room_config, PlayerManager::unlock_completion_mark
007474a0 Level::get_room_config_from_saved_id ? decodes a packed room id (type/mode bits >>16); 0x80000000 marks a merged generated room and recurses on its two halves through the hash table param_2, then RoomConfig::MergeRoomsIntoGenerated; otherwise looks the room up by type/variant; Level::generate_boss_room, Level::RestoreGameState
00728780 ItemConfig::load_metadata_xml strings "Could not find root node 'items' in %s", "quality", "craftquality", "trinket", "Collectible ID out of bounds.", "Trinket ID out of bounds."; parses items_metadata-style XML setting item quality/craft quality; Manager::load_configs, ModManager::LoadModContent
00724790 color_preset_lookup ? looks a name up in a std::map<string, color> (FUN_00685bc0 lower_bound, string_compare) and returns the 11-float KColor (tint 4, colorize 4, offset 3) of the match, else a default white color; callers anm2_apply_gfx_overrides, ItemConfig::load_wisp_node
007220a0 History::remove_index_refs ? thiscall History: for the 16 stored indices at +0x14 sets the removed index param to -1 and decrements larger ones, then recompacts; callers History::RemoveHistoryItemByIndex, Entity_Player::ChangePlayerType
00711af0 GridEntity_Lock::try_unlock ? thiscall (player, force): if not unlocked (+0xc state 0) requires a key (Entity_Player::TryUseKey, skipped with Paper Clip trinket 19 multiplier>=2) or one coin when the coin-lock flag +0x154 is set (AddCoins -1), then plays unlock sound 0x9c / coin 0x2d and opens; GridEntity_Lock::Update, Entity_Tear::Update (key tears)
00708ae0 vector12_resize std::vector<12-byte element>::resize(n) with zero-fill (memset) or reallocation (FUN_00709480); Game::AddErasedEnemy, GameState::write
006f8a40 Game_StateSlot::operator_assign ? copy-assign of a 0xc80-byte state block (2 x 0x23-dword arrays, then vectors) ; Game::store_game_state/restore_game_state call it in a loop over 7 blocks at Game+0x6778c
006edfa0 Entity_Pickup::update_cycle_collectible thiscall Entity_Pickup: when _cycleCollectibleCount != 0 (subtype 0 resets it) and forced / on Entity::IsFrame / paused, rotates _cycleCollectibleList and morphs to the next collectible; Entity_Pickup::Update, netplay_lobby_menu_update
006cb010 Entity_Projectile::apply_spawn_flags ? thiscall on the new projectile (flags at +0x438): maps ProjectileParams flag bits (0x80, 0x100, 0x20000000) to projectile flags, with Betrayal-style collectible 391 owner and a player/charmed spawner (param_3) marks it and links the spawner EntityPtr (+0x3bc multiset); Entity_NPC::FireBossProjectiles, fire_projectile_from_params
006b2410 entity_collision_classes_match ? fastcall (ECX entity A, EDX entity B): reads each EntityCollisionClass (+0x188), promotes 1/2 to 4 for players/NPCs with flags 0x20000100, returns true when either is 0 or the class pair passes FUN_006b2390; Entity::ForceCollide, Entity_Familiar::ai_umbilical_baby
00693470 list_string_push_back_move std::list<std::string>::push_back(string&&): "list too long" at 0x7ffffff, new node gets the moved 0x18-byte string (source reset to empty SSO), linked before the head; Console::FillOmnicomplete, HUD::show_fortune_text_impl
00683d00 keyvalue_map_parse ? constructor-like: builds an empty std::map at this (+0 head, +4 size), splits the input C string into tokens (FUN_0067f420 into a vector<string>), and for each token splits at '=' (FUN_0067f580(0x3d)) inserting key/value; init_engine_parameters, OptionsConfig::Load
0064d1d0 Entity_Familiar::update_star_of_bethlehem_speed ? thiscall familiar (Star of Bethlehem): unless forced, compares grid path distances (FUN_0064cf20) from the star target cell (+0xd90) and from the player to the exit, and sets the speed multiplier +0xd60 to 0.25/0.5/1/4/8; Entity_Familiar::room_enter, FamiliarAI::star_of_bethlehem
00633990 familiar_wisp_pick_tear_color ? thread-safe static init copies a table of KColors (DAT_00c34bb0.. etc) then picks one with the RNG param ("RNG Seed is zero!") into the out color; callers Entity_Familiar::fire_wisp_projectile, Entity_Familiar::ai_lil_spewer
0062d290 Entity_Familiar::mongo_baby_pick_next_mimic thiscall Entity_Familiar: only variant 74 (Mongo Baby) - advances its subtype (+0x30) through the 12-entry table DAT_00b648b0 {8,113,99,100,95,67,163,167,174,268,435,608} (baby familiar collectibles) until one the player (+0x410) HasCollectible; Entity_Familiar::Shoot, ai_auto_shooter
005cc710 std_map_int_insert std::map<int,int>::insert(pair): find_node on the key, if absent allocates a 0x18-byte node with key/value and links it (FUN_00415bd0); returns (iterator, inserted) in param_1; Room::Update, GameStatePlayer::read_part3
005ae0b0 position_is_over_pit ? ECX = Vector* position: converts to grid cell ((x-40)/40, (y-120)/40 rounded), returns true when it is in the room and the cell's GridEntity type is 7 (PIT); only callers NpcAI::ENTITY_WORMWOOD_main / segment_follow
0057e430 NpcHelper::rotgut_fire_projectile thiscall Entity_NPC: Entity_NPC::FireBossProjectiles(1, zero, 0, params) then overrides _fallingSpeed/_fallingAccel/_scale from params (+8/+0xc/+0x14) and sets position/velocity from param_1/param_2; only callers NpcAI::ENTITY_ROTGUT and ENTITY_ROTGUT_maggot
004e7d10 find_nearest_enemy ? ECX = position Vector*, EDX = out distance: EntityList::QuerySublist of the room's NPC list, skips non-enemies, flag 0x20 entities (and 0x1000a20 ones half the time), requires friendly flag 0x100 == param_1, returns the closest entity and writes its distance; callers Entity::TakeDamage, Entity_Player::TakeDamage
004ce6d0 Entity_NPC::update_move_direction_anim ? thiscall Entity_NPC: from velocity (+0x360) computes one of 8 directions (atan2, 16 sectors), turns the stored direction (+0xbc0) one step at a time unless just spawned, then plays the matching "Move1".."Move8" animation (table PTR_s_Move1_00b1ee78); Entity_NPC::update_physics, Entity_NPC::Interpolate
004303e0 ItemUseAnim::update ? thiscall on an active-item overlay struct (+0 active, +4 item kind, ANM2 at +0x128 and others): updates its AnimationStates and plays "D6Result"/"D20Result" when the pending animation name (+0x15c) matches, for kinds 0x16-0x1b and 0x1c-0x2f; callers Entity_Player::Update, Game::render_debug_overlay
004264c0 player_get_net_user_id ? (player) -> uint64: without networked input devices (Manager+0x4b3d8 empty) returns _controllerIndex (+0x1618); else maps a twin to its main player, InputManager::GetDeviceByPlayerEntity and returns the device profile's 64-bit id (+0x374 -> +8), -1 if none; Player_stats_add, Entity_Player::TriggerCollectibleRemoved
00424c40 SharedPtrPair::constructor ? constructs two smart-pointer members (FUN_0040c4a0(0) x2) and zeroes +0x10..+0x28; only callers Game::constructor and HUD::constructor
0041c490 EntityPartition::query_box ? thiscall partition grid (cell size this[5], width this[3], cells vector this[6..7] of 0xa4 bytes): for every cell overlapping the box (pos param_2, extent param_3) appends each not-yet-seen entity to the result list param_1 ("EL: not enough space for push_back"); EntityList::QueryRadius, query_player_capsule_hits
00414330 std_stringstream_constructor std::basic_stringstream<char> constructor: basic_ios at +0x68, basic_iostream over the stringbuf at +0x18, sets basic_stringstream / basic_stringbuf vftables, zeroes buffer state; ResolveRelativePath, write_desync_dump
00aeff8b __isa_available_init MSVC CRT: IsProcessorFeaturePresent(10), cpuid leaf 0/1/7 vendor "GenuineIntel" model checks, xgetbv for AVX, sets __isa_available/__favor (DAT_00bf93a0, DAT_00c71630); only caller ___scrt_initialize_crt
00aef775 __report_gsfailure MSVC CRT stack-cookie failure handler: only caller __security_check_cookie; captures the register context (all segment/flag registers) and raises the fast-fail
00ae1060 oc_state_borders_fill_rows libtheora: for plane pli (param_2) and rows [param_4,param_5) of frame buffer param_3, memsets the left/right padding (16 px, 8 for subsampled chroma when pixel_fmt&1) from the edge pixels; only caller th_decode_packetin
00add7a0 oc_dec_postprocess_init ? libtheora decoder: calls the state hook (+100), and when pp_level (+0xd144) < 1 frees the post-processing buffer (+0xd348) and returns 1, else (re)allocates the pp frame / variance buffers; only caller th_decode_packetin
00adcd70 oc_dec_dering_frag_rows libtheora: (dec, img, pli, fragy0, fragy_end) walks fragment rows using the pp variance buffer (+0xd34c) with thresholds 0x780/0xf00 (OC_DERING_THRESH3/THRESH4 for luma/chroma) and the pp level (+0xd144); only caller th_decode_packetin
00adc4c0 oc_dec_residual_tokens_unpack ? libtheora: per plane (+0x104 counts) clears the 64-entry token/eob table, zeroes uncoded fragment DC, and decodes tokens with the Huffman decoder FUN_00ae2740 (tables +0xc9f8); only caller th_decode_packetin
00adbe40 oc_ycbcr_buffer_flip libtheora: copies 3 th_img_plane entries (width,height,stride,data) negating the stride and pointing data at the last row (data + (1-height)*stride); callers th_decode_packetin and other decoder setup
00acac20 libjpeg_jinit_d_main_controller libjpeg jdmainct.c: allocates the 0x58-byte main controller (cinfo->main = this[0x65], start_pass FUN_00aca730); with upsample->need_context_rows checks min_DCT_v_scaled_size >= 2 (error 0x30) and allocates the funny xbuffer pointer lists (+0x40/+0x44); only caller libjpeg_jinit_master_decompress
00ac71d0 libjpeg_jinit_d_coef_controller libjpeg jdcoefct.c: allocates the 0x8c-byte coef controller (cinfo->coef = this[0x66]); need_full_buffer (DL) builds whole-image virtual arrays, else one MCU of 10 blocks (0x80 bytes each) with decompress_onepass; data_precision must be 8; only caller libjpeg_jinit_master_decompress
00ac1280 libjpeg_jinit_upsampler ? libjpeg: requires data_precision 8 (error 0x10), allocates the upsampler into cinfo->upsample (this[0x6c]) with start_pass FUN_00abfc30 and need_context_rows = FALSE, then per-component method selection; only caller libjpeg_jinit_master_decompress
00abd630 _vorbis_apply_window libvorbis: (pcm, blocksizes, lW, W, nW) picks the vwin tables PTR_DAT_00b5dd40[] for the previous/next block sizes, zeroes [0,leftbegin), multiplies the overlap regions by the window and zeroes the tail; only caller mapping0_inverse
00ab5960 libjpeg_jpeg_calc_output_dimensions libjpeg jdmaster.c: checks global_state == DSTATE_READY (0xca, error 0x15 JERR_BAD_STATE), calls jpeg_core_output_dimensions (FUN_00ab5560), then per-component DCT scaling when not raw; only caller libjpeg_jinit_master_decompress
00aafed0 png_crc_finish libpng: ECX = png_ptr, EDX = bytes to skip: reads and CRCs the rest of the chunk in buffer-size pieces through the read function (+0x50, "Call to NULL read function"), then checks the CRC honoring the ancillary/critical CRC flags (+0x64 0x300/0x800) and reports "CRC error"; called by the png_handle_* chunk readers
00aacf20 vorbis_dsp_clear libvorbis: frees the backend_state (+0x68): envelope lookup (7 band window buffers stride 0x10 = VE_BANDS), mdct/fft lookups, window and residue/floor state, memsets the private state (0xb4) ; callers KAGE_Audio::open_sound_file, theora/vorbis video teardown
00aac5c0 ogg_stream_pagein libogg: ECX = ogg_stream_state, EDX = ogg_page: reads header version/flags (+4/+5), serialno (+0xe), pageno (+0x12), segments (+0x1a); compacts returned body/lacing (memmove), checks serial, handles page gaps and appends lacing/body; callers VideoClip_Theora::readTheoraVorbisHeaders, FUN_00a8d0a0
00aab3e0 theoraplayer::_Exception::_Exception constructor: sets theoraplayer::_Exception::vftable, empty std::string message at +4, then fills it from (message, file, line) via FUN_00aab470; VideoClip_Theora::readTheoraVorbisHeaders throws it
00aa5120 stb_vorbis::is_whole_packet_present stb_vorbis: from the current segment (+0x574) walks the page's segment lengths (+0x46c count, +0x470 table) and following page headers in memory (+0x20) to verify the whole packet is buffered; only caller stb_vorbis::start_decoder
00aa3430 stb_vorbis::imdct_step3_inner_s_loop stb_vorbis inverse MDCT helper with 7 args (n, e, i_off, k_off, A, a_off, k0 in ECX/EDX + stack), loads A[0],A[1],A[a_off],A[a_off+1] and does the butterfly; only caller inverse_mdct
00aa2580 stb_vorbis::codebook_decode_deinterleave_repeat_2 stb_vorbis: the ch==2 path (&1, >>1, no ch argument); the general version is 00aa2310
00aa1fb0 stb_vorbis::codebook_decode_start stb_vorbis: errors when lookup_type (+0x15) is 0, refills the bit buffer to 10 bits via get8_packet_raw, fast-table decode then codebook_decode_scalar_raw; asserts "z < c->sorted_entries" for sparse books; callers stb_vorbis_decode_residue, codebook_decode 00aa20b0
00aa17b0 stb_vorbis::start_page stb_vorbis: matches the "OggS" capture through get8 (00aa13a0), then start_page_no_capturepattern (00aa1610); error 0x1e VORBIS_missing_capture_pattern
00aa0c40 stb_vorbis::compute_sorted_huffman stb_vorbis setup: builds sorted_codewords / sorted_values for a codebook; asserts "c->sorted_codewords[x] == code", "k == c->sorted_entries", "len != NO_CODE" (ogg.cpp); only caller stb_vorbis::start_decoder
00a9d840 libjpeg_output_pass_setup libjpeg jdapi.c output_pass_setup: if global_state != DSTATE_PRESCAN (0xcc) calls master->prepare_for_output_pass, output_scanline = 0, state = 0xcc; then loops while master->is_dummy_pass (master +8); only caller image_load_jpeg
00a9a960 png_do_expand libpng: expands 1/2/4-bit gray (and palette-less color) rows to 8 bits, scaling the tRNS gray value (param trans_color +8) by 0xff/0x55/0x11 and adding alpha where it matches; only caller png_read_row
00a990f0 png_do_gray_to_rgb libpng: row_info ECX (bit depth +9, color type +8), row EDX: copies each gray sample into R,G,B (8-bit and 16-bit, with/without alpha) from the end backwards; only caller png_read_row
00a98a20 png_do_unshift libpng: for non-palette rows computes per-channel shifts bit_depth - sig_bit (param png_color_8: red/green/blue or gray, alpha) and shifts samples right (2/4/8/16-bit cases); only caller png_read_row
00a8b190 TheoraVideoManager::destroyVideoClip strings "Destroying video clip: ", " - Waiting for WorkerThread to finish decoding in order to destroy", " - WorkerThread done, destroying clip now..."; removes the clip from the manager list and deletes it; Manager::update_state_loading
00a82800 glfw_chooseEGLConfig GLFW egl_context.c chooseEGLConfig: strings "EGL: No EGLConfigs returned", "EGL: Failed to find support for OpenGL ES 2 or later", "EGL: Stereo rendering not supported", "EGL: Failed to find a suitable EGLConfig"; only caller _glfwCreateContextEGL
00a80ef0 _glfwIsWindowsVersionOrGreaterWin32 GLFW win32: fills OSVERSIONINFOEXW (size 0x11c, major 6, minor EDX, sp 0), VerSetConditionMask for MAJOR|MINOR|SPMAJOR and calls RtlVerifyVersionInfo (DAT_00c75adc), returns == 0; callers _glfwCreateWindowWin32 and other win32 platform code
00a790b0 NetworkManager::get_peer ? under the mutex at this+0x10 looks a 64-bit user id up in the map (FUN_00731ee0, head this+8) and returns a shared_ptr copy of the peer (FUN_00a79360) or an empty one; NetplayManager::try_advance_frame, NetplayManager::send_message
00414730 xml_memory_pool::clear rapidxml memory_pool::clear: walks block list until this+0xc (static pool), frees via this[0x4004] free_func or free(), then resets begin/ptr/end (end = this+0x4003*4, 64KB static pool); called by every *_xml loader
0040bcd0 ANM2::GetAnimationData linear search of this+0x74 array (count +0x78, stride 0x13c) for std::string name == arg, returns entry or 0; called with "CoinClosed" (GridEntity_Door::LoadSprite), "Clouds" (Entity_Effect::Init); ANM2 _animData +0x74 matches
00a20390 InputManager::get_device locks mutex at this+0x14, scans vector of shared_ptr (+8..+0xc) for device whose +0xc == index, copies shared_ptr out; Entity_Player::GetMouseAimTarget calls it with ECX=0xc57b18 and _controllerIndex then dynamic_casts to NetInputDevice
00683410 Checksum::Update mode this[3]==0: rotating add-hash over 4-byte chunks; mode 1: CRC32 (poly 0xedb88320, lazy table at 0xc7e860) into this[2]; used by PersistentGameData::write
0067f420 string_split builds stringstream over input, getline loop (FUN_006858b0) pushing std::string into vector param_1 (stride 0x18), returns it; used by xml loaders for tag/list attributes
009f5890 Weapon::get_tear_movement_inheritance this+4 owner: if player -> Entity_Player::GetTearMovementInheritance; if familiar -> uses owning player velocity*0.6*2 with Marked check (HasCollectible 0x18a); else zero; called from every Weapon_*::Fire
004147f0 std::vector<std::string>::_Tidy destroys each 0x18 std::string in [begin,end), operator_delete storage, zeroes begin/end/cap
00a23ae0 UserProfile::find_or_create ? keyed by 64-bit id in this[0..1]; looks up map via FUN_00a23bb0 under mutex, else creates under global CRITICAL_SECTION 0xc5aa78 ("Trying to lock mutex that has not been initialized"); results stored into KAGE::System::UserProfile objects in NetplayManager::process_drop_player_message
009c25e0 FontDrawParams::FontDrawParams ? initialises a text-render descriptor: param_1 font (g_Manager+0x4ae28 / +0x4ae74), param_4 position, default scale 1.0, KColor white + 0xffd3d3d3, flags |=7; followed by FUN_009c2700 string draw in HUD::update_item_info
00a29f60 Multiplayer::get_lobby ? ECX = global 0xc79a50; builds a KAGE::Network::Multiplayer::Lobby (ConstLobby->Lobby vftable) holding shared_ptr copied from this+0x24 into param_1; used by PauseScreen/Menu_OnlineLobby
008e24c0 KAGE::Network::Multiplayer::ConstLobby::~ConstLobby resets vftable to ConstLobby::vftable and releases the shared_ptr control block at this+8 (refcount vslot 0xc, deleter DAT_00c7f60c); paired with the Lobby objects built by 00a29f60
00685bc0 std::map<std::string>::_Find_lower_bound tree walk from head(this)->parent comparing std::string key (FUN_00423480) storing {node, isLeft, bound} into param_1; callers parse tag/flag name maps (EntityConfig::parse_entity_tags, ItemConfig::parse_cache_flags)
00a11f30 KAGE_Graphics::create_render_target operator_new(0x60) PlatformRenderTarget (FUN_00a90ca0 w,h,fmt,...) wrapped in ReferenceCount<PlatformRenderTarget> smart pointer returned in param_1; callers Game::create_render_surfaces, Minimap::Init, HUD::LoadGraphics, Backdrop ctor
0095af30 Manager::render_controller_action_glyph looks up input device (00a20390) and, for InputDeviceGamepad, plays "XboxOne"/"PS4"/"WiiU" on Manager+0x4abe4 ANM2, maps button (FUN_0095aba0) to frame and renders; returns 0 so callers (Menu_*::Render) fall back to keyboard sprite
008568a0 InfoDisplayEntry::copy_constructor ? copy ctor: std::string at +0 then six std::vector<int> at +0x18..+0x54 and two ints +0x60/+0x64; used by InfoDisplay xml loaders (collectibles/trinkets/pills)
00709150 KAGE::SmartPointer<RenderTargetBase>::reset allocates empty ReferenceCount<KAGE::Graphics::RenderTargetBase> control block, releases old one at this+4, sets ptr=0; Game::~Game, Room::LoadBackdropGraphics
006523e0 std::string::find_last_of ECX=data, EDX=size: builds 256-byte lookup of chars param_2[0..param_3), scans backward from min(pos,size-1), returns index or -1; Isaac::SaveModData/LoadModData path handling
00424440 ChallengeParam::Reset ? ECX = DailyChallenge+0x10 (LEA ECX,[EDI+0x10] in DailyChallenge::Init; Game+0x26640 in Game::reset_run_state): clears set at +0x18 and vectors, sets +0x38=-1, +0x6c=1 (ChallengeParam at DailyChallenge+0x10 per db/fields.tsv)
00a157f0 KAGE::Mutex::Lock "Trying to lock mutex that has not been initialized"; timeout -1 -> EnterCriticalSection + spin on busy flag; else TryEnterCriticalSection loop with Sleep(10) until timeout ms (GetTimeNs); returns 1 on success
0098aa30 MenuManager::SetState ECX = g_MenuManager (DAT_00c72a20) whose +0 is a vector<int> menu-state stack; param_2==0 just switches (logs "Setting the intitial menu state to %d, are you sure about that?"), else rebuilds the stack 1..N ("Unhandled Menu State trying to create a menu stack"); Menu_KeyConfig::Update pops the stack then calls it with the new top
0090abf0 PlayerManager::get_player_by_user_id ? scans vector<Entity_Player*> at this[0..1]; compares each player's +0x374 object's 64-bit id (+8/+0xc) with param_1 and returns the player or 0; NetplayManager::Update / update_player_removal
007e3340 PathFinder::is_entity_friendly ? this[0] = entity: true when FLAG_CHARM (0x168 & 0x100), type ENTITY_BLOOD_PUPPY (802), target with entity flag, type outside 10..999, or NPC with _controllerID (+0xf1c) != -1 / _forcedTarget (+0xf38); used by PathFinder::FindGridPath/MoveRandomly*
006a8c60 Entity::is_same_segmented_body ? for segmented types (0x13 Larry Jr, 0x1c Chub, 0x23 Mr Maw, 0x3e Pin, 0x59, 0xd8, 0xef, 0xf4 v2, 0x38d/0x390/0x396) walks both entities' _parent (+0x3bc) chains and returns whether they share a root; Entity::IsValidTarget skips targets for which it is true
004d7530 std::vector<EntitySaveState>::_Emplace_reallocate vector grow with element size 0x78 (max 0x2222222), EntitySaveState::copy into the new slot, moves halves around it; Level::Init, Room::on_leave, spawn_bomb_crater
00a5a7a0 path_join ECX=name, EDX=dir: tracked_alloc(len+2+extra), formats "%s/%s" or "%s%s" when dir ends in '/' or '\\', optional lowercase (param_1); used by ModEntry::parse_metadata_xml, string_table_translate, ModManager::UpdateWorkshopMods
00a19530 glfw_get_window_size ? GLFW 3.4 window.c line 0x260 assert "window != NULL" on window DAT_00c7999c; returns cached size (DAT_00c799a0/a4) when not windowed flag, else calls platform getter (DAT_00c73720) into an int pair; Manager::Render, OptionsConfig::Load, Entity_Player::GetMouseAimTarget
00a106e0 DestinationQuad::DestinationQuad stores four Vector corners (param_1..param_4) into this[0..7]; BeamRenderer::End, Room::render_water, Backdrop::RenderWater, set_quad_corner_colors
009b9570 PlayerManager::GetPlayerColorValue string "PlayerManager::GetPlayerColorValue( ) encountered invalid ePlayerColor value (%d)"; switch on color id per g_Manager+0x2a3f0 palette mode writing KColor-like floats to param_1
00989750 MenuManager::start_game writes 5 start params to g_MenuManager (DAT_00c72a20)+0x1c..+0x2c, sets +0xd, crossfades music, "Error: Game Start Seed was not set." if +0x17c == 0, then starts with that seed (FUN_00951f60); Menu_Character::handle_input, Menu_CustomChallenge::Update, Menu_Game::Update
009589d0 Manager::queue_achievement_popup pushes achievement id onto deque at g_Manager+0x21c20 (block size 4) when +0x2a378 enabled, then updates overlay (FUN_00931ba0); called right after PersistentGameData::UnlockSteamAchievement(0x184/0x144) in TryUnlock/TryAddBestiaryEncounter
009145f0 KAGE::SmartPointer<MessageData>::reset allocates empty ReferenceCount<KAGE::Network::Multiplayer::MessageData> block, releases old one at this+4, ptr=0 (same shape as 00709150)
008eded0 lobby_get_member_info ? takes member index; reads global lobby (shared_ptr DAT_00c79a74) member count (8-byte entries), Lobby member user id via FUN_00a284d0 ("Invalid lobby user index"), then searches map at +0x694 for that 64-bit id and returns &entry+0x18 or 0; GameOver::RenderItemSprite, Menu_OnlineLobby::Render
008562b0 std::vector<InfoDisplayEntry>::_Tidy destroys elements (FUN_00856840) and frees storage with stride 0x68 (matches 008568a0 copy ctor size); InfoDisplay xml loaders
00840b00 HUD_Message::Show string "HUD_Message::Show() recieved NULL messageText"; text_out, sets title/subtitle (FUN_00841000 0/1), plays "TextIn" (or alt), layer 1 visible = param_4, UpdateTextImage; Level::ShowName, HUD::ShowItemText, PlayerHUD::show_pill_name
00791380 Entity_Player::GetActiveMaxCharge slot param: 0 for slot 3 (and slot 2 special case), reads active item id this+(slot+0xac)*0x20 and varData +0x159c; returns 1 for items 0x263/0x2d0/0x93 and 0x23 with player form, else Entity_Player::GetCollectibleMaxCharge(id,varData); ControlActiveItem, DischargeActiveItem, PlayerHUD::RenderActiveItem
0071eb30 GridEntity_Spikes::unsummon sets _desc._state (+0xc)=1, +0x154=-1; plays "UnsummonPayment" / "UnsummonWomb" / "Unsummon" on sprite +0x40 unless already playing; called from GridEntity_Spikes::Update/BeginBatches, GridEntity::hurt_func
0041fba0 std::vector<ColoredQuad>::_Emplace_reallocate ? vector grow with 0x24-byte elements (DestinationQuad 0x20 + 4) copy-constructed by FUN_00a11210; BeamRenderer::End, render_quad_draw, Backdrop::render_floor_to_target
00415bd0 std::_Tree::_Insert_node red-black tree insert: ++size, links new node under parent param_1 (left/right by param_2), updates head min/max, recolour/rotate loop (FUN_00415f80/00415fe0 rotations); used by std::set<int>::insert, std::map<int,int>::operator[] (00730ed0)
00aa08f0 stb_vorbis::ilog bit count of n via 16-entry log2 table DAT_00ba8c50 with ranges <16, <512, <16K, <512K, <16M, <512M, <2^31 (stb_vorbis ilog); callers inverse_mdct, start_decoder, vorbis_decode_packet_rest
00a55e20 FormattedText::operator_assign ? copies flag byte and vector of 12-byte segments (+4), then when flag bit0 clear deep-copies each segment buffer (ptr +4, ushort len +8) with operator_new_tracked+memcpy; Font::measure_string, online_chat_text_input
00a205a0 InputManager::is_device_connected calls vslot 0x28 (get device shared_ptr by index), releases it, returns ptr != 0; Entity_Player::Update, MenuManager::Update, coop_join_menu_update
00a15b10 get_time_ms GetTimeNs() divided by 1,000,000 (magic 0x431bde82d7b634db >> 18), returns uint64 milliseconds; Entity_Player::TakeDamage/Update, Menu_OnlineLobby::init_lobby_view
009f5510 Weapon::is_c_section_anim_finished ? item 0x2a6 (C Section): owner not player -> Weapon::IsItemAnimFinished(0x2a6); else scans player item-anim slots (+0x122c, table +0x1220 stride 0x130) for that ItemConfig item and checks current anim != "SubAnim"; Weapon_Bone/Brimstone/Fetus::Fire
009f3f60 Weapon::get_laser_color resolves owner player (this+4, familiar -> its player) and copies Entity_Player _laserColor into a Color out-param (default white), with trinket/local-player adjustments; Weapon::fire_laser, Weapon_Brimstone::fire_hitscan
009c3c30 MessagePopup::add_ok_button ? EDX = popup: adds two entries via FUN_009c2db0 (a spacer and "##GAME###PROMPT_OK" with grey KColor 0x3e5cdcdd..), clears popup+0x84; Level::InitializeGenesisRoom, online_lobby_join
009b7500 PopupWindow::hide ? if shown (this[0]) and current anim (mode this[1]==1 ? +0x174 : +0x60) not "Dissapear": plays sound 0x12 and "Dissapear" on the mode's sprite; DeathScreen::Show, PauseScreen::Update, online_chat_window_update
009af0e0 LevelGenerator::get_all_rooms ? returns vector of LevelGenerator_Room* (this+0x364 + idx*0x48) built from index lists +0x37c..+0x380 then +0x370..+0x374; Level::place_special_rooms, generate_boss_room, try_place_random_room
009495f0 Menu_Character::set_character_menu_shown writes _characterMenuShown=param_1, loads CharacterMenu anm2 from table 00b24120[param*3] into _BigCharPageSprite and plays the selected character's page anim; Menu_Character::Reset/Update, MenuManager::SetState
0090a8a0 NetplayManager::reset ECX = g_Manager+0x4b3d8 (_netplayManager per db/fields.tsv) in Manager::destructor and Menu_OnlineLobby::Update; clears state fields, frees per-peer buffers in map +0x3c, erases trees, releases input devices
0085af30 DateTime::set_from_yyyymmdd ? EDX = date as YYYYMMDD: zeroes the struct, flags |= 2, writes tm-style day (+0x1c = %100), month-1 (+0x20), year-1900 (+0x24, -0x76c); DailyChallenge::Init, holiday_get_current, Leaderboard::render_scores
00828180 std::_Tree::_Extract red-black tree node unlink: finds successor (operator++), splices it into the erased node's place, fixes head min/max/root, then recolour/rotate (FUN_00415f80/00415fe0); returns erased node
007dc9b0 std::vector<EntitySaveState>::resize element size 0x78: shrinks by destroying the tail (dtor folded as invoke_pending_callbacks), grows in place (FUN_007de4b0) or reallocates (FUN_007dec60); Entity_Player::StoreGameState/RestoreGameState
007c8830 Entity_Player::spawn_locusts for each locust trinket 0x71..0x75 (Locust of Wrath..Conquest) GetTrinketMultiplier, doubled/tripled by Fish Tail (0x5e) with 1/5 rolls, spawns that many locust familiars via Game::SpawnEx ("RNG Seed is zero!"); Entity_Player::room_enter, Ambush::SpawnWave/SpawnBossrushWave
0074b5d0 Level::CanSpawnTrapDoor Level this: considers Labyrinth curse (bit 2 forced/prevented), mirror dimension, Ascent, challenge path, difficulty, IsNextStageAvailable/IsStageWithinEnd; callers then Room::SpawnGridEntity(..,0x11 GRID_TRAPDOOR) (GridEntity_PressurePlate::Reward, Game::BombDamage)
007099a0 std::vector<8byte>::_Clear_and_reserve frees old buffer and allocates a new one for param_1 8-byte elements with 1.5x growth (max 0x1fffffff), begin=end; Game::store_game_state/restore_game_state
006b9450 spawn_gfuel_explosion ECX = position, XMM1 = scale: Game::Spawn(1000,15) poof, loads "gfx/promo/gfuel/effects/explosion_big.anm2" (scale > 1.5, sound 0x337) or a random small explosion, ShakeScreen; Entity_NPC::PlayDeathEffects calls it when PlayerManager::GetGFuelCount() > 0
0068bba0 Console::update_state ECX = Game+0x68d78 (_console): ages message deque TTLs (+0x40 deque, +0x18), Glitched Crown (0x2b1) collectible refresh, open/close state machine 1..4 with 14-frame ease on +0x10 height; returns true when open (and not netplay); Game::Update, Manager::Update
005cb480 Entity_Player::update_mini_mush_costume counts TemporaryEffects of 0x47 (Mini Mush) + 0x246 (Wavy Cap), removes item-anim entries for ItemConfig list (+0x18, g_Manager+0x2a41c) entries 71/72/73 and adds the one for count 1-3/4-6/7+, then syncs other players; UseActiveItem, trigger_collectible_effect_removed
004aaef0 NpcAI::ENTITY_DOGMA_update_distortion reads "Distortion" null frame value from the NPC's animation state (+0x78/+0x98), adds 3 while +0xbc4 timer > 0, decays it, and writes the value into field 0x58 of every sprite layer; ENTITY_DOGMA, _angel, _angel_baby
0040cc10 ReferenceCountBase::ReferenceCountBase sets ReferenceCountBase::vftable, counts 0x10001, embedded KAGE::Mutex (vftable +8) initialised by FUN_00a15770; base of every ReferenceCount<T> smart-pointer block
00ae2060 th_granule_frame libtheora: iframe = granpos >> shift, pframe = granpos - (iframe << shift), minus 1 when info version >= 3.2.1; negative granpos -> -1; used after th_decode_packetin in the video player (KAGE_Audio::open_sound_file/audio_stream_seek), next to th_granule_time (00ae2110)
00aac980 ogg_stream_packetout libogg _packetout: ECX = ogg_stream_state, EDX = ogg_packet; lacing value flags 0x400 (hole -> packetno++, return -1), 0x200 eos, 0x100 bos, sums 0xff continuation segments, fills packet/granulepos/packetno; caller loops while < 0 before th_decode_packetin (VideoClip_Theora::readTheoraVorbisHeaders)
00aaae20 Mutex::ScopeLock::~ScopeLock theoraplayer ScopeLock: releases held mutex (clears locked flag, LeaveCriticalSection), and when logUnhandledUnlocks (this[1]) logs "WARNING: '<0x%p>' has been scope-unlocked automatically!" via log function PTR 00c5aa7c; video clip code
00aa1c60 stb_vorbis::get_bits stb_vorbis get_bits(f, n=EDX): valid_bits +0x584 / acc +0x580, n>24 splits into two reads (<<24), refills from get8_packet_raw with assert "f->bytes_in_seg > 0" (ogg.cpp line 0x5d3); start_decoder, vorbis_decode_packet_rest
00a55c40 FormattedText::set ? clears the 12-byte segment vector (+4), parses the input (FUN_00a56350 with callback FUN_00a56750 and args), and when param_5 set deep-copies each segment buffer (flag bit0 cleared) else marks borrowed (bit0); same struct as 00a55e20; Font::measure_string, render_lobby_info
00a2bfe0 utf8_decode_next ECX = UTF-8 pointer, EDX = out codepoint, param_1 = end: ASCII fast path, lead-byte length table (decompiler shows it as an offset into an unrelated string), validates continuation ranges, returns pointer past the char; Font::render_glyph_quads, online_chat_text_input
00a28360 KAGE::Network::Multiplayer::ConstLobby::ConstLobby ? sets ConstLobby::vftable, swaps in the shared_ptr returned by FUN_00a28840(&param_1) and releases the by-value shared_ptr param_2; netplay_lobby_host_handle_message, ModManager::RenderCustomCharacterMenu
00a1b580 Font::render_glyph looks up glyph index (FUN_00a1b410), applies kerning (FUN_00a1b4a0) * scale, reads 0x14-byte glyph record (+4 src xy, +8 size, +0xc offset, +0x12 page) and draws a quad from page texture this+0x3c[page]; Font::render_glyph_quads, Font::draw_glyph_run
009f6570 Weapon::fire_brimstone_with_color Weapon::FireBrimstone from owner position (+0x33c/+0x340), then laser vslot 0x3c (SetColor) with Weapon::get_laser_color (009f3f60); Weapon_Brimstone::Fire and 00a02890
009ef740 Menu_Title::load_graphics builds "gfx/ui/main menu/" + "titlemenu.png" / "titlemenu_2.png" / "titlemenu_3.png" (flags this+0x11c/+0x11d) and replaces the spritesheet on ANM2 this+8; MenuManager::LoadGraphics, Menu_Save::update_save_drawings
009d8ca0 has_all_completion_marks ? iterates 0x14 character rows of the mark table at 0xc35ed0 (stride 0x90) over 12 mark slots (order 0,1,2,4,5,3,6,9,12,7,13,14) and returns false on the first achievement in g_Manager+0x2d0 without bits 0xc; Menu_Save::Update/Reset, MenuManager::SetState
009d84d0 GameState::write_int_vector writes count then each 4-byte element of vector param_1 through stream vslot 0x1c (this[0]), feeding each value to Checksum::Update (00683410); GameState::write, GameState::write_player
009c87e0 GameState::write_entry ? writes a 12-byte record to stream param_1 with checksum: if first int == 0x80000000 writes int + two ushorts, else three ints; called in a loop from GameState::write and from GameState::write_room
009c7350 is_valid_item_config_id ECX = item kind, EDX = id: id < 1 -> true; kind 0 checks ItemConfig vector +0x18 (g_Manager+0x2a41c), kind 2 trinket (id & 0x7fff, vector +0xc at +0x2a410), else ItemConfig::GetCollectible != 0; used while reading saved players (GameStatePlayer::read_part3, restore_save_state_part2)
009c3d10 MessagePopup::add_yes_no_buttons ? same builder as 009c3c30: adds a spacer then "##GAME###PROMPT_YES" (id 1) and "##GAME###PROMPT_NO" (id 2) via FUN_009c2db0; MenuManager::Update, Menu_OnlineLobby::update_controls
009bfa70 PlayerManager::GetNumCoopPlayers ? counts players in vector this[0..1] with variant 0, no parent (+0x3bc), not the higher-indexed half of a twin pair (+0x1e68 / +0x161c), and flag +0x20a9 set; Entity_Slot::Update, coop_join_menu_update
009bc280 PlayerManager::find_safe_spawn_position ? collects positions (+ velocity*45 lookahead) of players/enemies/projectiles in the room, then samples random points (sin/cos) clamped by Room::GetClampedPositionImpl / FindFreePickupSpawnPosition maximising distance; Entity_Player::Revive, Entity_Player::InitTwin
009b1c40 std::vector<LevelGenerator_Room>::_Emplace_reallocate vector grow with 0x48-byte elements (max 0x38e38e3) copy-constructed by FUN_007507d0; LevelGenerator::place_room, get_neighbor_candidates (LevelGenerator rooms stride 0x48 at +0x364)
009a79b0 HUD::render_player_net_status ECX = HUD, player hud stride 0x6dc: in netplay, for a remote player (peer vslot 0x14 false) lazily loads "gfx/ui/online/colored_dots.png" and draws an 8x8 dot frame (FUN_00902530 index) at the hud position; HUD::Render, HUD::render_player_hud
009a6140 HUD::get_player_hud_position returns Vector for player hud param_2 from HUD+0x5954/+0x5934 tables (stride 8, hud stride 0x6dc), layout param_3 adjustments, negative coords wrap by screen size (DAT_00c78dc4/edc), netplay offset +24; HUD::Render, render_player_hud
009a0de0 HomingLaser::remove_collinear_samples ECX = Entity_Laser+0x464 (_homingLaser): copies samples (+0x1c vector<Vector>), then drops each point whose in/out directions dot within XMM1 tolerance of 1; Entity_Laser::update_laser/UpdateHits
0099ec00 HomingLaser::apply_sine_offset ? ECX = Entity_Laser+0x464: mode +0x40 == 1 offsets each sample radially from origin (+4/+8) by sin(i*12pi/n - frame*0.1 - phase)*10*amp; else offsets perpendicular to origin->end (+4..+0x10) line; Entity_Laser::update_laser/UpdateHits
0099c290 HomingLaser::HomingLaser zero-inits the vectors/fields (+0..+0x10, +0x1c..+0x3c, +0x48..+0x50); called at Entity_Laser+0x464 and Entity_Knife+0x468 (_homingLaser per db/fields.tsv) from their constructors
0098f960 FXParams::FXParams ? zero-inits a 0x4c-byte param block (+0x44 = 1); Room::constructor at Room+0x38 and a stack local in FXLayers::LoadConfig
009837b0 GridEntity_PressurePlate::update_greed_button_anim switch on _desc._state (+0xc) picks the anim name stored at +0x268: "Switched"/"SwitchedRed"/"SwitchedSkull"/"SwitchedPentagram", "On"/"OnSkull"/"OnPentagram", "Off*" by Game::IsGreedBoss/IsGreedFinalBoss; update_greed_button, BeginBatches
004155d0 rapidxml::xml_document::parse resets first/last node+attr lists, skips UTF-8 BOM, loops whitespace table, "expected <" error, parse_node per child, links into ECX doc's node list; called by every *.xml loader (AnmCache::ParseFile, ItemConfig::Load, EntityConfig::LoadEntities)
0040c3b0 KAGE::SmartPointer::operator_assign copy-and-swap: builds temp via 0040c550 (copy ctor), swaps both words with ECX, releases the old refcount (vtable +0xc, then DAT_00c7163c deleter); callers assign textures (LayerState::SetTexture, TextureCache::Add)
006ad350 Entity::apply_second_hand_duration returns duration*2*GetTrinketMultiplier(0x4e TRINKET_SECOND_HAND) when the EntityRef source (param_2+0x24, walked up _spawnerEntity) is a player holding Second Hand, else duration; called by every Entity::Add<status> (AddFreeze/AddPoison/AddBurn...)
0067f580 string_split zeroes a std::vector<std::string> (ECX result) then FUN_0067f420 reads tokens via an istringstream into it; ItemConfig::parse_tags calls it with ' ' (0x20); also Console::RunCommand, EntityConfig::parse_entity_tags
0040c7f0 KAGE::SmartPointer::reset news a ReferenceCount<KAGE::Graphics::ImageBase> (0x18, ptr at +0x14) for param_1, releases the old refcount (vtable +0xc), stores ptr/refcount into ECX[0]/[1]; TextureCache::Release, Game::~Game
00431070 std::string::concat_move std::operator+(string&&, string&&): steals the buffer of whichever operand has capacity (memcpy/memmove of the other), _Xlen on overflow, result in ECX; used for path building (costume_path_apply_skin_color, HUD::LoadGraphics)
00a2c250 text_convert_encoding ECX=src text, EDX=len, (srcEnc, dst, dstCap, dstEnc): FUN_00a2c6e0 converts into a temp vector, encoding 0=1 byte 1=2 bytes else "Unknown encoding specified", copies min(cap-1) and NUL-terminates, returns char count; PlayerHUD::RenderPocketItems calls (0,buf,0x65,1) UTF-8 -> UTF-16
00a23610 KAGE::System::UserProfile::load_steam_avatar "Steam User Avatar - %llu": ISteamFriends GetLargeFriendAvatar (+0x8c) -> ISteamUtils GetImageSize/GetImageRGBA into a tracked_alloc buffer, creates a texture via FUN_00a11c70; callers set local UserProfile::vftable and then call it (NetplayManager::update_player_removal)
009f3290 IsaacRepentancePlus::Weapon::~Weapon resets vftable to IsaacRepentancePlus::Weapon::vftable, clears the owner's weapon ref (familiar +0xd4c or player via FUN_007ad4e0), erases the multiset entry at +8; called by every Weapon_*::Free
00a1b050 Font::DrawString Font::measure_string into a glyph vector then Font::render_glyph_quads, then frees the vector; called by Entity_Player::Render, Menu_OnlineLobby::Render, OnlineChat::render
007fec00 Room::TriggerBossDeath own log string "TriggerBossDeath: %d bosses remaining." with ECX+0x7224 (Room boss counter: Entity_NPC::Init increments DAT_00c71678+0x18300 room +0x7224 for bosses); skips type 0x19b variant 1/2, sets entity flag 0x100000; called from Entity::RemoveWithPoof and boss AIs (Lamb, Gideon, Dogma)
0040c4a0 KAGE::SmartPointer::SmartPointer ctor from raw ImageBase*: zeroes ECX then wraps param_1 in a new ReferenceCount<KAGE::Graphics::ImageBase>; Game::constructor, Backdrop::constructor, ANM2::LoadGraphics
00a11160 quad_set_rect ? same 4-corner fill from pos+size as render_quad_set_rect (00a10e70) but an 8-float quad with a bool at +0x20 set to 1 (no colour floats); used just before render_quad_set_rect in Backdrop::RenderFloor/PlayerHUD::RenderActiveItem, likely the source (UV) quad
009562d0 InputManager::GetActionValue (action, controllerIndex, entity) -> float; same InputManager vtable +0x74 call with callback FUN_00a20ab0 as the Lua Input::GetActionValue (0086fd70) plus a netplay path (FUN_00864d80) and controllerIndex -1 polling all devices; Entity_Player::GetShootingJoystick calls it with actions 4..7
00856650 std::vector<104byte>::_Emplace_reallocate element size 0x68, max 0x2762762, grows x1.5, _Xlen; InfoDisplay xml loaders push entries
00722330 std::vector<28byte>::_Emplace_reallocate element size 0x1c, max 0x9249249, grows x1.5, copies 7 dwords; History::AddHistoryItem and GameStatePlayer::read_part3 push history items
007090c0 shared_ptr::operator_assign copy-and-swap: temp from shared_ptr::assign (0041c770, really the copy ctor), swap two words with ECX, release old refcount (vtable +0xc, deleter DAT_00c71644); render-surface assignment in Game::create_render_surfaces, Minimap::Init
0044be50 std::deque<4byte>::_Growmap doubles map size (min 8, 0xfffffff overflow check), _Allocate then memmove/memset of the 4-byte block pointer map around the offset at +0xc; callers std::deque<int>::resize/push_front, std::deque<EntityPtr>::resize (same as named std::deque<int>::_Growmap 00499410)
00a52890 flock ECX=fd (_get_osfhandle), EDX=op: UnlockFileEx, then 1=LOCK_SH, 2=LOCK_EX (+4 LOCK_NB -> LOCKFILE_FAIL_IMMEDIATELY), 8=LOCK_UN returns 0, else errno EINVAL; used by PersistentGameData::Save, Isaac::SaveModData/LoadModData
0095adf0 render_input_button_icon ? forwards all args to FUN_0095af30 plus DAT_00c3793c/40 (1.0f,1.0f: default scale); 0095af30 dynamic_casts the device to KAGE::Input::InputDeviceGamepad, picks the anim by pad type (+900), ANM2::Play/Render on ECX+0x4abe4; GameOver::RenderItemSprite passes action ids 0x1c/0x19
0084dad0 InfoDisplayEntry::InfoDisplayEntry ? ctor: zeroes a vector at +0, empty std::string at +8 (cap 0xf), more zeroed vectors to +0x44, then FUN_006efa40 inits 10 x {0,0,0,0.01f,0} records; built per <item> in InfoDisplay::load_collectibles_xml / info_display_xml_parse_trinkets before the push, and once in Manager::constructor
00752900 std::vector<8byte>::_Reallocate_exactly max 0x1fffffff, _Allocate, copies 8-byte elements, _Change_array(old count, new cap); called by std::vector<8byte>::reserve
00694d20 EntityConfig_Entity::GetName returns std::string of the name at ECX+0xc; if it starts with '#' looks it up in StringTable "Entities" (language param 0x14 -> Manager+0x4a920 current language); Menu_Bestiary::Render, Entity_Player::room_enter (Spindown/boss name), Console::FillOmnicomplete
0041e720 BeamRenderer::Add appends a 0x44-byte Point to the global point vector DAT_00c78efc..f00 (pos, spritesheet coord XMM2, width XMM3, color mod), Point::UpdateNormal on the previous point, between BeamRenderer::Begin and BeamRenderer::End in Entity_NPC::RenderSegmentLink; REPENTOGON static BeamRenderer::Add(Vector*, ColorMod*, float<xmm2>, float<xmm3>)
00a582e0 memory_stream_read ? fread-style (dst, size, count) on a buffer object addressed by negative offsets from ECX (+-0x1c begin, -0x18 end, -0xc cursor, -8 total read), memcpy of the available part; save/desync code (write_desync_dump, Menu_Save::load_slot_data)
00a1b2d0 Font::draw_string_wide ? same shape as Font::DrawString but via Font::layout_glyphs/draw_glyph_run; PlayerHUD::RenderPocketItems passes it the UTF-16 buffer produced by text_convert_encoding(0,buf,0x65,1)
00a17860 file_exists FileSystem::ResolvePath(path) != 0 (frees the resolved buffer via tracked_alloc(0,0)); anm2_resolve_spritesheet_path, costume_path_apply_skin_color, ModManager::LoadModContent
009bc000 PlayerManager::trigger_new_room_effects ECX = player vector (GetPlayer "There are no players!" assert): Entity_Player::TriggerNewRoom_TemporaryEffects for every player, then queries room EntityList sublist +0x1218 and runs FUN_0062c8a0 on each (familiar variants 0xcb/0xdd new-room hooks); called by Level::ChangeRoom, Game::rewind, StageTransition::Update
009b0180 LevelGenerator::can_place_room for each cell offset of the shape (LevelGenerator::get_room_placement_offsets, terminated by DAT_00c35d20/24 sentinel) checks 13x13 bounds, grid slot ECX+0x14+idx*4 < 0 (empty), blocked flags +0x2b8, and not the last placed room cell when +0x391; returns 1 if all free; Level::try_place_random_room, LevelGenerator::get_neighbor_candidates
0096fc70 Entity_Laser::calc_end_point picks max distance 20.0 (140.0 with TearFlags mask DAT_00c348d0, 100.0/inf when room flag bit15 or variant 5) then Entity_Laser::CalculateEndPoint(out, .., ECX+0x34c pos, ECX+0x3bc angle, dist); Entity_Laser::update_laser, update_first_frame
00954b40 input_poll_active_device loops all input devices (FUN_00a20240), first with any pressed action (vtable +0x3c != -1) becomes Manager+0x4abd4 and, in mode 2, Entity_Player::SetControllerIndex on player 0 and DAT_00bf9444; returns 1 when found; Manager::update_ingame_input, Menu_Character::handle_input
0090e6d0 NetplayManager::check_connection returns 1 while the network session (DAT_00c79a58 vtable +0x10) is up; otherwise, once (ECX+0x58 == -1), opens the "##PLATFORM###LOST_CONNECTION_TO_SERVER" popup and stores its id at +0x58, returns 0; NetplayManager::Update, Menu_Online*::Update
00897540 LuaRef::equals rawgeti self ref (ECX[0]=L, ECX[1]=ref) from the registry, pushes the other LuaRef, lua_compare(EQ), pops, luaL_unref(param_2); Isaac::HasModData/SaveModData compare mod refs
007b9940 Entity_Player::is_footstep_triggered (foot: -1 any, 0 left): if the player's costume layer sprite (+0x123c index into +0x1220, anm2 3/0x271) is playing, Sprite::IsEventTriggered "LeftFootstep"/"RightFootstep"; otherwise a frameCount%6 / %12 cadence when not paused and flag 0x4000 clear; Entity_Player::update_footprints, GridEntity_Poop::Update (creep under the player)
007310e0 std::vector<4byte>::resize shrink sets end; grow within capacity memsets zeros, else FUN_00732240 reallocates; Game::store_game_state, Entity_Player::StoreGameState, ItemConfig::Load
004267f0 std::vector<8byte>::_Emplace_reallocate element size 8, max 0x1fffffff, grows x1.5, _Change_array; Game::AddEncounteredBoss, Menu_Save::select_save_slot, netplay
00417670 EntityList_EL::remove removes every occurrence of the entity pointer from the EL array (+4 data, +0xc count) by shifting down, "EL: invalid index for remove" assert; EntityList::AddEntity, PlayerManager::RemoveCoPlayer, Game::rewind
004141a0 std::basic_stringbuf<char>::~basic_stringbuf sets basic_stringbuf vftable, frees the owned buffer when mode bit 1 set, nulls the six get/put pointers, clears state, tail-jumps to the basic_streambuf dtor; called from its scalar_deleting_destructor and ResolveRelativePath
00a78160 NetConnection::send_message ? locks the mutex at ECX+0x24 ("Invalid mutex object specified"), builds a message with id from global counter DAT_00c73678, splits the payload into ceil(len/1092) chunks of <=0x444 bytes each queued with header {id, type param_2, chunk count, index, reliable param_5} (FUN_00a59f30); netplay lobby/menu senders
00a28790 KAGE::SmartPointer<LobbyImplBase>::SmartPointer default ctor: zeroes ECX, wraps a null pointer in a new ReferenceCount<KAGE::Network::Multiplayer::LobbyImplBase> (0x18), releases any old refcount; SaveSlotManager::constructor, MenuManager::constructor
00a1b210 Font::draw_string_wide_unscaled ? twin of Font::DrawString (00a1af90, measure_string + scale 1) built on Font::layout_glyphs/draw_glyph_run with scale &DAT_00c3793c (1,1); GenericPopup::Render, HUD_Message::UpdateTextImage
00a10fa0 render_quad_copy copy ctor of the 0x70-byte render quad (8 pos floats + 4 KColors, cf. render_quad_set_rect): default-inits corners to DAT_00c7b640 and 4x KColor::SetFromARGB(0xffffffff), then copies 0x1c dwords from param_1; BeamRenderer::End, render_quad_draw
009f52c0 Weapon::update_c_section_charge_anim state 0/1/2 -> "SubAnim_Charge"/"SubAnim_Charged"/"SubAnim_Shoot"; for the owner player's costume layers (+0x122c, 15 slots) whose item is ItemConfig::GetCollectible(0x2a6 COLLECTIBLE_C_SECTION) plays/sets the overlay anim and frame; non-player owner falls back to Weapon::UpdateHeadChargeAnimation(0x2a6); Weapon_Fetus/Brimstone/Bone::Fire
009e5960 ScoreSheet::add_cleared_room ? ECX is the ScoreSheet (009e5300 ScoreSheet::ScoreSheet inits the same +0x5c vector); (roomType, roomShape, clearCount, flag) with float in XMM0: when param_3==1 and amount > 0 pushes FUN_009e6740(shape) entries {roomType, flag, amount} (2 for shapes 8..12 i.e. 2x2/L rooms, else 1) into the vector at ECX+0x60 (realloc 0069ee50), and adds the count to ECX+0x74 for roomType 0xb; Room::TriggerClear, Room::on_leave, Ambush::Update
009c3ab0 PopupManager::close ? ECX = Manager+0x4ae74 (the object FUN_009c25e0 opens popups on, e.g. NetplayManager::check_connection): under the mutex at +8 finds the popup whose id == *param_1; if state < 3 either stores the result (+0x18) or sets -0x1010102, calls its callback (+0xa0, userdata +0xa4) and FUN_009c1260(3) to finish; Manager::update_controller_popups closes popup id Manager+0x4abcc with -1
009afc70 LevelGenerator::update_dead_end_lists resets the two index vectors at +0x370/+0x37c, LevelGenerator::mark_dead_ends, then for each 0x48-byte room (+0x364 vector) FUN_009af980 and pushes its index into the dead-end list (room+0x3c set) or the other list; LevelGenerator::Generate, LevelGenerator::CreateRoom
009614d0 Entity_Knife::copy_parent_state copies from the source knife: position-ish +0x34c/0x350, colour via vtable +0x3c (SetColor), TearFlags +0x410..0x41c, vtable +0x40 with +0x388, rotation +0x43c wrapped to [-180,180], +0xe4/0xe8, bytes +0x4e5/0x4e6; Entity_Knife::spawn_child_knife, Entity_Familiar::multidimensional_baby_copy_knife
009296c0 PersistentGameData::check_challenge_unlocks for challenges 1..0x2d (Manager+0x2a664 challenge params, 0xa4 each, required-achievement id vector at +0x48) unlocks DAT_00b7b0b0[challenge] via PersistentGameData::TryUnlock when every required achievement flag is set; runs after achievement grants (PersistentGameData::TryUnlock, TryAddBestiaryEncounter, Entity_Player::AddBlueFlies)
00907690 netplay_leave_lobby copies the global current-lobby shared_ptr DAT_00c79a74 and, if valid, logs "Leaving current lobby %llu" with its 64-bit lobby id (+8/+0xc) then leaves/resets it; Game::FinishChallenge, Menu_OnlineLobby::Update, online_stats_finalize
0084e5b0 InfoDisplayItem::is_line_visible (lineIndex, player, flags) over the item's 0x68-byte description lines (ECX+0x2c vector): player-type include/exclude lists (+0x18/+0x24 vs _playerType), required/excluded collectibles (HasCollectible) and trinkets (HasTrinket), achievement gate +0x60 (Manager+0x4c flags, < 0x282), then a mode/flag check; PlayerHUD::render_pocket_item_info, render_item_info_text
008131e0 Room::ScreenWrapPositionImpl Room::GetClampedPositionImpl(out,pos,margins...); if pos is inside returns it, else moves it across to the opposite wall along the axis with the larger overshoot using the room bounds at ECX+0x14..0x20; called by Room::ScreenWrapPosition (Lua wrapper) and Entity_Laser::UpdateHits/update_laser
007cbef0 Entity_Player::spawn_forgotten_body ECX Entity_Player: reuses _forgottenBody unless missing, Game::SpawnEx(3, 900 FAMILIAR_FORGOTTEN_BODY) at _pos (or _forgottenBodyPos when HasCollectible(0x26b Birthright) and _playerType 0x11), copies size/scale/colour, stores _forgottenBody/_forgottenBodyRoomIdx/_forgottenBodyPos, poof effect 1000/0x72; Entity_Player::room_enter, init_player_type_state
00753390 std::vector<4byte>::insert_range (where, first, last): grows x1.5 (max 0x3fffffff, _Xlen) and memmoves the [first,last) 4-byte range in at where; Level::generate_dungeon, RoomConfig::GetRandomRoom
00722a80 ItemConfig_Item::ItemConfig_Item zero/empty-string init of the item record (std::strings at +0xc/+0x24/+0x3c/+0x88 with cap 0xf, +0x7c 0xf0001, -1 sentinels at +0xa4/+0xc8/+0xdc); ItemConfig::Load and ItemPool::CreateGlitchedCollectible call it right after new and then fill the gfx path ("gfx/promo/gfuel/items/collectibles/...")
00708b70 std::vector<12byte>::operator_assign copy-assign when this != other: reserve (FUN_006a0dc0) if capacity/12 is short, memmove the bytes, set end; Game::store_game_state/restore_game_state, Leaderboard::Show
0069ee50 std::vector<12byte>::_Emplace_reallocate element size 0xc, max 0x15555555, grows x1.5, memmove halves; EntityConfig::LoadEntities, RoomConfigRoom::ParseXml, queue_room_clear_charges (009e5960)
006341a0 Entity_Familiar::apply_baby_bender if the familiar's player (+0x410) has TRINKET_BABY_BENDER (0x7f) adds homing to the tear's TearFlags (+0x428..0x434 via FUN_00633ea0) and sets its colour (vtable +0x3c), returns whether it applied; Entity_Familiar::ai_incubus_shot, FireBrimstone, fire_wisp_projectile
0059c4c0 std::string::push_back appends one char: in-place when size < capacity (+0x10/+0x14, SSO when cap <= 0xf) with NUL, else grows (x1.5, |0xf, _Xlen at 0x7fffffff) and memcpy; online_chat_text_input, rich_text_layout
00424310 ChallengeParams::ChallengeParams ? ctor: empty std::string at +0, std::set/map head node (0x14, isnil 0x101) at +0x18, many zeroed vectors after; Game::constructor, Manager::constructor and challenges_xml_load (Manager+0x2a664 holds the 0xa4-byte challenge params read by Game::GetChallengeParams)
0040c890 render_color_stack_push push_back of a 0x2c-byte ColorMod (11 floats: tint/colorize/offset) onto the global deque DAT_00c78db4 (map) /db8 (size) /dbc (offset) /dc0 (count), growing the map like _Growmap; Entity_Player::Render and Entity_Familiar::Render push then pop it (DAT_00c78dc0--), AnimationLayer::RenderFrame applies the top when DAT_00c78dc0 != 0
00ab6ee0 oggpack_write libogg bitpacker (b, value, bits): bits > 32 or realloc failure clears the buffer, grows by 0x100 (BUFFER_INCREMENT), masks with the mask table DAT_00b4f838 and ORs bytes in; theora encoder/decoder helpers (mapping0_inverse callers)
00aac3e0 ogg_sync_pageout ECX ogg_sync_state, EDX ogg_page: loops the inlined pageseek (needs 27 header bytes, "OggS" capture, memchr for the next 'O' on resync); KAGE_Audio::open_sound_file, VideoClip_Theora::readTheoraVorbisHeaders
00aaac60 int_to_string ? sprintf(buf[64], "%d" (DAT_00b1bb84)) into the std::string at ECX; theora_create_video_clip, TheoraVideoManager::TheoraVideoManager
00aa1bc0 stb_vorbis::flush_packet loops get8_packet_raw inlined: next_segment (FUN_00aa1a40) when bytes_in_seg is 0 and not last_seg, assert "f->bytes_in_seg > 0" (ogg.cpp line 0x5d3), --bytes_in_seg, ++packet_bytes, get8 until EOP; stb_vorbis::start_decoder, vorbis_decode_packet_rest
00a519a0 leaderboard_find_async ? (name, flag 0/1, callback, userdata): when the online service bit DAT_00c5ab14&1 is off calls callback(0, userdata) at once; otherwise news a 0xb0 request holding a copy of the name, FUN_00a51570(1,0,name,flag,callback,userdata) and submits it (FUN_00a52100); Leaderboard::get_leaderboard passes the ranking name with FUN_0085a8f0/FUN_0085a9d0 callbacks, Game::StartStageTransition too
00a2b1e0 SoundManager::load_sound "Sound manager has not been initialized", picks the source by extension ".ogg"/".wav" ("Failed to load sound '%s'. Unknown sound source type"), "sample" vs "stream" (param_4), path hash via KAGE_Filesys_FileManager::GetPrimaryFilePathHash, "Failed to open %s \"%s\""; SoundEffect::Load, SoundEffects::Play
00a193c0 Window::get_framebuffer_height ? GLFW 3.4 inlined getter on the GLFWwindow at ECX+0xbc: assert "window != NULL" at window.c line 0x2c7 (glfwGetFramebufferSize region), _glfwInputError(GLFW_NOT_INITIALIZED) if not initialized, platform callback DAT_00c73730(window,&w,&h), returns h; Manager::ResizeWindowCallback, Manager::update_state_loading
009f3d00 Weapon::get_owner_tear_flags resolves the owner (+4) to a player (type 1, or a familiar's player), returns its TearFlags (player +0x1488..0x1494) into the 16-byte out; for a familiar owner with TRINKET_BABY_BENDER (0x7f) ORs the homing mask DAT_00c34ba0; Weapon::fire_laser, Weapon_Rockets::Fire
009e5300 ScoreSheet::ScoreSheet zeroes the vectors at +0x40/+0x5c/+0x68/+0x7c then FUN_009e53a0 (ScoreSheet reset: zeroes bonus ints +0..+0x34, clears vectors, run ending); REPENTOGON ScoreSheet has _runTime at +0x40 region; Game::constructor, Leaderboard::render_scores builds one per row
009d8be0 save_slot_get_status ? returns 0/1/2 for the current save slot from Manager flags (+0x2c9 -> 2; +0x19f, +0xa80, +0xf18 > 0, +0x2c7) with the netplay checks (Manager+8 == 2, Game+0x26630/+0x26589); Menu_Save::Reset calls it after Manager::SetSaveSlot for each of the 3 slots and stores it per slot
009d83f0 std::vector<52byte>::resize element 0x34: shrink sets end, grow within capacity via FUN_009d8820 (default-construct n), else FUN_009d8a20 reallocates; Entity_Player::restore_save_state_part2, GameStatePlayer::read_part3
009c7800 GameState::~GameState tears down the GameState members: strings, vectors at +0x1fde0/+0x1fd98, 7x800-byte records at +0x1e7b4, a set at +0x1e778, 0x1f vectors at +0x1e3cc, 4+8 0x5dc-byte player states (FUN_00754d90) at +0x1cc5c/+0x19d7c, 0x20f RoomDescriptor::destructor at +0x1a0; write_game_state_to_stream unwinds its stack GameState with it, Manager::destructor
009c6c90 PreloadManager::load_group finds the preloads.xml group by name (FUN_0069d690 map find) and, if not yet loaded (+0x28), Manager::LoadImage + TextureCache::Add for every 0x20-byte {path, SmartPointer} entry of its vector at +0x44, then marks it loaded; Game::LoadConfigXmls loads "common"/"pickups"/"icons", PlayerManager::enter_level "player tears"
009c2db0 std::vector<48byte>::push_back copies 12 dwords to end (+4) and advances by 0x30, else FUN_009c2e30 reallocates; popup queue in Manager::update_controller_popups, Menu_Game::Update and the popup helpers 009c3b70/009c3c30
009beb30 PlayerManager::check_full_health ? walks the player vector (ECX), for each non-ghost main player (variant 0, !_isCoopGhost) tests _soulHearts+_redHearts >= _maxHearts or HasInstantDeathCurse, combining per param (any/all) into the bool result; Level::CanOpenChallengeRoom, Level::place_special_rooms (challenge room door rule needs full health)
009b2150 Menu_Options::Init ? loads "gfx/ui/main menu/OptionsMenu.anm2" into ECX+0x24, stores param_2 at +0, Menu_Options::load_graphics, copies the position Vector param_1 into +0xc/+0x14, clears +0x258; PauseScreen::Init/Show embed the options menu
009b0440 LevelGenerator::count_neighbor_rooms for the 4 direction offsets DAT_00c5d3e0..c5d400 counts cells inside the 13x13 grid that are occupied (ECX+0x14 slot >= 0) by a room other than the one at the cell itself (FUN_009afd70); LevelGenerator::mark_dead_ends, Level::generate_boss_room
009a6660 HUD::render_player_type_icon ECX HUD (texture at +0x592c, set up in HUD::LoadGraphics): maps player type 0..0x28 through a 41-entry table to a cell of a 6-column 32px atlas, scales x1.8 in co-op, draws a backing quad then the icon via render_quad_set_rect/apply_sprite_shader_params; Entity_Player::Render passes this->_playerType for the co-op marker, OnlinePlayerInfo::render_items
009a3590 HUD::show_fortune_line builds a one-element std::list<std::string> from param_1 (FUN_00693470 push) and calls HUD::render_fortune_text, then frees the list; Level::AddCurse (curse name banner), Entity_Player::room_enter
009a0520 HomingLaser::clip_samples_to_grid (pos, gridCollision): unless mode 0/3, walks the sample offsets (+0x1c vector<Vector>) converting pos+offset to a room grid index (40px cells, origin 40/120), Room::GetGridCollision + FUN_0070be60 test; on a hit erases the remaining samples (std::vector<Vector>::erase) and refines the last one with Room::check_line_collision; returns 1 when clipped; Entity_Laser::update_laser, UpdateHits
0099e160 HomingLaser::compute_bezier_handles over the 0x18-byte bezier points (+0x48 vector: pos, in-handle, out-handle) sets each handle to pos -/+ (prev delta + next delta) * tension (XMM1), halved for interior points, treating the path as closed when first and last points coincide (< 0.1); HomingLaser::build_bezier_path, build_ring_bezier
00993840 FXLayers::clear releases every layer's texture smart pointers (FUN_0040c7f0(0)) in the 0x2c-byte layer vector (+0x24) and its 0x14-byte entries, destroys the layers (FUN_009975c0), clears the 0x4c-byte vector at +0x18 and the 10x3 0x34-byte objects at +0xc0; Room::LoadBackdropGraphics, FXLayers::LoadConfig
0098f720 FXParams::FXParams default ctor matching REPENTOGON FXParams layout (size 0xa0): roomColor KColor(1,1,1,0) at 0, brightness 0 +0x14, contrast 1.0 +0x18, useWaterV2 false +0x1c, waterColor (0.04,0.04,0.04,0.6) +0x20, waterColorMultiplier 1.0 +0x34, shadowAlpha 0.5 +0x48, shadowColor/lightColor, water effect ColorMod; Room::constructor, FXLayers::LoadConfig
00730ed0 std::map<int_int>::operator_index std::set<int>::find_node then, if absent, allocates 0x18 node (key +0x10, value +0x14 = 0) and inserts (FUN_00415bd0); returns &node->value; "map/set too long" check 0xaaaaaaa
00a1d610 std::list<std::pair<int_int>>::push_back "list too long" check, operator_new(0x10) node {next,prev,a,b} linked before head; SaveSlotManager/MenuManager ctors, IsaacMain
0060c700 std::_Tree_iterator::operator_decrement red-black tree predecessor: from head goes to rightmost, else rightmost of left subtree or climbs parents (isnil byte +0xd); Isaac::GetEntityTypeByName/GetEntityVariantByName
00a14270 std::map<unsigned_int_4byte>::operator_index _Find_lower_bound on the uint key; if missing new 0x18 node {key at +0x10, value 0 at +0x14}, insert via FUN_00415bd0 (size 0xaaaaaaa check); returns &node+0x14; shader_cache_find, FXLayers::Render
00856120 std::map<int_InfoDisplayEntry>::erase ? erase(key): equal_range over the red-black tree on int key at node+0x10, then erases the range (node value holds std::strings: _Tidy_deallocate), returns count; InfoDisplay xml loaders replace an existing id
00652210 std::map<unsigned_int_4byte>::try_emplace _Find_lower_bound; existing -> {node,false}; else new 0x18 node {key +0x10, value 0 +0x14} inserted (0xaaaaaaa max size check), returns {node,true}; Entity_Familiar::PickEnemyTarget, map_find_value
00a27980 std::map<const_char_ptr_4byte>::find lower_bound (FUN_00a280b0) then byte-wise strcmp of the key at node+0x10; returns the node or end (*ECX); StringTable::get_string, Game::ShowFortuneText
009e86e0 png_write_image ? libpng writer: png_create_write_struct, png_info_destroy, png_destroy_write_struct ("Attempted to set both read_data_fn and write_data_fn"); the ZHL Entity_Familiar::RestoreState signature matched wrongly
00a6de60 Gamepad_processEvents ? libstem_gamepad: POV-to-axes and remove-device helpers, called from Manager::Update and the input poll; the ZHL KAGE_Filesys_FileManager::LoadArchiveFile signature matched wrongly
00918d00 NetplayManager::read_player_game_states_message only string "Specified data is not a report player game states message"; decompresses (00a614d0) then memory_stream_read; the ZHL Entity_Pickup::TriggerShopPurchase signature matched wrongly
00912560 NetplayManager::receive_vote_end_message "[Frame: %d] Recieved Vote End message from user %llu", "Victory lap vote processed"; calls NetworkManager::receive_message, called from NetplayManager::Update (was HUD::ShowFortuneText)
00a02890 Weapon_Brimstone::fire ? calls Weapon_Brimstone::fire_hitscan, Weapon::FireBrimstone, GetMultiShotParams, UpdateHeadChargeAnimation; this+4 owner, +0x34 modifiers, +0x48 laser (was NPCAI_Pathfinder::MoveRandomlyAxisAligned)
0085d980 luabridge::Namespace::~Namespace pops m_stackSize (ECX+4) from lua_State (ECX+0) via lua_settop, throws logic_error "invalid stack" if lua_gettop < count; 74 callers in LuaEngine::RegisterAPI and its register sub-functions (end of each beginNamespace/beginClass chain); identical code to ClassBase::~ClassBase (ICF)
0069d5a0 std::vector<EntityConfig_Entity>::_Tidy destroys 0x168-byte elements with FUN_00698ab0 (strings/vectors dtor) and frees storage; the vector is filled by FUN_00694f00 from the EntityConfig map filtered by entity type (2/9/5/1000) in ProceduralEffect::roll_params helper 009e0700
007221e0 std::vector<28byte>::_Tidy frees a vector of trivially destructible 0x1c-byte elements; called twice from GameStatePlayer::~GameStatePlayer (00754d90); 00722330 is std::vector<28byte>::_Emplace_reallocate
00754d90 GameStatePlayer::~GameStatePlayer member dtor chain (trees, deques, vectors up to +0x5d4); called from Entity_Player::~Entity_Player (00754ed0) and from 00906100 / 0090c7e0 on a local GameStatePlayer after GameStatePlayer::Init + Entity_Player::StoreGameState
00709d40 GridEntity::~GridEntity sets GridEntity::vftable then destroys _sprite (+0x40: ANM2::Reset, 2 AnimationState dtors, 2 strings); same body as GridEntity::Free (00709cb0) without the operator_delete(0x154); only unwind callers
009324f0 BackdropConfig::~BackdropConfig ? destroys 12 std::strings (one backdrops.xml entry's gfx paths); called from Backdrop::LoadConfig ("Could not find root node 'backdrops'") per parsed entry and Backdrop::pre_render_walls
00557a60 std::deque<4byte>::~deque ? deque _Tidy (pops size [4] with trivial elements, frees 16-byte blocks in the map [1]/[2]) then frees the 8-byte container proxy [0]; local deque in NpcAI::ENTITY_BUTT_SLICKER and others; element size not provable (16-byte blocks fit int or Vector)
008ce010 sprite_member_at_0x10_destroy ? destroys an ANM2/Sprite at ECX+0x10 (ANM2::Reset, AnimationState dtors at +0x40/+0x60, 2 strings), i.e. dtor of a non-polymorphic struct whose only non-trivial member is a Sprite at +0x10; only unwind callers, from MenuManager::constructor's EH states
00a553c0 std::vector<KAGE::Network::Multiplayer::ConstLobby>::_Tidy ? vector of 12-byte polymorphic elements (vftable at +0, deleting dtor slot 0 called per element) then frees storage; called from MultiplayerManager dtor (00a540b0, next to CCallResult<LobbyMatchList_t>) and ServiceLocalhost dtor (00a73aa0); ConstLobby is 12 bytes (vftable, handle, impl ptr) in those dtors
00a28ca0 KAGE::ThreadSafeQueue<KAGE::CommandQueueEntry>::~ThreadSafeQueue sets ThreadSafeQueue<CommandQueueEntry>::vftable, clears the queue, destroys the KAGE::Mutex member at +0x1c (DeleteCriticalSection, MutexBase::vftable)
008e1f30 FriendEntry::~FriendEntry ? dtor of a 0x14-byte element {UserProfile at +0 (8 bytes), ConstLobby at +8}: releases the ConstLobby impl via g_lobbyReleaseFn then resets UserProfileBase::vftable; the 0x14-stride vector of these is walked in 008e1a70; unwind-only callers; a vector of the same 0x14-byte elements is freed by 00a57690 in the FriendManager/EosFriendManager dtor 00a56e10, hence friend + their lobby
007dc8d0 std::vector<52byte>::_Tidy frees a vector of trivially destructible 0x34-byte elements; called twice from GameStatePlayer::~GameStatePlayer (00754d90) and Entity_Player::~Entity_Player
00722c10 ItemConfig_Item::~ItemConfig_Item ItemConfig::Load frees each 0xe8-byte ItemConfig_Item with FUN_00722c10 + operator_delete(0xe8); destroys 4 strings, a vector of 0xb8-byte entries (FUN_00731160) and the owned 0x198-byte costume at +0xcc; also called by init_procedural_item_surfaces
006929e0 Console::Print (text, color, fadeTime): Isaac::ConsoleOutput (Lua) calls it as (str, 0xffd3d3d3, 0x96); Console::PrintError calls it with red 0xfff08080; appends to the console history deque; 00738d70 currently carries this name from a ZHL prefix sig but is a Level::place_special_rooms helper
00613c20 Entity_Familiar::fire_robo_baby_laser ECX=familiar: Entity_Laser::ShootAngle(2 = thin tech laser) from familiar position, apply_tear_modifiers; offset differs when variant (ECX+0x2c) == 206 (wisp); callers Entity_Familiar::Shoot for variant 6 (Robo-Baby), FamiliarAI::variant_53 (Robo-Baby 2.0 like) and fire_wisp_projectile
00424e80 sprite_member_at_0x4_destroy ? dtor of a struct whose only non-trivial member is an ANM2/Sprite at +4 (ANM2::Reset, AnimationState dtors at +0x34/+0x54, 2 strings); unwind-only callers (Room / PauseScreen constructors' EH states)
00a77dd0 KAGE::Network::Multiplayer::ServiceBase::~ServiceBase sets ServiceBase::vftable, clears its list, destroys three KAGE::Mutex members (DeleteCriticalSection, MutexBase::vftable) and trees; called from ServiceLocalhost dtor 00a73aa0 and other service dtors
00a6f0c0 KAGE::Memory::HeapBase::~HeapBase sets HeapBase::vftable, frees each 0x1098-byte page in its list (+0x1c), resets counters, destroys the Mutex at +0x10; 00a6f090 is its scalar deleting dtor
00a5a4c0 KAGE::Thread::~Thread sets Thread::vftable, joins (WaitForSingleObject INFINITE + CloseHandle) the 0x28-byte native thread block at +8, deletes its critical section, then ThreadBase::vftable
00a57690 std::vector<FriendEntry>::_Tidy ? destroys 0x14-byte elements via FUN_00a57a10 (per element ConstLobby at +8 released through g_lobbyReleaseFn) and frees storage; called from the FriendManager/EosFriendManager dtor 00a56e10
009f1cb0 std::vector<RichTextSegment>::_Tidy ? vector of 0x40-byte elements each starting with a std::string; used by rich_text_render and Font::measure_rich_text (the parsed rich-text pieces of a line)
009f1c40 std::vector<std::vector<RichTextSegment>>::_Tidy ? vector of 0x10-byte elements each destroyed with 009f1cb0 (vector of rich-text segments), i.e. the lines of a rich text; unwind-only callers near rich_text_render
00424cd0 SharedPtrPair::~SharedPtrPair ? inverse of SharedPtrPair::constructor (00424c40, two KAGE::SmartPointer members): two KAGE::SmartPointer::reset(0) then releases two image refs (+4/+0xc) via g_imageReleaseFn; Game::~Game calls it twice exactly where Game::constructor built the two SharedPtrPairs (after FUN_0042fa30, reverse order), also 008d1d20 and 0083c4c0
009b5600 PauseScreen::~PauseScreen Game::~Game destroys it in reverse ctor order right where PauseScreen::constructor ran; destroys the ANM2s at +0x2c/+0x140/+0x254/+0x368/+0x47c that PauseScreen::constructor builds, plus MenuDialog (009c4020), Menu_Options (009b2090), sprite +0xe94 and an image ref +0xe88
009c4020 MenuDialog::~MenuDialog inverse of MenuDialog::constructor (009c3f30: ANM2 at +4 and +0x118, std::map head at +0x244): resets both ANM2s, erases the map (0x20-byte nodes), vector_UserProfile_destroy; called by PauseScreen::~PauseScreen and 008e7630
009b2090 Menu_Options::~Menu_Options inverse of Menu_Options::constructor (009b1fc0: ANM2 at +0x24 and +0x138, std::string at +0x260, vector +0x27c): destroys them; called by PauseScreen::~PauseScreen and 00986f30 (MenuManager side)
009dc750 ProceduralItemManager::~ProceduralItemManager Game::~Game member at Game+0x67758 (_proceduralItemManager, db/fields.tsv): the std::set head at +0x28 is the one Game::constructor allocates into Game+0x67780; frees vector<ProceduralItem*> at +0, vector +0x1c, two render-target refs (+0xc/+0x14 via g_renderTargetReleaseFn) and two SmartPointer<RenderTargetBase>
009b8ea0 PlayerManager::~PlayerManager Game::~Game member destroyed where Game::constructor builds _playerManager (Game+0x1baa8): deletes every Entity_Player* in _playerList (vector at +0, virtual deleting dtor), a second owned-ptr vector at +0xd0, the 4 owned pointers at +0x80 (esauJr[4], zeroed in the ctor), then frees the vectors
009abd80 ItemOverlay::~ItemOverlay Game::~Game member at Game+0x1c034 (_itemOverlay): ANM2 at +8 (= Game ctor's ANM2 at 0x1c03c), vector of 0x30 x 0x58 at +0x11c (= Game ctor's _eh_vector at 0x1c150 with dtor 009abd50), ANM2 at +0x11a4 (= 0x1d1d8), multiset +0x11a0
0098b1d0 Minimap::~Minimap Game::~Game member; resets the ANM2s at +0x500 (_iconsSprite), +0x3ec (_hudPickupSprite), +0x2d8 (_itemIconsSprite) and frees their heap blocks, releases the image ref at +0x614 and render-target SmartPointers, matching Minimap::Init's layout
00973a50 Entity_Laser::refresh_tear_params ECX=laser: when +0x517 set and the _spawnerEntity (+0x3c8) is a player or a familiar variant 80/235/238/240 (its player at +0x410), recomputes Entity_Player::GetTearHitParams(3 = laser, ...) into the laser's tear flags (+0x428..+0x434, masked by +0x448..) and _collisionDamage (+0x388, halved in some coop mode); called at the start of Entity_Laser::UpdateHits and from Entity_Laser::update_laser
0098f850 image_ref_vector_holder_destroy ? dtor of a small struct {?, image ref at +4/+8 released via g_imageReleaseFn, vector at +0xc}; unwind-only callers
009737b0 Entity_Laser::update_endpoint_and_hits ? ECX=laser: resets +0x544 to +inf, takes the last two sample points of the vector<Vector> at +0x480 as end position (+0x548) and normalized end direction (+0x550), Entity_Laser::find_nearest_grid_hit when not a continuous laser, then Entity_Laser::update_line_hits (branch on tear-flag masks and variant); called from Entity_Laser::update_laser and Entity_Laser::UpdateHits
0095bdd0 std::vector<164byte>::_Tidy destroys 0xa4-byte elements with FUN_004269f0 (string + set + 5 vectors) and frees storage; called from Manager::destructor
0095a680 persistent_game_data_set_writable ? if netplay (Manager+0x4b3d8 vector non-empty) calls FUN_0090cd10(2, ...); then unless custom run / achievements disallowed / gameplay input active, logs "Setting PersistentGameData ReadOnly to False" and clears the read-only state; callers Game::End and Entity_Player::Update
00958ed0 Manager::save_game_state "[warn] Cannot save game state while not in game.", "[warn] GameState::Save: no filename specified."; Game::store_game_state into Manager+0xfa4 (GameState), GameState::DeleteRerun, SaveDataManager::open_file_write (or Steam cloud FUN_009cad40), then Manager::BackupSaveFile + PersistentGameData::Save/SaveToSteamCloud; callers Game::Exit and StageTransition::Update
00954150 Manager::update_screen_scale (width, height, isFill): from GraphicsWindow framebuffer size and the current display mode (Manager+0x215d8 x 0x4c records) computes the scale, writes g_displayPixelRatio, g_screenWidth/g_screenHeight, g_screenPointScale and letterbox offsets Manager+0x215f0/+0x215f4, sets Game _triggerWindowResize (+0x26534); callers Manager::ResizeWindowCallback and Manager::update_state_loading
009522b0 Manager::render_loading_icon draws one of the two images at Manager+0x4ae0c (slot chosen by _framecount % 16 > 7, i.e. blinking) centered on screen (g_screenWidth/Height minus image size, halved); Game::Render calls it only when _isFadeInIconShown, MenuManager::Render during its fade
00950f10 NightmareScene::~NightmareScene destroys ANM2s at +0x20/+0x134/+0x248/+0x3a8/+0x4d4, the same sprite offsets Manager::constructor builds at Manager+0x21628 (_nightmareScene, db/fields.tsv), plus a vector and vector<std::string>; called from Manager::destructor
00950510 InfoDisplay::~InfoDisplay ? destroys four std::map<int_InfoDisplayEntry> (0x128-byte nodes, FUN_008565e0 erase: collectibles/trinkets/pills/cards), a string and three std::vector<InfoDisplayEntry>; Manager::destructor member just before ItemConfig's
009314c0 AchievementOverlay::~AchievementOverlay destroys the 0x282 x 0x34-byte entry array at +0x134 and the ANM2 at +0x20, then the deque at +0 (00557a60); matches Manager::constructor's AchievementOverlay at Manager+0x21c1c (ANM2 +0x20, 0x34-byte entries +0x134, db/fields.tsv); called from Manager::destructor
0094e170 Menu_Character::render_page_snapshot ? ECX=Menu_Character: pushes the current render target, binds and clears the target at +0xfe0, resets blend state, draws the page (FUN_0094bbd0(&Vector::Zero, 1)) and pops the target; callers Menu_Character::Update and Menu_Character::DoPageSwap (page-swap transition image)
00945400 Capsule::get_bounding_box (outMin, outMax): extent = |dir.xy| (+0x18/+0x1c) * halfLength (+0x24) + radius (+0x20) around the capsule center (+0/+4); sits between Capsule::constructor2 and Capsule::Collide; callers EntityList::query_player_capsule_hits and Entity_Familiar::ai_umbilical_baby
00943190 vector_ring_buffer_weighted_average (out, ring): linearly weighted average of the Vectors in a ring buffer {data, capacity, count, start} (inlined remap logs "Start and End parameters cannot be the same!"); result goes to Game _screenShakeOffset-area (+0x2650c) in Camera::update_follow and Camera::update_focus_position (camera smoothing)
0092f050 StageTransition::update_player_trapdoor_scale ? (player, isFast): when the transition state (ECX+0x10) is 4 and the player sprite plays "Trapdoor", eases sprite _scale above 2.0 back toward 1.5 by animFrame (rate 1.0 or 1.5); callers StageTransition::Update and Game::interpolate_update
0092e120 SFXManager::adjust_pan (soundId, pan in XMM2): bounds-checks the 0x1b8-byte sound entry ("[warn] Sound %d has no samples."), for each playing voice (stride 0x38) stores the pan and calls the source's set-pan slot ("Attempting to set pan on non-mono source (%s)..."); sits between SFXManager::AdjustPitch and SFXManager::Stop; callers Game::update_trapdoor_loop_sfx (after AdjustVolume(0x3f0)) and Room::update_ambient_sounds (0x1cc)
0092ca70 std::map<int_int>::operator_index lower_bound (std::set<int>::find_node) then inserts a 0x18-byte node {key at +0x10, value 0 at +0x14} if missing, returns &value (max_size 0xaaaaaaa check); used on the bestiary maps by PersistentGameData::AddBestiaryKill / TryAddBestiaryEncounter; same body as 00730ed0
00929240 PersistentGameData::get_save_file_name ? returns a heap copy of the file-name part (after the last '/') of the save path string at ECX+8 (or the fallback path at +0x20 when empty); Manager::BackupSaveFile uses it in "%s%d.%s" for save_backups/, also Menu_Save::Update and 00926510
00926120 PersistentGameData_Bestiary::~PersistentGameData_Bestiary erases the four std::map<int_int> at +0x18/+0x10/+8/+0 (0x18-byte nodes), the exact inverse of PersistentGameData_Bestiary::constructor (00926020, four 0x18 tree heads); callers include Manager::destructor and the save loaders
00924000 OptionsConfig::reset_defaults ? writes default option values (three 0.3f volumes at +0x18..+0x20, 1.0f scales, window size from glfw_get_window_size into +0x74/+0x78, 99 at +0x6c, ...) and clears the string at +0; callers OptionsConfig::Load (before parsing options.ini) and Manager::constructor
0091fe80 NightmareScene::load_nightmares_xml (path): FileSystem::Open + XML "nightmares"/"nightmare" nodes with backgroundAnm2/progressAnm2 (default nightmare_bg.anm2), pushes 0x18-byte entries into the vector at ECX+0xc and ANM2::Load into ECX+0x20/+0x248 (NightmareScene sprite offsets); callers Manager::load_configs and ModManager::LoadModContent
0091cf80 OnlineChatMessage::constructor ? (user, text, ..., time in XMM3): zeroes +0, builds a UserProfile at +4 (UserProfile::find_or_create, load_steam_avatar), clears a string at +0x10, stores the float at +0x28 and sets the text via FUN_0091d080; callers online_chat_update, online_chat_text_input and 00906d60
0091c870 online_vote_send ? ECX = vote (0/1, else "Invalid vote specified"); if it equals the pending vote resets the session state and records it for the local user (g_userProfile id), then builds a NetConnection message (type 0xb, "Attempting to create a message when there is no multiplayer service") and NetplayManager::send_message(0x18); callers Manager::update_ingame_input, Manager::update_state_loading, 00837fe0
00919440 shared_save_write ? builds a PersistentGameData snapshot (PersistentGameData::constructor + copy of the bestiary/achievements), serializes it through two BufferedStreams and writes "sharedsave%d.dat" (save slot Manager+0x10) via SaveDataManager::open_file_write with a gmtime header ("%02d_%02d_%d__%02d_%02d_%02d"); callers PersistentGameData::Save and PersistentGameData::SaveToSteamCloud
009138d0 std::vector<UserProfileEntry>::_Tidy ? vector of 0x14-byte elements whose dtor only resets UserProfileBase::vftable at +0 (an 8-byte UserProfile plus trivial data), then frees storage; Manager::destructor and 009510f0
0090e8e0 online_lobby_is_user_banned (lobby): copies the lobby's ConstLobby/settings (LobbySettings::reset, Menu_Save::select_save_slot) and scans its 8-byte banned user-id list for the local g_userProfile id; on a hit shows "##GAME###Online/ONLINE_USER_BANNED" and returns 1; online_lobby_join aborts when it returns true; also Level::InitializeGenesisRoom and 009088e0
0090df40 NetplayManager::process_pending_joins ? "[Frame %d] Processing pending joins" (frame at ECX+0xc) when pending joins (+0x1868) exist or forced (param); callers StageTransition::Update and Manager::RestartGame
0090a150 NetplayManager::ban_user (userId as u64): copies g_multiplayerLobbyPtr and, if a lobby exists, logs "[Frame: %d] Banning user %llu from the lobby" and bans; callers Menu_OnlineLobby::update_controls and NetplayManager::update_player_removal
00906a90 NetplayManager::~NetplayManager Manager::destructor calls it right after NetplayManager::reset(1); destroys the members 00906260 builds (ANM2 +0x10b4, ConstLobby +0x1890, trees +0x189c/+0x1864/+0x1224, five vector<Vector>) and clears +0x1c90; 00906260 is therefore NetplayManager::constructor (Manager ctor calls it after zeroing +0x4b3d0, next member at +0x4d070, fits _netplayManager at Manager+0x4b3d8)
008f9e50 Mod::load_content_anm2 ? (slot, relPath): Mod::GetContentPath + FileSystem::ResolvePath, then ANM2::Load into ECX+0x100+slot*0x114 (array of per-mod sprites); ItemConfig::Load passes slot 0xb for the items.xml "deathanm2" attribute, EntityConfig::LoadEntities slot 0xc
008f7c40 ModManager::create_shader_render_targets ? walks the mod vector (ECX+0/+4); for each mod with shaders (+0xfd) creates a framebuffer-sized render target (KAGE_Graphics::create_render_target with DAT_00c79110/14) for every shader in its list (+0xe4) lacking one (+0x68); callers Game::constructor (last call), ModManager::TriggerResize, 007084c0
008f2ff0 ModManager::~ModManager Manager::destructor member just before EntityConfig's (Manager+0x2a670) dtor: destroys ANM2s at +0x20148/+0x20034 (ends at +0x2025c, i.e. Manager _modManager 0x2a6c0 up to _stringTable 0x4a920), a string, the KAGE::Thread member (00a5a4c0), 008fc570 and the mod vector at +0
008ef4b0 RevivePlayerMenu::~RevivePlayerMenu Game::~Game destroys it right before PauseScreen::~PauseScreen, mirroring Game::constructor which builds ANM2s at Game+0x24edc/+0x24ff0 just after PauseScreen::constructor = _revivePlayerMenu (0x24ecc) +0x10/+0x124, the two sprites this resets
008ede40 lobby_member_sprite_get ? (memberIdx): returns ECX+0x10 (first sprite) when lobby_get_member_info(idx) says local (vtable +0x14), otherwise the idx-th remote member's sprite at ECX+0x124+n*0x114 (max 3), 0 if none; callers GameOver::RenderItemSprite and HUD::LoadGraphics
008edd00 Menu_OnlineLobby::toggle_ready ? ECX=Menu_OnlineLobby: flips the ready byte (+10) of the local entry in the member map at +0x6a0, refreshes (online_lobby_find_member_index, HUD::LoadGraphics, 008ed910, 008ee3b0), plays sound 1 and notifies the listener at +0x95c (vtable +0x18) with the new state; callers Menu_OnlineLobby::Update / update_controls
008e7560 online_lobby_find_member_index copies g_multiplayerLobbyPtr and returns FUN_00a28590(ECX) = index of the user id in the lobby's 8-byte member-id array (+0x10/+0x14), -1 if absent; Menu_OnlineLobby::change_character passes the result to HUD::LoadGraphics
008e29b0 std::list<KAGE::Network::Multiplayer::ConstLobby>::~list ? frees every 0x14-byte node after calling the 12-byte element's virtual dtor (vtable at node+8), then the head; unwind-only callers in the lobby list code (008e1a70 builds a std::list with a self-linked 0x14 head and ConstLobby elements)
008d2790 std::vector<std::vector<4byte>>::_Tidy destroys 0xc-byte elements via 008d2810 (each a vector of 4-byte items freed) and frees storage; Game::~Game member next to the SharedPtrPairs and 008d1d20
008ca220 OnlineStatsScreen::~OnlineStatsScreen ? Game::~Game member built in Game::constructor at Game+0x25954 (byte flag +0, ANM2 +4 = 0x25958, ANM2[4] +0x118 = 0x25a6c): resets those sprites and frees members via 008ca5b0/008cb2e0; the same object holds the 0x38-byte player-entry vector at +0x568 that netplay_lobby_render draws and Manager::update_ingame_input clears next to online_vote_send; online_stats_finalize (008ca600) sits beside it
00874f60 lua_callback_run_entity (outRef, filter, entity): pushes the callback runner from the LuaEngine refs, the callback id/filter ints and the Entity as luabridge UserdataPtr (or nil), pcalls and returns the result as a new registry ref; LuaEngine::PostEntityKill uses it when callback bit 68 (MC_POST_ENTITY_KILL, word +8 bit 4) is set with (ent->_type, ent), Entity::ReleaseLuaRef for MC_POST_ENTITY_REMOVE
00873f40 luabridge::LuaRef::Proxy::cast<int> ECX = {lua_State, tableRef, keyRef}: lua_rawgeti both refs, lua_gettable, then luaL_checkinteger on the value; used by lua_callback_run_pre_entity_spawn / LuaEngine::Callback_PreEntitySpawn to read the returned table's integers
00872910 luabridge::LuaRef::cast<Entity_ptr> ECX = LuaRef {lua_State, ref}: LuaRef::push, returns 0 for nil else luabridge::Userdata::getClass(&g_luaClassKeyEntity) object pointer; callers Isaac::CountEntities and Entity::IsVulnerableEnemy_lua
00863f70 lua_callback_run_post_fire_tear if callback mask word +4 bit 29 (callback 61 = MC_POST_FIRE_TEAR) is set on *g_luaEngine runs it with the tear (FUN_00873890) and unrefs the result; callers Entity_Player::FireTear and fire_fetus_tear
0085e000 HomingLaser::operator_assign copy-assign: 7 dwords, three vectors (+0x1c/+0x28/+0x34 via 008c2a70), 2 dwords, a vector at +0x48 (008c2910); Entity_Knife::UpdateHomingPath copies knife+0x468 (_homingLaser, db/fields.tsv) with it, also Entity_Knife::Update and 008c0140 (Lua getter copy)
0085b280 LobbySettings::reset zeroes +0..+8, max players +0xc = 4, public byte +0x10 = 1, clears the strings at +0x18/+0x30 (size 0, keep capacity) and the vector +0x48 (end = begin), then Menu_OnlineLobby::init_lobby_view when this is Manager+0x4b0d8; 0085b050 (currently named LobbySettings::reset) first constructs the strings (cap 0xf) and the vector, i.e. it is the constructor
0085afb0 leaderboard_name_format (outStr, kind): sprintf_s "%d_scores_solo_R+" / "%d_times_solo_R+" / "%d_scores_coop_R+" / "%d_times_coop_R+" for kind 0..3 into a static buffer and assigns it to the out std::string (ECX); callers Leaderboard::get_leaderboard, Game::StartStageTransition, 008d0940, 009c5f90
0085aeb0 date_to_yyyymmdd (flags, ?, time64, tm fields...): with flag 2 _mkgmtime64(tm), with flags 1/2 _gmtime64; returns (year+1900)*10000 + (mon+1)*100 + mday; callers holiday_get_current, Menu_OnlineLobby::Update (daily), 008576c0, 00958c40
0085b7f0 lobby_password_render ? (ECX = password std::string, EDX = position): draws 8 password slots in two rows of 4 (second row +16 px), a glyph per entered character (size at ECX+0x10) and placeholders for empty slots via Font::DrawString in color 0xff362f2d; both Menu_OnlineLobby::Render variants call it at the "Password Position"/"PasswordPosition" null frame, also 0090b900 and 009b8990
00857050 Leaderboard::~Leaderboard inverse of 00856f70: frees the 0x28-byte element array at +0x248, four vectors, 004269f0, and resets ANM2s at +0x124/+0x10; Game::~Game destroys it right before HUD's position in reverse ctor order; 008cf510 (MenuManager side)
00856f70 Leaderboard::constructor Game::constructor calls it at state 0x1c right after zeroing Game+0x1d64c, i.e. at Game+0x1d650 = _leaderboard (src/structs.hpp), just before HUD::constructor; builds ANM2s at +0x10/+0x124, ChallengeParams, ChallengeParam::Reset, ScoreSheet::ScoreSheet; MenuManager::constructor builds its own
0084eba0 InfoDisplay::load_xml (path, mod): info_display.xml root nodes "collectibles"/"trinkets"/"pills"/"cards" (InfoDisplay::load_collectibles_xml, InfoDisplayConfig::parse_item_node); when not a mod clears the std::map<int_InfoDisplayEntry> trees at ECX+0/+0x18 first and walks glitched ids via Game _proceduralItemManager (+0x67758); callers Manager::load_configs and ModManager::LoadModContent
00848c20 collectible_icon_render ? (ECX = item id, EDX, pos, color, image, imageRef): for negative (glitched) ids binds Game+0x67764 (ProceduralItemManager render target) and draws via 009e0240, otherwise draws the given image with apply_sprite_shader_params; releases the image ref; callers PlayerHUD::render_inventory and PlayerHUD::RenderCraftingTable
00841000 HUD_Message::set_text_line (utf16Text, lineIdx): frees the old wide string in slot ECX[lineIdx] and stores a tracked_alloc copy of the UTF-16 text; HUD_Message::Show sets title/subtitle with lines 0/1, also HUD::ShowItemText and HUD::ShowStackedItemTextCustomUTF16
0083abb0 text_image_cache_clear ? for two 0x14-byte records at ECX+4.. resets every 0x28-byte entry's KAGE::SmartPointer, clears the vector and its byte flag, then clears byte +0x28; callers HUD::constructor, mark_all_slots_dirty, 009a19a0, 009a27d0
00839300 sprite_member_at_0xc_destroy ? dtor of a struct with an ANM2/Sprite at +0xc (ANM2::Reset, AnimationState dtors +0x3c/+0x5c, 2 strings) followed by FUN_00839960; unwind-only callers
00837fe0 GenericPrompt::handle_input ? ECX=GenericPrompt: actions 0x14/0x15 toggle the yes/no selection (+0x128); ACTION_MENUCONFIRM (0xe) while the sprite plays "Idle" stores the answer (+0x12c = 1 or 2) and either sends it as an online vote (online_vote_send, when +0x130) or calls GenericPrompt::Disappear; uses the netplay local controller when online; callers GenericPrompt::Update and Manager::update_ingame_input
00836690 std::vector<260byte>::~vector ? frees the KAGE-heap buffer at +0 of each 0x104-byte element (g_mainHeap accounting + free) then the storage via 00836770; called from Manager::destructor
0082ebd0 RoomTransition::~RoomTransition Game::~Game member: its ANM2 at +0x38 and tree at +0x224 are the Game+0x1b874 ANM2 and the Game+0x1ba60 tree head built in Game::constructor, i.e. this = Game+0x1b83c (_roomTransition, src/structs.hpp); also resets two SmartPointer<RenderTargetBase>, a multiset +0x234 and two render-target refs (+0x28/+0x30)
00829670 RoomConfig::~RoomConfig ECX typed RoomConfig_Stage*: RoomConfig_Stage::unload on all 0x25 stages (stride 0xc4), 0082e050, the 0x10 x 0x1c array at +0x1c60 (dtor 0069d1f0) and the 0x25-stage array (RoomConfig_Stage::game_destructor) = the inverse of Game::constructor's _roomConfig construction (0x25 x 0xc4 RoomConfigStage::ctor, 0x10 x 0x1c at field_0x1a570); called from Game::~Game
00827f70 EntitySaveState::set_extra_data ? (value): allocates a 0x18-byte ReferenceCount<IsaacRepentancePlus::EntitySaveState::ExtraData> holding value at +0x14, releases the previous one (ECX+4) and stores {value, ptr} in ECX; callers Entity_Pickup::CanFlip (cycle collectible save path, after operator_new(0x20)) and read_entity_save_state_tree
00826f80 Room::render_water_overlay ? draws the room render target DAT_00c7981c as a quad over the room rect (+0x6ae0..+0x6aec) offset by 52 px with the current shader; Room::Render and Room::render_water call it only when _backdropType == 0x20 (Mines) and the room descriptor flag bit 5 (0x20, has water) is set
007f2070 Room::reload_backdrop ? Room::LoadBackdropGraphics, then copies the room's color modifier (+0x1b10..+0x1b2c) into Game's current and target color-mod fields (+0x676b8/+0x676d0) and clears _shouldLerpColorModState (+0x676b4); callers Console::RunCommand and ItemOverlay::Update
007eed10 entity_type_is_saved ? (ECX = type, EDX = variant, subtype, spawnerType, flag): per type/variant whitelist (pickups except variant 41, bombs except 13/19/20, many effect variants 0x15/0x21/0x3f../0x9e..., types 0x11/0x21/0x123/0x124/0x38b/0x3c0/0x3c5...) of entities kept in the room's saved state, forced true while saving/rewinding (Manager+0x20dcc, Game+0x269ea); callers Room::SpawnEntry and 007eeeb0 (which stores the EntitySaveState)
007e84c0 std::priority_queue<PathNode>::pop ? pops the top of a binary heap of 0x14-byte nodes (each with a vector at +8): moves the last element down via 007e8d60 (_Pop_heap_hole) and shrinks the vector by 0x14; callers NPCAI_Pathfinder::HasPathToPos and pathfinder_can_reach_pos (A* open list)
007df710 MusicChannel::play_track ? (track): starts the track's main stream (+0x34, or the +0x1c intro when +0x2c) on this channel's stream (ECX+0), sets volume/fade fields (+0x18..+0x24, +0x16c/+0x170), stops and restarts up to 6 layers (stride 0x34 at +0x10) from the track's layer list (+0x58/+0x5c); callers Music::Play and MusicManager::Crossfade
007df450 MusicManager::~MusicManager Manager::destructor member: resets two 0x184-byte channels (each with 6 layer streams, stride 0x34) via FUN_00a2ae60, releases the sound ref at +0x32c (g_soundReleaseFn), 007e26c0, then destroys the 2 x 0x184 channel array at +4; the array ends at +0x30c where MusicManager _currentMusicID starts (src/structs.hpp)
007dee40 std::vector<52byte>::assign (first, last) over 0x34-byte elements: copies in place (007df0b0) when it fits, else frees and reallocates with x1.5 growth (max 0x4ec4ec4, _Xlen) then copies; used by Entity_Player::StoreGameState/RestoreGameState for the GameStatePlayer vector freed by 007dc8d0
007de420 std::fill_n<4byte> (dest, count, &value): memset 0 when value is 0, otherwise stores value count times (unrolled by 4); returns dest + count; callers Entity_Player::CalculateBagOfCraftingOutput, Menu_Character::Reset, 0094e670
007dd090 std::deque<Vector>::operator_assign (other): overwrites existing 8-byte elements (2 per block) from other, push_backs the remainder or pops the surplus from the back; Entity_Player::StoreGameState/RestoreGameState copy a deque<Vector> (position history) with it; same shape as 004b0e40 std::deque<Vector>::assign
007dc940 std::vector<8byte>::resize (n): shrinks by moving end, or grows zero-filling in capacity (memset) or via 00737f40 (_Resize_reallocate); callers Entity_Player::StoreGameState and GameStatePlayer::read
007db160 Entity_Player::remove_wooden_cross_mantles ECX Entity_Player; GetTrinketMultiplier(TRINKET_WOODEN_CROSS 121) clamps to 0..2, lowers the high nibble of _holyMantleStacks, removes Holy Mantle (313) temp effects/costumes; called when trinket 121 or Mom's Box (439) is removed (TriggerTrinketRemoved/TriggerCollectibleRemoved)
007d9200 Entity_Player::add_samson_berserk_charge ECX player, arg added to +0x209c capped 99999; at 100000 resets and adds temp effect collectible 704 Berserk! plus two sounds; callers gate on playerType 27 (Tainted Samson) in TakeDamage and the damage-dealt path of update_item_effects
007d3350 Entity_Player::trigger_vampire_charm_kill ECX player; HasCollectible 62 (Charm of the Vampire) increments _vampireCharmKills, at 13 (8 in greed) heals 1 heart, plays sound, spawns effect 1000.49 (heart); called from trigger_npc_death and Entity_Tear::HandleCollision
007d2df0 Entity_Player::blood_charge_changed ECX player; only for playerType 36 (Tainted Bethany); arg is the OLD _effectiveBloodCharge: per active slot flashes charge bar and plays sound when the blood charge crosses the max; Vibrant/Dim Bulb (100/101) re-evaluate cache; called from AddBloodCharge and SyncConsumables right after _effectiveBloodCharge is written
007cdf30 teleport_to_random_room_of_types no ECX; arg1 vector<int> of room types, arg2 bool prefer-unvisited: walks the level room list (g_game+0x14 stride 0xb8, count +0x182cc, current dimension +0x1830c) collecting rooms whose RoomConfig type is in the list (set dedups), RNG-picks one (prefers unvisited when arg2) and calls Game::StartRoomTransition(idx,-1,3); returns true if it teleported; UsePill builds the type list (0xb/0x18/0x9/0xd) and TakeDamage pushes 20/21/24
007cb090 Entity_Player::apply_coop_baby_spawn_bonus ECX player; switch on _babySkin: 27 AddBlackHearts 2, 28 +2 max hearts, 29 main player eternal heart, 30 soul hearts, 42 SetFullHearts on main player, 58 spawns effect 1000.114 linked to the main player, 59 converts to 1 soul heart; called right after PlayerManager::SpawnCoPlayerBaby in Console::RunCommand and EvaluateItems
007c3980 Entity_Player::add_random_stat_up ECX player; arg RNG*: Next() % 6 picks one of six ints at +0x1520..+0x1534 and increments it, _cacheFlags |= 0x41f, EvaluateItems, AnimateHappy unless busy; Room::SpawnClearAward calls it once/twice per Temporary Tattoo (177) multiplier and Room::update_deaths_list on a 1/4 roll
007a49e0 Entity_Player::spawn_low_health_blood_splat ECX player; variant 0, bone+soul+red hearts < 2, not playerType 10/16/17/31/35/39/40, not coop ghost: spawns effect 1000.7 with random scale/rotation/flip, tinted unless collectible 440 or Eve (5/26); called from level_start and room_enter
0075abe0 Entity_Player::get_costume_anim_frame ECX player; scans the 15 costume layer slots (+0x122c index into +0x1220 array stride 0x130) for one whose item (+0x114) matches arg2 via Weapon::is_held_item, returns floor(anim frame +0x40) or -1/0; Weapon_Brimstone::Fire passes collectible 118 and acts when frame > 15
0075a3e0 Entity_Player::play_null_costume_anim ECX player; arg1 null item id (ItemConfig null list g_manager+0x2a41c), arg3 std::string animation, arg4 frame: for every costume layer of that item sets the animation (and "<anim>_Overlay" overlay when the layer has one); update_shooting passes "HeadLeftShoot"-style direction strings
007507d0 LevelGenerator_Room::LevelGenerator_Room copy constructor of the 0x48-byte LevelGenerator_Room: copies 0x00..0x2c, deep-copies the std::set<uint> at +0x30, copies 0x38..0x44; used by LevelGenerator::place_room (vector push_back) and the vector move helper FUN_00752b70
00748a70 Level::reveal_secret_room ECX Level (room count +0x182cc, room list stride 0xb8): first room whose RoomConfig type is 7 (secret) gets display flag 4, Minimap::Refresh, _levelStateFlag |= 0x100000; level_start calls it for collectible 589 Luna and RemoveCompassEffect re-applies it when that flag is set
00732240 std::vector<4byte>::_Resize_reallocate grows a 4-byte vector to arg (1.5x capacity rule, _Xlen at 0x3fffffff), zero-fills new tail, memmove old data, _Change_array; called by std::vector<4byte>::resize and ItemConfig::Load
00730e30 vector_BombCostume_tidy ? std::vector _Tidy for 0xe0-byte elements (destroy range FUN_00731b00, deallocate, zero begin/end/cap); used by ItemConfig::LoadBombCostumes on its per-entry rule vector; same pattern as vector_LevelGenerator_Room_tidy 007527b0
0072ca50 ItemConfig::load_recipes_xml ? static (no ECX use): opens arg1 path, rapidxml root "recipes", per "recipe" reads "input" (8-char crafting string decoded through a 31-symbol table), "output"/"outputName" (outputName resolved through a name->id map only when arg2 ModEntry* is set) and "pool"; called by Manager::load_configs (arg2 0) and ModManager::LoadModContent; neighbour of ItemConfig::load_pocketitems_xml 0072cff0
00728710 ItemConfig_Costume::operator_assign copy-assign of the 0x2c-byte ItemConfig_Costume: id +0, anm2Path string +4 (string::assign), priority +0x1c, hasOverlay/isFlying/hasSkinAlt +0x20..0x22, skinColor +0x24, overwriteColor..+0x2a; used by ItemConfig::load_costumes_xml (trinket costume) and ItemPool::CreateGlitchedCollectible
00725190 ItemConfig::destructor ECX layout = ItemConfig: five vectors at +0/+0xc/+0x18/+0x24/+0x30 (collectibles/trinkets/null items... as read through g_manager+0x2a404/+0x2a410/+0x2a41c), then maps/strings to +0x124; called from Manager::destructor (ItemConfig lives inside Manager) and its unwind funclet
00724bd0 ItemConfig_Card::get_display_desc ECX ItemConfig_Card: returns a std::string copy of desc (+0x20, empty when length +0x30 is 0), resolving "#KEY" through StringTable category "PocketItems"; used by Entity_Pickup::HandleCollision (pickup streak text after GetName) and PlayerHUD::RenderPocketItems
00722570 std::vector<HistoryItem>::assign ECX vector, args [first,last) of 0x1c-byte elements (trivially copied 7 dwords, max 0x9249249): overwrite/grow-reallocate; Entity_Player::StoreGameState/RestoreGameState call it on player+0x1dec = History::_historyItems (db/fields.tsv stride 0x1c)
0071f3f0 spawn_rock_particles ECX = position (Vector*): Game::SpawnParticles(pos, effect 27, 2..4 count, speed 2..6, white Color, ...); called when a rock grid is blown (Entity::DestroyRockGridAt type 12 after BombExplosionEffects, GridEntity_TNT::Destroy "Blown")
0071e920 GridEntity_Spikes::is_disabled ECX spikes grid: returns 1 if the current room descriptor has flag bit 1, or anyone holds TRINKET_FLAT_FILE 151, or (variant <= 99, room type 14 and someone owns COLLECTIBLE_SANGUINE_BOND 692); returns 0 for grid type 28 or when the delirium-distance field > 1; BeginBatches calls GridEntity_Spikes::unsummon when true, Update skips the hurt cycle
007095c0 std::vector<EntitySaveState>::assign ECX vector, args [first,last) of 0x78-byte elements (max 0x2222222), destroys surplus, reallocates 1.5x, copy-constructs range (FUN_004d76f0); used by Game_StateSlot::operator_assign, GameState::copy_room_list, Level::generate_boss_room
00708eb0 std::vector<EntitySaveState>::_Reallocate_exactly ECX vector, arg new capacity (max 0x2222222): allocate, EntitySaveState::copy each 0x78 element, adopt (FUN_004d7340); RoomDescriptor::constructor reserves 0x10 / 0x20 when capacity is below, restore_save_state_part2 grows to the saved count
00703580 spawn_debug_damage_text formats the damage amount (arg4 float) into a buffer, spawns Entity_Text (type 9001) at arg2 position, sets its color from arg3 KColor and sprintf's the text into it; both callers gate on debug flag 6 (Game::GetDebugFlag(6) in Entity_Player::TakeDamage, _debugFlags bit 6 in Entity::Update damage loop)
006f9d20 get_stage_ending_id no ECX, reads g_game: maps RoomConfig::GetStageID() (+ challenge end stage/path, Polaroid 327/Negative 328 owners on stage 10, difficulty 3, current room -7) to an ending id 2..13, 0 = none, 0xff = no ending; result passed to Game::End by Entity_Pickup::Update (big chest, "[warn] No ending for big chest!" at the StageTransition site) and StageTransition::Update
006f23d0 HUD::destructor ECX object ends with an 8-element array of 0x6dc-byte PlayerHUDs (_eh_vector_destructor_iterator_(this,0x6dc,8,...)), fonts, many ANM2 sprites and render targets; called from Game::~Game (Game::_hud at 0x1da04) and its unwind funclet
006ef410 ColorModState::move_toward ECX 6-float color mod (R,G,B,A,brightness,contrast): each component moves toward arg1 target by at most arg2 step; Game::Update calls it while _shouldLerpColorModState and compares the result with the target at Game+0x676d0; MenuManager::Update uses it for the menu color mod
006ef1f0 get_mt_state_checksum CRC32 (poly 0xedb88320, lazily built table) over 0x9c0 bytes at 0x00c7ac70 (624 dwords = Mersenne Twister state) plus the dword at 0x00c34f04 (MT index); printed as "Global Seed = %08x" in NpcAI::ENTITY_ULTRA_GREED desync log and fed to Checksum::Update in EntityList::Update
006dad80 Entity_Player::set_last_damage ECX player: writes _lastDamageFlags +0x16a8 = arg1, +0x16ac = arg2, and copies a 10-dword EntityRef (arg3) into _lastDamageSource 0x167c..0x16a0; Entity_Pickup::CollectTrinket passes (0x400, 0, empty ref), update_item_effects passes (0x125, 0, ref) after a self-damage call
006daac0 std::deque<LootEntry>::_Growmap ECX deque: map size (+8) doubles from max(8, n), allocates a new block map, memmoves both halves around the offset (+0xc) and zero-fills, frees the old map; called by std::deque<LootEntry>::push_back and LootList::LootList when size+1 >= map size
006b7d40 vector_0x3c_tidy ? std::vector _Tidy (deallocate, zero begin/end/cap) for 0x3c-byte trivially destructible elements; Entity::destructor calls it on a vector just before std::vector<Vector>::_Tidy, and its unwind funclet
006b7280 Entity::AddMagnetized ECX entity, args (EntityRef source, int duration in EDX): returns on friendly source (IsDamageSourceFriendly), Second Hand duration, follows _parent chain for shared status, skips boss cooldown (0x238 > 0); _magnetizedCountdown 0x2f0 += duration capped 300, gray color tint, flag 0x80000 in +0x16c, spawns status effect 1000.57 into +0x310, stores the source EntityRef; matches REPENTOGON Entity:AddMagnetized
006b2ee0 Entity::collide_with_entity ECX/EDX = the two entities: when both _sizeMulti (0x374/0x378) are (1,1) runs the circle push-apart FUN_006b2940 (distance < sum of sizes, entity_collision_classes_match), else the ellipse variant FUN_006b25b0; called by Entity_Familiar::ai_pickup_sack and FamiliarAI::bumbo against the pickup they touch
006a8190 DamageInfo::DamageInfo ? ECX 14-dword struct zeroed: [0] damage, [2] flags, [3] countdown, [4..0xd] embedded EntityRef (pos/velocity set to g_vectorZero); Entity::TakeDamage and Entity_Player::TakeDamage build one on the stack right after this, filling damage=param_2, flags=param_3, countdown=param_4 and EntityRef::operator= the source
0069e2f0 std::vector<20byte>::_Emplace_reallocate ECX vector, args (where, const T*) for 0x14-byte trivially copied elements: 1.5x growth (max 0xccccccc), copy-insert at position, move halves; used by EntityConfig::LoadEntities and Game::RerollEnemy
00693090 Console::print_format ECX Console (FUN_0090d4a0 passes g_game+0x68d78): vsprintf of (fmt, ...) into the static buffer 0x00c79c68, wraps it in std::string and calls the real print FUN_006929e0(text, 0xffd3d3d3, 150); used for netplay "Save checksum mismatch", Console::RunCommand output, PlayerManager::handle_coop_join
00685fc0 Console::destructor Game::~Game does LEA ECX,[EDI+0x68d78]; CALL 0x00685fc0 (006f33ab), the console object (FUN_0090d4a0 passes g_game+0x68d78 as Console); destroys 6 strings at +0x74, two owned 8-byte nodes +0x40/+0x54, history containers and a string
006841d0 OptionsConfig::read_bool ECX ini/options object: looks up key arg1 (FUN_00684590), returns true for "true"/"True", false for other non-empty values, arg2 default when missing/empty; OptionsConfig::Load reads "MusicEnabled", "Filter", "ControllerHotplug" with it (companion float reader FUN_006843a0 "MapOpacity"/"Exposure")
00683580 checksum_stream EDX = stream object (vtable +4 size, +0xc seek, +0x14 read): seeks to arg1, reads size-arg1-arg2 bytes into a tracked buffer and runs Checksum::Update over them, returns the checksum; AfterbirthPersistentGameData::check_header calls (0x10,4) and compares with the stored trailing dword, GameState::read_rerun and netplay save-sync use it too
0067f600 string_to_bool ECX std::string: false when empty; true for "true"/"True" (DAT_00b64fe8/DAT_00b64ff0 = 0x65757274/0x65757254), else atoi() != 0; used for bool XML attributes in Backdrop::LoadConfig and challenges_xml_load
006402f0 Entity_Familiar::paschal_candle_sync_effects ECX familiar (variant 221 case in TriggerRoomClear after _hearts +0xd80 is raised to max 6): removes every COLLECTIBLE_PASCHAL_CANDLE 567 temporary effect from the owner player (+0x410 -> TemporaryEffects +0x1508) then re-adds (_hearts-1) of them and EvaluateItems; also called from trigger_player_damage and other variant 221 paths
00633ea0 Entity_Familiar::apply_baby_bender_tear_params ECX familiar (owner player at +0x410): if the player has TRINKET_BABY_BENDER 127 and the tear has no homing flag yet, ORs in homing (DAT_00c34ba0), sets purple tear color; multiplier >= 2 adds more flags, >= 3 doubles height/halves fall speed/+120 range; returns true; used by TryFireTear, Entity_Familiar::apply_baby_bender and Entity_Player::GetTearHitParams
006322f0 Entity_Familiar::init_lil_harbinger_sprite ECX familiar: clamps subtype (+0x30) to 0..4 ("[err] Wrong Harbinger subtype %u!"), replaces each spritesheet layer with the per-subtype gfx/familiar/familiar_122_mini*.png, LoadGraphics and plays "FloatDown"; called from Entity_Familiar::Init and ai_lil_harbingers
00630450 Entity_Familiar::store_backup ECX familiar, arg 0x34-byte record: copies init seed +0x3ec, drop RNG +0x3dc, variant/subtype, +0xd7c..+0xd9c state (hearts, keys...), +0x380, two bytes, with per-variant overrides (206/237 +0xd70, 241 child's +0x380, 236 +0xd6c, 231 abyss locust ExtraData byte); Entity_Player::StoreGameState pushes it with vector_PlayerItemBackup_emplace_reallocate and AddCurseMistEffect stores the familiars the same way
00615870 Entity_Familiar::target_threatening_projectile ECX familiar: scans the room's projectile list (g_game+0x18300 list +0x497/+0x499), predicts each one's position, scores by distance to the owner player (+0x410) and heading (x1200 dot product when arg2 bit1 clear), skips dead/friendly/coop-owned ones, and stores the best into _target +0x3c4; used by Entity_Familiar::ai_bot_fly and FamiliarAI::variant_204
0060ddd0 Entity_Familiar::set_locust_config_index own log "Trying to set locust config index on something that isn't a locust" when variant != 231 (abyss locust): writes subtype index to +0xd7c, applies the wisp/locust config gfx overrides to the sprite (+0x48), scales size (+0x370) and sprite scale +0xe4/+0xe8 from the entry; called by Isaac::SpawnLocust and Menu_Stats::Render
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
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
004cf3c0 std::set<unsigned_int>::insert_unique ECX tree (head, size): walks to the lower bound of *arg2, returns {existing node, false} on an equal key, else allocates a 0x14-byte node (key +0x10), links it, red-black rebalances and returns {node, true} (size limit 0xccccccc); called by the std::multiset<unsigned_int>::insert wrapper and Entity_Player::update_ladder
004bb920 NpcHelper::hornfel_claim_target ? ECX = Hornfel npc: returns false when it or its _parent already has a _target (+0x3c4); else sets _target of itself and its parent to arg (EntityPtr multiset bookkeeping), returns true; called right after Entity::GiveMinecart / SetMinecartPosVel in NpcHelper::hornfel_room_controller and hornfel_minecart (arg = the minecart rider)
00499290 std::vector<DamageInfo>::erase ECX vector, args (out iterator, where): shifts each following 0x38-byte (14 dword) element down and shrinks end by 0x38; used while walking the Entity+0x8 pending damage list (float damage [0], flags [2]) in NpcAI::ENTITY_TUFF_TWINS and Entity_Player::Update; element matches DamageInfo 006a8190
0042fac0 OnlineEmotes::destructor same layout as OnlineEmotes::load_anm2 0042fba0 (ANM2s at +0x14 and +0x128, 0x3b anim-name strings at +0x23c, state +0/+4=0x3c): resets fields, destroys the string array, both ANM2s; called by Game::~Game, the Entity_Player destructor FUN_00754ed0 and FUN_008d1d20
0042fa30 OnlineEmotes::constructor inits +0=0, +4=0x3c, +8/+0xc=0, +0x10=1, ANM2::constructor at +0x14 and +0x128, eh_vector_constructor of 0x3b strings at +0x23c; called by Game::constructor and Entity_Player::constructor; pairs with OnlineEmotes::destructor 0042fac0 and the play-by-index setter FUN_00430750
0042d060 get_netplay_player_color ? ECX holds 4 net slot ids at +0x60: finds the slot matching player->_controllerIndex (arg2 +0x1618, 5 if none), PlayerManager::GetPlayerColorValue(slot) and writes a Color (tint rgb, alpha 1, colorize = rgb) into arg1; Entity_Player::Render uses it for the online local-player outline before render_color_stack_push, FUN_0042d1c0 for the name tag
004259b0 online_stats_add_user ECX = the online stats block (Game+0x1bbe0: vector of 0x68-byte per-user records): if no record has the 64-bit user id (arg1:arg2) and the id is not -1, appends one {id, 1, zeroed 0x58 stat floats}; Player_stats_add calls it before adding to a stat, Entity_Player::TriggerCollectibleRemoved and FUN_004257b0 too
00425430 online_stats_destroy Game::~Game does LEA ECX,[EDI+0x1bbe0]; CALL 0x00425430 (006f3657) on the online stats block also read by online_stats_finalize: clears the user vector and 21 per-stat 0x34-byte arrays, flag +0x450, eh_vector destructor, frees storage
00425130 CompletionMarks::update_layers ? ECX: +0 player type, ANM2 at +4: per completion-mark layer (12 layers, layer->mark index table) reads the mark difficulty for that character from the 0x90-stride table DAT_00c35ed0 and the save/net-lobby data (g_manager+0x14 or +0x4b434, +700) and SetLayerFrame 0..2 (+5 for tainted, type > 20); clears all when type > 40; Menu_Character::UpdateRotations and netplay_lobby_menu_update
004239b0 PopupButtons::reset ? ECX dialog: resets two button sub-records (+0x114.. and +0x244.., 0x130 apart: size 96x96, pos zero, visible, actions 0xf / 0xe), arg1 true zeroes their heights, then scale 1.0 and clears the callback/context at +0x264/+0x268; DeathScreen::Show and online_stats_finalize call it and then install a callback (FUN_008cb190)
004218e0 BossPool::init ECX layout = BossPool (37 pools stride 0x3c from +0x18 with RNG at +0x28, vector_bool _removedBosses 0x8ac and _levelBlacklist 0x8bc of 0x68 bits): seeds each pool RNG from arg seed (shift 2,21,9), clears removed/blacklist bits, BossPool::load_xml("bosspools.xml") and MT-shuffles each pool's 0x14-byte entries; called by Game::restore_game_state and Console::RunCommand
0041f780 std::vector<ColorQuad>::_Tidy std::vector _Tidy for 0x70-byte elements (deallocate, zero begin/end/cap); only reached from unwind funclets; element size matches std::vector<ColorQuad>::_Emplace_reallocate 00589e40
004199d0 EntityList::render_up_to Room::Render passes LEA ECX,[ESI+0x1218] (Room::_entityList) with arg1 5000: walks the sorted render list (+0x54 array, +0x5c count) from cursor +0xa0, stops at the first entity whose vtable +0x34 depth >= arg1, else renders it via vtable +0x14 at offset arg2, filtering by render mode +0xa4 (3/4 water reflection skips, 5 mirrored y-offset pass); Room::render_water calls it too
00415800 std::map<unsigned_int_ImagePtr>::_Erase_tree recursive tree erase (right subtree first) of 0x1c-byte nodes, releasing the KAGE image smart pointer at +0x14/+0x18 through g_imageReleaseFn before deleting; used by AnmCache::~AnmCache, PlayerHUD::Update and other sprite caches
0040b520 AnimationData::find_null_index ECX anm2 data: linear search of the null-layer name strings (+0x84 array of 0x18-byte strings, count +0x88) for arg name, returns index or -1; Menu_OnlineLobby::Render feeds "WinStreakNum"/"BestStreakNum" into AnimationState::SetNullLayerFrame, Entity_NPC::Render uses it on the status-effect sprite; neighbour logs "%s: No null with Id %d"
00af0244 __scrt_fastfail MSVC CRT: IsProcessorFeaturePresent(0x17) -> int 0x29 fastfail, else builds a CONTEXT/EXCEPTION_RECORD with code 0x40000015 (STATUS_FATAL_APP_EXIT) and calls UnhandledExceptionFilter; called with codes 5/7 from ___scrt_initialize_onexit_tables and the condition-variable init FUN_00aef191
00aefd70 __dtoul3 MSVC CRT double -> unsigned __int64 conversion helper (AVX-512 vcvttpd2uqq fast path when __isa_available > 5, else manual exponent/mantissa shift, 0xffffffffffffffff on overflow); used by GetTimeNs
00aefcf0 __dtoui3 MSVC CRT double -> unsigned int conversion helper (vcvttsd2usi fast path, else manual; 0xffffffff on overflow); sibling of __ftoui3; used by NetConnection::send_message, libpng_png_build_gamma_table, MsgWaitForMultipleObjects timeout
00ae6400 mi_reserve_os_memory_ex mimalloc: own strings "reserved %zu KiB memory%s" / "failed to reserve %zu k memory" / " (in large os pages)": rounds size to 4 MiB, _mi_os_alloc_aligned, registers an arena (FUN_00ae5e40), returns 0 or ENOMEM 12; called once at startup by FontKerningPair::IsaacStartup
00ae2740 oc_huff_token_decode libtheora Huffman decoder: refills the 32-bit window from the packed buffer (ptr/stop/window/available in arg1), walks the short-encoded tree (arg2) until a leaf (<= 0) and returns token & 0xff, consuming leaf>>8 bits; callers oc_dec_residual_tokens_unpack, th_decode_packetin and other token unpackers
00ae0fa0 oc_state_borders_fill_caps libtheora: for frame buffer [refi=arg2][pli=arg3] (state + 0x114 + (pli+refi*3)*0x10) copies the first and last row outward into the top/bottom padding (16 rows luma, 8 or 16 chroma by pixel_fmt bits at +0x30); th_decode_packetin calls it for the 3 planes
00ade9f0 th_decode_ctl libtheora: switch on request: 1 GET_PPLEVEL_MAX writes 7, 3 SET_PPLEVEL (< 8 stored at +0xd144), 5 SET_GRANPOS (64-bit, shifted by keyframe granule shift +0x391), others return TH_EIMPL -23 / TH_EFAULT -1 with size checks 4/8; called from audio_stream_seek (the video seek path) and FUN_00a8e050
00add490 oc_dec_mv_unpack libtheora: picks the chroma-MV setter from a per-pixel_fmt function table (PTR_FUN_00b191e0[pixel_fmt +0x30]), reads one bit (oc_pack_read1 FUN_00ae25a0) to choose the CLC vs VLC MV component tree (DAT_00b18fc8/DAT_00b18ef8), uses OC_MB_MAP_IDXS/NIDXS per pixel_fmt; called from th_decode_packetin
00add000 oc_dec_frags_recon_mcu_plane libtheora: for each coded fragment of plane arg3 in the pipeline (arg2: coded_fragis/ncoded_fragis, per-zzi eob_runs decremented, token indices into dec+0xd138), decodes tokens through the OC_DCT_TOKEN extra-bits table DAT_00b19060, dequantizes and reconstructs; called from th_decode_packetin
00adcaa0 oc_dec_deblock_frag_rows ? libtheora: 6 args (dec, dst, src, pli, fragy0, fragy_end): zeroes the per-fragment variance array (dec+0xd34c) for the row range, memcpy's the edge rows from src to dst buffers and runs the deblocking filter over 8-row strips; called from th_decode_packetin post-processing
00adc740 oc_dec_dc_unpredict_mcu_plane libtheora: (dec, pipe, pli): walks fragment rows pipe->fragy0[pli] (+0xb78) .. fragy_end (+0xb84) undoing DC prediction from neighbours, then stores pipe->ncoded_fragis[pli] (+0xb18) and nuncoded_fragis (+0xb24); called from th_decode_packetin
00adc0e0 oc_dec_coded_flags_unpack ? libtheora: reads the first bit (oc_pack_read1) then run lengths with the superblock run tree (oc_huff_token_decode 00ae2740 on DAT_00b18e08, long runs extended via oc_pack_read FUN_00ae25e0) to set the partially-coded bit in sb_flags (+0xe4, nsbs +0xe8), then the coded superblock/block flags; called from th_decode_packetin
00adbed0 oc_dec_ac_coeff_unpack libtheora: (dec, zzi, huff_idxs, ntoks_left, eobs): for each zig-zag index from arg2 to 63 records token start/eob run (dec+0xcb38), decodes tokens with oc_huff_token_decode using the selected Huffman table (dec+0xc9f8), stores them in the token buffer (dec+0xd138) and handles EOB runs / extra bits; called from th_decode_packetin
00ad29e0 floor1_interpolate_fit libvorbis encoder: (A, B, del) with look in EDX: returns NULL unless both post arrays are set, allocates look->posts (+0x504) ints via _vorbis_block_alloc and blends ((65536-del)*(A&0x7fff)+del*(B&0x7fff)+32768)>>16 keeping 0x8000 when both set (SIMD path); the caller (named mapping0_inverse) calls it with del stepping by 0x10000 between the posts from floor1_fit, exactly mapping0_forward's PACKETBLOBS loop
00ad23f0 floor1_fit libvorbis encoder: look in EDX (posts +0x504, sorted index +0x508, n +0x510), large local arrays of 66 ints (VIF_POSIT+2) for fit lines/neighbours; result stored into floor_posts[i][0] (+0), [PACKETBLOBS-1] (+0x38) and [PACKETBLOBS/2] (+0x1c) in the caller, then floor1_interpolate_fit fills the rest (mapping0_forward pattern)
00aca570 jinit_d_coef_controller libjpeg(-turbo): ECX cinfo, DL need_full_buffer: checks data_precision (cinfo[0x30]) range with JERR 0x10, allocates the coef controller into cinfo[0x66], sets start_input_pass/start_output_pass, per component allocations; full buffer -> request_virt_barray per component and consume_data/decompress_data, else dummy consume (ICF'd to Weapon::GetFocusEntity) + onepass; called from libjpeg_jinit_master_decompress
00ac99f0 jinit_color_deconverter libjpeg(-turbo): ECX cinfo: precision check, allocates the deconverter into cinfo[0x6d] (start_pass = no-op guard_check_icall ICF), switch on jpeg_color_space (cinfo[10]) validating num_components (1 / 3 / 4, JERR_BAD_J_COLORSPACE 0xb), builds the YCC tables (SIMD); called from libjpeg_jinit_master_decompress
00ac4ac0 jinit_2pass_quantizer libjpeg(-turbo): ECX cinfo: requires 8-bit precision, allocates cquantizer into cinfo[0x6e], start_pass/new_color_map methods, errors JERR_NOTIMPL 0x30 unless out_color_components == 3 and not RGB565, allocates the 32-row histogram, validates desired_number_of_colors 8..256 (0x3a/0x3b) and allocates the colormap, dithering setup; called from libjpeg_jinit_master_decompress
00ac21c0 add_huff_table libjpeg(-turbo) jstdhuff.c: ECX cinfo, EDX htblptr: allocates the table when *htblptr is NULL (sent_table +0x111 = FALSE) else returns for decompressors (cinfo+0x10 is_decompressor), copies bits[17], sums the symbol count (SIMD) and copies huffval, zero-filling the rest; used via std_huff_tables from libjpeg_jinit_master_decompress
00abe750 create_colorindex libjpeg jquant1.c: ECX cinfo, cquantize at cinfo+0x1b8: is_padded = (dither_mode == JDITHER_ORDERED, cinfo+0x4c == 1), allocates colorindex (+0x1c) via alloc_sarray (+0xff padding per row when padded), fills per component with largest_input_value steps (nci*2-2, 0x1fe increments); callers libjpeg_jinit_master_decompress (inlined jinit_1pass_quantizer) and FUN_00abedc0
00abe4f0 create_colormap libjpeg jquant1.c: ECX cinfo: select_ncolors inlined (RGB order tables DAT_00b5ddb8/df00/df50, iroot search over desired_number_of_colors, JERR_QUANT_FEW_COLORS 0x3a), trace message, alloc_sarray colormap for out_color_components and fills output_value steps into cquantize (cinfo+0x1b8 / [0x6e]) +0x24 Ncolors; called from libjpeg_jinit_master_decompress
00abd410 drftf1 libvorbis smallft.c: (n in ECX, c, ch, wa, ifac): walks the factor list (ifac[1] count, factors from the end) calling dradf4 FUN_00abc0b0 for 4, dradf2 FUN_00abbe90 for 2 and dradfg (named dsp_init_sincos_table 00abc500) otherwise, swapping c/ch with the na flag; reached from the encoder mapping (named mapping0_inverse) via drft_forward
00abbc60 mdct_forward libvorbis mdct.c: ECX mdct_lookup (n at [0], trig at [2]), EDX in: n2=n>>1, n4=n>>2, n8=n>>3, alloca work buffer, butterfly rotate of the input halves with trig, then mdct_butterflies/bitreverse and output scaling; called by the encoder mapping (named mapping0_inverse) per channel
00ab9cd0 noise_normalize libvorbis psy.c: uses vi->normal_p (+500) and normal_start (+0x1f8) to limit the start, sqrt(r[j]/f[j]) (libm_sse2_sqrt_precise), rounds and accumulates energy for the normalization partitions, skipping flagged lines (arg4); called from the coupling quantizer named theora_oc_dec_frags_recon_mcu_plane 00aba020 (actually _vp_couple_quantize_normalize)
00ab9c40 flag_lossless libvorbis psy.c: flag[j] = fabs(mdct[j])/floor[j] >= (j < limit-i ? prepoint : postpoint) for j < n (thresholds in XMM1/XMM2); called from the coupling quantizer 00aba020
00ab9af0 _vp_offset_and_mix libvorbis psy.c: for i < n: val = noise[i] + p->noiseoffset[offset_select][i] clamped to vi->noisemaxsupp (+0x6c), logmask = max(val, tone[i]+toneatt); when offset_select == 1 applies the -17.2 de-emphasis (0.005 / 0.0003 * cx, floor 0.0001) to mdct[i]; called by the encoder mapping (named mapping0_inverse)
00ab9660 _vp_tonemask libvorbis psy.c: seeds total_octave_lines (in_ECX[10]) entries with -9999 (NEGINF), att = local_specmax + vi->ath_adjatt (+4) clamped to ath_maxatt (+8), applies ATH and seed_loop/max_seeds over the n (in_ECX[0]) lines; called by the encoder mapping (named mapping0_inverse)
00ab9270 _vp_noisemask libvorbis psy.c: alloca n-float work, bark_noise_hybridmp(n, p->bark, logmdct, logmask, 140., -1) (FUN_00ab8cc0 with 140.0 and -1 pushed), subtracts, second hybridmp pass and noise offset/compand table lookup; called by the encoder mapping (named mapping0_inverse)
00ab5b30 prepare_range_limit_table libjpeg(-turbo) jdmaster.c: ECX cinfo: by data_precision (cinfo+0xc0 < 9 / < 13 / 16) allocates the range table, sets sample_range_limit (+0x124) = table+MAXJSAMPLE+1, fills 0 pad, identity 0..MAXJSAMPLE, saturated MAXJSAMPLE run, zero tail and the wraparound copy; called from libjpeg_jinit_master_decompress
00ab5480 use_merged_upsample libjpeg(-turbo) jdmaster.c: false if master lossless (+9), do_fancy_upsampling (+0x48), CCIR601_sampling (+0x10a), or jpeg_color_space/num_components != YCbCr/3; checks out_color_space RGB variants vs rgb_pixelsize table DAT_00b4f288 (RGB565 needs 3 comps), 2h1v/2h2v sampling of comp0 and 1x1 chroma with equal DCT_scaled_size; callers jpeg_calc_output_dimensions and jinit_master_decompress
00ab5200 jinit_upsampler libjpeg(-turbo) jdsample.c: precision check, allocates the upsampler into cinfo[0x6c] unless master->jinit_upsampler_no_alloc (+100), start_pass/upsample methods, JERR_CCIR601_NOTIMPL 0x1a when CCIR601_sampling, do_fancy = do_fancy_upsampling && min_DCT_scaled_size > 1, per component h/v_in_group = samp_factor*DCT_scaled_size/min_DCT_scaled_size picking the upsample method; called from libjpeg_jinit_master_decompress
00aafe60 png_crc_read libpng: png_read_data inlined (own error "Call to NULL read function" when read_data_fn +0x50 is NULL, else calls it), then png_calculate_crc's flag tests (ancillary/critical CRC ignore flags +0x114/+0x64) and updates png_ptr->crc (+0x108) via FUN_00a90f30 (crc32); called by png_crc_finish and the png_handle_* chunk readers
00aadc80 AudioPacketQueue::destroyAllAudioPackets ? theoraplayer: walks the list at this+8 freeing node->pcm (tracked new[]) and the 0xc-byte node {pcm, count, next}; callers VideoClip teardown 00a8c7e0 and VideoClip_Theora::_executeSeek (audio_stream_seek)
00aacb50 _vds_shared_init libvorbis block.c: memset(v,0,0x70), backend calloc(0x88), modebits=ilog2(ci->modes), transform calloc+mdct_init x2, window ilog2(blocksizes)-6, fullbooks calloc(books,0x38)+vorbis_book_init_decode with vorbis_dsp_clear/-1 on failure, pcm arrays, floor/residue look via _floor_P/_residue_P tables; returns 1 when codec_setup NULL; caller then calls vorbis_synthesis_restart (vorbis_synthesis_init inlined into VideoClip_Theora::_load)
00aac8f0 ogg_stream_reset libogg: returns -1 if !os || !os->body_data, zeroes body_fill/returned, lacing_fill/packet/returned, header_fill, e_o_s, b_o_s, pageno=-1 (+0x154), packetno/granulepos 64-bit zero
00aac240 ogg_sync_pageseek libogg: needs 27 header bytes, "OggS" capture compare, header length 27+segments, body sum, saves/zeroes CRC at +0x16 and recomputes via ogg_page_checksum_set 00aac110, fills ogg_page {header, header_len, body, body_len}
00aabed0 ogg_page_granulepos libogg: returns the 64-bit value at page->header+6 (bytes 6..13); VideoClip_Theora::_load duration scan, _seekPage
00aaa500 FrameQueue::setSize theoraplayer FrameQueue::setSize(n): locks the queue mutex, deletes existing frames (vfunc 0) and clears the list, allocates n VideoFrame (0x20, FUN_00aba8b0), logs "FrameQueue: unable to create N frames, out of memory. Created N frames."; called by VideoClip_Theora::_load with the precached count (this+0x44)
00aaa150 vorbis_synthesis_headerin libvorbis info.c: oggpack_readinit, packtype read 8 bits, _v_readstring 6 == "vorbis" else OV_ENOTVORBIS(-132), packtype 1/3/5 -> _vorbis_unpack_info/comment/books, returns OV_EBADHEADER(-133) for null op; VideoClip_Theora::readTheoraVorbisHeaders ("Invalid stream!")
00aa40e0 stb_vorbis::do_floor stb_vorbis do_floor(f, map, i, n, target, finalY): floor type check (error 0x15 VORBIS_invalid_stream), floor1 at f+0x114 stride 0x63c, sorted_order +0x346, Xlist +0x152, floor1_multiplier +0x634, inlined draw_line multiplying target by inverse_db_table DAT_00b4e8a0; only caller vorbis_decode_packet_rest
00aa3620 stb_vorbis::imdct_step3_inner_s_loop_ld654 stb_vorbis inverse MDCT 16-wide butterfly with A2 = A[base_n>>3] (param_3>>3); last step call in inverse_mdct
00aa3270 stb_vorbis::imdct_step3_inner_r_loop stb_vorbis imdct step3 inner r loop (lim=n>>2, e, d0, A, k1 stride param_4 = 16 or 1<<ld); inverse_mdct calls it four times with k1 16 then in the ld loop
00aa30a0 stb_vorbis::imdct_step3_iter0_loop stb_vorbis: assert "(n & 3) == 0" (ogg.cpp 0x995), A stride 8 butterfly; inverse_mdct calls it twice first
00aa2310 stb_vorbis::codebook_decode_deinterleave_repeat stb_vorbis general-ch version (outputs, ch, &c_inter, &p_inter, len, total): assert "!c->sparse || z < c->sorted_entries", lookup_type error 0x15, divides by ch; decode_residue's ch!=2 path (the ch==2 path calls 00aa2580)
00aa20b0 stb_vorbis::codebook_decode stb_vorbis codebook_decode(f,c,output,len): codebook_decode_start then adds dimensions entries of multiplicands (sequence_p +0x16 accumulates) into output; decode_residue rtype 1 path
00aa1a40 stb_vorbis::next_segment stb_vorbis next_segment: returns 0 if last_seg (+0x578); when next_seg (+0x574) == -1 sets last_seg_which and calls start_page (00aa17b0), checks continued-packet flag (+0x56f, error 0x20); assert "f->bytes_in_seg == 0"; segment table +0x470
00aa1830 stb_vorbis::start_packet stb_vorbis start_packet: while next_seg == -1 runs start_page (capture "OggS" inlined); then last_seg=0, valid_bits=0, packet_bytes=0, bytes_in_seg=0, returns 1
00aa13f0 stb_vorbis::get32 stb_vorbis: four inlined get8 reads (memory stream +0x20/+0x28 or file callback, eof +0x70) combined little-endian; callers start_page_no_capturepattern 00aa1610, start_decoder
00aa0f40 stb_vorbis::init_blocksize stb_vorbis init_blocksize(f, b=EDX, n): setup_malloc n/2,n/2,n/4 floats into A[b] (+0x43c), B[b] (+0x444), C[b] (+0x44c) and window/bitrev, compute_twiddle_factors via cos/sin; only caller start_decoder
00aa0990 stb_vorbis::compute_codewords stb_vorbis: asserts "c->sorted_entries == 0" and "available[y] == 0" (ogg.cpp 0x3fe), available[32] memset 0x80, first non-NO_CODE (0xff) entry, add_entry inlined; only caller start_decoder
00a9f2b0 LobbyLocalhost::read_welcome_message ? copies tag "lhwm" into ECX, reads 4-byte tag from the memory stream and dies "Invalid localhost welcome message\n" on mismatch, then member count (*8 bytes, rebuffer) and fields; netplay_lobby_host_handle_message "lhwm" branch
00a9f180 KAGE::Network::Multiplayer::LobbyLocalhost::find_or_create ? builds a temporary LobbyLocalhost (vftable 00ba8330) and calls the lobby registry FUN_00a71e10(out, lobbyId) that finds or clones the impl by 64-bit id; same shape as LobbySteam 00a53290; netplay_lobby_host_handle_message
00a9ede0 KAGE::Network::Multiplayer::LobbyLocalhost::add_member ? if the lobby is full (count byte +0x2c vs members vector +0x20..+0x24) or closed (+0x34/+0x30) replies to the user (FUN_00a2a030); else appends the 64-bit user id, then broadcasts "lhum" and calls Multiplayer member-status 00a2a0b0(lobby, user, 0 = joined); netplay_lobby_host_handle_message
00a9e8c0 multiplayer_connection_state_destroy ? destructor-like teardown of a sub-object of MultiplayerManagerBase: if flag bit0 set marks bit1, vfunc +0xc on +0x2c, FUN_00a2a8d0, clears flags; frees map head (+0x38, 0x10) via FUN_00a1a500; only callers FUN_00a73020 and an unwind funclet
00a9d9c0 jpeg_read_scanlines libjpeg jdapi.c: global_state must be DSTATE_SCANNING 0xcd (JERR_BAD_STATE 0x15), output_scanline >= output_height -> JWRN_TOO_MUCH_DATA 0x7e warning, progress monitor (+8) pass_counter/limit, main->process_data; image_load_jpeg row loop
00a9d390 jpeg_CreateDecompress libjpeg jdapi.c: keeps err/client_data, memset rest, is_decompressor=1, jinit_memory_mgr inlined (malloc 0x54 method table, max_memory_to_use 1000000000, JERR_OUT_OF_MEMORY 0x38); image_load_jpeg
00a9ad20 png_do_dither libpng 1.2 pngrtran.c png_do_dither(row_info,row,palette_lookup,dither_lookup): RGB/RGBA 8-bit -> palette index via 5-bit-per-channel lookup, sets color_type PALETTE(3), channels 1; png_read_row under PNG_DITHER (0x40) ("png_do_dither returned rowbytes=0")
00a9a6d0 png_do_expand_palette libpng: returns unless color_type == PALETTE(3); unpacks 1/2/4-bit indices to 8 then expands to RGB/RGBA using palette and trans (num_trans); png_read_row under PNG_EXPAND (0x1000) with palette color type
00a9a2f0 png_do_gamma libpng: (row_info, row, gamma_table, gamma_16_table, gamma_shift): switch on color_type, maps 2/4/8/16-bit samples through gamma_table (+0x15c) / gamma_16_table (+0x168); png_read_row
00a98d50 png_do_read_invert_alpha libpng: RGBA/GA rows (color_type 6 / 4): alpha byte(s) replaced by ~alpha walking from the end; png_read_row under PNG_INVERT_ALPHA 0x80000
00a98c40 png_do_read_swap_alpha libpng: RGBA->ARGB (moves the trailing alpha byte(s) in front, 8 and 16-bit); png_read_row under PNG_SWAP_ALPHA 0x20000
00a94b10 png_write_filtered_row libpng pngwutil.c: zstream next_in = filtered row (+0x6c), avail_in = rowbytes+1, deflate loop ("zlib error"), flushes IDAT when avail_out==0 through write_data_fn (+0x4c, "Call to NULL write function"), CRC update; caller png_write_find_filter
00a8e1b0 VideoClip_Theora::_seekPage theoraplayer _seekPage(targetFrame, returnKeyFrame): bisection over the data source (vfunc +8 size, +0x14 seek) resetting ogg sync (+0xb0..+0xd8), ogg_sync_pageseek/pageout up to 1000 iterations and granule-to-frame comparison; only caller VideoClip_Theora::_executeSeek (audio_stream_seek)
00a88650 tdefl_flush_block miniz.cpp asserts "!d->m_output_flush_remaining" (0x37e) and "d->m_pOutput_buf < d->m_pOutput_buf_end" (0x3b5); writes zlib header 0x78 when TDEFL_WRITE_ZLIB_HEADER (0x1000), static/dynamic block selection via FUN_00a88560; callers tdefl_compress_normal, tdefl_compress
00a85140 lzw_compress ? LZW encoder: dictionary trie (global DAT_00c7de50: code width +4, 0x10-byte nodes {?, first child +4, next sibling +8, byte +0xc}), emits variable-width codes into a bit buffer, "ERROR! Cannot flush BitBuffer, not enough space left."; write_game_state_to_stream ("Buffer overflow" check)
00a84060 KAGE::Network::Multiplayer::LobbyEOS::~LobbyEOS sets LobbyEOS vftable, frees +0x20 (tracked), EOS_LobbyDetails_Release(+0x28), then LobbyImplBase vftable and member vector _Tidy
00a82750 glfw_getEGLErrorString GLFW egl_context.c getEGLErrorString: switch 0x3000 EGL_SUCCESS "Success" .. 0x300e EGL_CONTEXT_LOST, default "ERROR: UNKNOWN EGL ERROR"; callers chooseEGLConfig, _glfwCreateContextEGL
00a80fb0 _glfwIsWindows10BuildOrGreaterWin32 GLFW win32_init.c: OSVERSIONINFOEXW (0x11c) major 10 minor 0 build ECX, VerSetConditionMask BUILDNUMBER/MINORVERSION/MAJORVERSION, RtlVerifyVersionInfo (DAT_00c75adc) == 0; win32 window code
00a80ae0 _glfwCreateWideStringFromUTF8Win32 GLFW win32_init.c: MultiByteToWideChar(CP_UTF8 0xfde9) size query, _glfw_calloc ("Allocation size overflow"), "Win32: Failed to convert string from UTF-8"; _glfwCreateWindowWin32
00a7f250 glfw_findPixelFormatAttribValue GLFW 3.4 wgl_context.c findPixelFormatAttribValue(attribs, count, values, attrib): linear search, else "WGL: Unknown pixel format attribute requested" via FormatMessageW "%s: %s"; caller choosePixelFormatWGL
00a79c60 std::map<u64_ConnectionPtr>::_Erase_tree recursive _Erase of 0x20-byte nodes whose value SmartPointer<ConnectionBase> (+0x18/+0x1c) is released through the ConnectionBase release fn DAT_00c7f4bc (same as KAGE::SmartPointer<ConnectionBase>); NetworkManager code
00a78e10 netplay_lobby_handle_join_message ? consolidated-message check ("This function should only be called on consolidated messages"), tag "join": looks up the lobby by id (ConstLobby 00a282c0) and queues a type-5 lobby event with its id; netplay_lobby_host_handle_message non-"lhwm" path
00a73020 multiplayer_lobby_state_destroy ? teardown of a MultiplayerManagerBase member: clears +0x9c/+0xa0, vector _Tidy, releases ConstLobby at +0x84 and +0x10, FUN_00a28ca0, multiplayer_connection_state_destroy 00a9e8c0; called from MultiplayerManagerBase dtor 00a28d60
00a72a20 KAGE::Network::MultiplayerManager::join_lobby ? if a lobby is active queues event type 3 (leave), then queues event type 2 with the target lobby id (param+4 -> +8/+0xc) and callback FUN_00908660 through FUN_00a73100; only caller online_lobby_join
00a72740 KAGE::Network::Multiplayer::Lobby::Lobby ctor from ConstLobby: ConstLobby vftable, copies shared_ptr from param+4, then Lobby vftable; Menu_OnlineLobby::init_lobby_view
00a714e0 KAGE::System::update ? per-frame engine tick: optional input poll (FUN_00a21cb0 -> Gamepad_processEvents), time delta, updates every TheoraVideoManager clip (vfunc +0x18) under its mutex, periodic logger flush (DAT_00c79bd8 vfunc +0x20), sound timers, map of timed handles, EOS_Platform_Tick; ModManager::UpdateWorkshopMods loop
00a6dd30 Gamepad_updatePOVAxes ? libstem_gamepad windows DirectInput: maps a POV hat value (centi-degrees, -1 centered) to x/y axis states -1/0/1 at device axisStates (+0x18)[axis], calling the axis-move callback DAT_00c78d70 on change; caller Gamepad_processEvents (misnamed 00a6de60)
00a6da10 Gamepad_removeDevice ? libstem_gamepad: calls deviceRemoveCallback (DAT_00c78d7c, context DAT_00c78d88), frees private data (DirectInput device release vfunc +8, buffers), axis/button states and the record, memmove-removes it from the devices array DAT_00c79bec; Gamepad_processEvents
00a6b3c0 _glfwChooseFBConfig GLFW context.c: scores each candidate (missing/extra color, depth, stencil, accum, aux, sRGB, stereo/doublebuffer) and returns the closest; callers choosePixelFormatWGL and chooseEGLConfig
00a69ef0 _glfw_calloc GLFW init.c: count*size overflow -> _glfwInputError(GLFW_INVALID_VALUE 0x10004, "Allocation size overflow"), allocator (DAT_00c73684, user g_glfwAllocatorUser) then memset 0, GLFW_OUT_OF_MEMORY 0x10005 on failure
00a68b80 KAGE::Filesys::ArchivedFile::~ArchivedFile sets ArchivedFile vftable, deletes the inner stream (+8 vfunc 0), frees +0x10 buffer, frees decompressor buffers (+0x14: 0x4df40, 0x2af0, 0x810, 0x14), then StreamBase vftable
00a67fe0 KAGE::Graphics::GraphicsBufferObject::GraphicsBufferObject ctor: zeroes +4..+0xc, sets GraphicsBufferObject vftable, FUN_00a68360, allocates a counted array of 0x14-byte elements via _eh_vector_constructor_iterator_
00a67eb0 std::vector<RenderQuad>::_Reallocate 0x70-byte elements (max 0x2492492): allocates, render_quad_copy each element, moves; caller render_quad_draw
00a670c0 RenderBatch::is_state_equal ? compares a batch's state (vertex format +8 vs arg, blend mode +0x10 vs g_graphicsManager_blendMode, +0x14..+0x20 vs DAT_00c79904..10, shader +0x24 vs g_currentShader, uniform bytes +0x28 vs shader+0x40) and returns bool; kage_graphics_flush batch reuse
00a66e30 RenderBatch::set_state ? captures the image SmartPointer (ImageBase map lookup by +0x48), blend mode, DAT_00c79904..10, g_currentShader and copies the shader's uniform vector into the batch (+0x28); kage_graphics_flush new batch
00a663c0 image_premultiply_alpha RGBA8 pixels (count = w*h): alpha 0 -> zero pixel, alpha 0xff kept, else rgb = table[(a<<8)|c] (DAT_00c23640, or DAT_00c13640 when g_graphicsManager_flags&8); image loaders when flags&4
00a64550 png_do_bgr libpng: swaps R and B for RGB/RGBA 8 and 16-bit rows; png_read_row under PNG_BGR (1) and write transforms 00a94c80
00a64320 png_do_strip_filler libpng 1.2 png_do_strip_filler(row_info,row,flags): drops the filler/alpha byte(s) (PNG_FLAG_FILLER_AFTER 0x80 picks which side), fixes channels/pixel_depth/rowbytes; png_read_row (PNG_STRIP_ALPHA 0x40000, flags 0x80) and write transforms
00a63f30 png_destroy_write_struct libpng pngwrite.c: (png_ptr_ptr ECX, info_ptr_ptr EDX): frees info text/palette/trans/row pointers (png_info_destroy inlined), then png_write_destroy and frees the structs; Entity_Familiar::RestoreState (misnamed PNG writer 009e86e0)
00a63a10 png_create_write_struct libpng 1.2.50: malloc 0x20c + setjmp, version check "1.2.50"/"Incompatible libpng version", error_fn FUN_009e6e90/error_ptr EDX, zbuf 0x2000, png_set_write_fn inlined (default write/flush, "Attempted to set both read_data_fn and write_data_fn in the same structure")
00a63000 png_info_destroy libpng: frees info text array (+0x38, num_text +0x30, 0x10-byte png_text), +0xa0, +0xac, row_pointers +0xb0 (count byte +0xb5), then memset(info,0,0xb8)
00a62880 VideoPlayer::unload ? TheoraVideoManager::destroyVideoClip(this[1]), clears clip/flags, resets the RenderTarget SmartPointer (+8/+0xc, g_renderTargetReleaseFn); Manager::destructor
00a62680 epoxy_internal_has_gl_extension libepoxy dispatch_common.c: epoxy_gl_version < 30 -> glGetString(GL_EXTENSIONS 0x1f03) + epoxy_extension_in_string 00a62620, else glGetIntegerv(GL_NUM_EXTENSIONS 0x821d) and strcmp each glGetStringi; caller epoxy_has_gl_extension
00a62590 epoxy_internal_gl_version libepoxy: glGetString(GL_VERSION 0x1f02) (returns error_version ECX if null), skips non-digits, sscanf "%i.%i" else exit(1), returns major*10+minor; callers epoxy_gl_version, epoxy_internal_has_gl_extension
00a614d0 buffer_decompress ? (dst ECX, dstLen EDX power of two "Destination buffer length is not a power of two", src, srcLen): lazily allocates a global inflater, inits, then tinfl_decompress (misnamed tdefl_compress 00a85710) or memcpy + XOR keystream FUN_00a89d70; netplay message readers 00918d00, 0091ad50
00a5f3a0 log_file_open deletes the old global logger DAT_00c79bd8, creates KAGE::Filesys::LoggerFile (0x10) and fopen(path, "wb"), stores the path, log level 0xff (DAT_00c79bdc); IsaacMain right after building "log.txt" path
00a5f0e0 kage_system_init ? SteamInternal_SteamAPI_Init("SteamUtils010"), srand(GetTimeNs/1e6), SetThreadExecutionState(ES_CONTINUOUS|ES_DISPLAY_REQUIRED), timeGetDevCaps + timeBeginPeriod, FUN_00a710a0; IsaacMain after init_engine_parameters
00a5b4c0 glfw_updateFramebufferTransparency GLFW win32_window.c updateFramebufferTransparency: IsWindowsVistaOrGreater, DwmIsCompositionEnabled (DAT_00c75abc), Win8 check + DwmGetColorizationColor, DwmEnableBlurBehindWindow(window->win32.handle +0x2b4) with CreateRectRgn(0,0,-1,-1); _glfwCreateWindowWin32
00a5ab30 glfw_createIcon GLFW win32_window.c createIcon(image, xhot, yhot, icon): BITMAPV5HEADER 0x7c top-down, "Win32: Failed to create RGBA bitmap", "Win32: Failed to create mask bitmap", "Win32: Failed to create icon"/"cursor"; _glfwCreateWindowWin32, set icon/cursor
00a58270 KAGE::Filesys::BufferedStream::seek_base2 BufferedStream::seek (00a57d30, whence 0/1/2) reached through the second vtable at +0x28 (fields addressed at -0x24..-4); rebuffers when out of window; write_desync_dump
00a57fc0 KAGE::Filesys::BufferedStream::rebuffer "Attempting to rebuffer data on a read-only buffer" (+0x18 set), refills the buffer from the underlying stream at the current position (vfunc +0x24 seek, +0x28 read), capacity +8
00a57db0 KAGE::Filesys::BufferedStream::read BufferedStream vftable slot 6: fread-style (dst,size,count) from buffer (+0xc..+0x10 or fixed data +0x18), rebuffer or direct read (vfunc +0x28) for large requests, total read +0x20
00a57d30 KAGE::Filesys::BufferedStream::seek BufferedStream vftable slot 5: (offset, whence SEEK_SET/CUR/END(+4 size)) sets position +0x20, rebuffers when outside [+0x24, +0x24+len), cursor +0x1c
00a56ea0 steam_friends_get ? ISteamFriends (SteamInternal_ContextInit 00c5c4f8) GetFriendCount(4 = k_EFriendFlagImmediate) vfunc +0xc and GetFriendByIndex +0x10, wraps each as UserProfile (find_or_create, load_steam_avatar when param_2) into the vector param_1; InviteFriendsMenu::load_graphics
00a56c30 std::vector<12byte>::assign assign(first,last) for 12-byte FormattedText segments: reuse when capacity fits else deallocate/_Allocate with growth (max 0x15555555); Font::layout_glyphs
00a56790 FormattedText::split_lines_converted ? splits UTF-16 text on '\n' and literal "\\n" into 12-byte segments, converting each piece through the callback param_2 (FUN_00a56bf0) with context param_3; Font::layout_glyphs
00a56060 FormattedText::split_lines_utf16 ? splits a 16-bit string on newline separators (DAT_00b65584 "\n"/"\\n") into 12-byte segments {flags, ptr, ushort len} pushed onto the vector at EDX; Font::layout_glyphs
00a55ef0 FormattedText::split_lines ? 8-bit twin of 00a56060: splits on "\n" and literal "\\n" (DAT_00b65584) into 12-byte segments; Font::measure_string
00a55b70 FormattedText::FormattedText ? ctor from a single segment: zeroes flags and the segment vector (+4..+0xc), marks borrowed (bit0) and pushes the 12-byte segment param; OnlineChat::render
00a55330 std::vector<ConstLobby>::push_back 12-byte elements: in-place ConstLobby copy (vftable + shared_ptr assign from param+4) or _Emplace_reallocate FUN_00a556c0; netplay_lobby_host_handle_message
00a54890 Multiplayer::invite_user_to_lobby ? when the current lobby (this+0x24) is a LobbySteam (RTTI dynamic cast), calls ISteamMatchmaking vfunc +0x40 (InviteUserToLobby, slot 16) with the lobby and user CSteamIDs; returns bool; online_chat_window_update invite list
00a53290 KAGE::Network::Multiplayer::LobbySteam::find_or_create ? builds a temporary LobbySteam (vftable 00b9e9a4) and calls the lobby registry FUN_00a71e10(out, lobbyId) that finds or clones the impl by 64-bit id; ModManager::RenderCustomCharacterMenu, Steam lobby code
00a52940 KAGE::Network::Multiplayer::LobbySteam::request_lobby_data ? ISteamMatchmaking (context 00c5c504) vfunc +0x70 (RequestLobbyData, slot 28) with the lobby CSteamID at this+8; on success stores (param_1,param_2) in the request map; Menu_OnlineLobbyList::Update
00a524b0 file_exists path_join then _access(path, 0) != -1; FileSystem::ResolvePath
00a52410 KAGE::Filesys::File::~File sets File vftable, fclose(+0xc), state 2, frees path (+8) else FileStream vftable, then StreamBase vftable
00a51840 KAGE::System::LeaderboardManager::release_result ? global LeaderboardManager (vftable set in 00406c10, map head DAT_00c5ab18, mutex DAT_00c5ab20): when enabled (flag bit0) frees the 0x18 result for a handle or all for -1 and erases it; Leaderboard::Show releases its four handles
00a51790 KAGE::System::LeaderboardManager::get_result ? under the LeaderboardManager mutex looks the handle up in the map (DAT_00c5ab18) and returns node value +0x14 or 0; Game::StartStageTransition (handles at Game+0x1d888/+0x1d890)
00a2bf60 sound_entry_ptr_destroy ? releases the SoundSourceBase SmartPointer at (+4)->+0x14/+0x18 (g_soundReleaseFn) and deletes the 0x1c-byte object at +4; only reached from an unwind funclet
00a2ac90 SoundInstance::operator_assign ? copies another SoundInstance: copy source SmartPointer (FUN_008f2d20), reset (FUN_00a2ae60(0)) to defaults (loop 0, volume 1.0, pan 0, pitch 1.0), swap in the source, then copy loop/volume/pan/pitch fields; SFXManager::load_xml
00a2a990 SoundInstance::SoundInstance default ctor: SmartPointer<KAGE::Sound::SoundSourceBase> (ReferenceCount 0x18), loop bytes 0, volume 1.0 (+0xc), pan 0, pitch 1.0 (+0x14); same layout as SoundInstance::assign; Manager::constructor
00a2a460 KAGE::SmartPointer<ConnectionBase>::SmartPointer default ctor: null pointer wrapped in a new ReferenceCount<KAGE::Network::Multiplayer::ConnectionBase> (0x18), releases the old one through DAT_00c7f4bc; NetplayManager / NetworkManager::get_peer
00a2a0b0 Multiplayer::handle_member_status ? (lobby, userId, status): if lobby is the current one, status 0 (joined) connects the peer (service vfunc +0x28) unless known, 1..4 (left/kicked) drops the peer and purges its queued messages (mutex "Invalid mutex object specified"), then emits a lobby event {lobby id, user, status}; netplay_lobby_host_handle_message, LobbyLocalhost::add_member
00a29bb0 Multiplayer::flush_channel ? under the service mutexes removes queued messages whose channel byte (+5) equals param and marks pending ones in each peer as dropped; Menu_OnlineLobby::Update
00a29370 Multiplayer::set_service_provider switch on provider type: 0 none, 1 ServiceLocalhost (0x74, ChangeWindowMessageFilterEx WM_COPYDATA), others Steam/EOS; destroys the previous g_multiplayerService; "Unknown or unsupported service provider type specified"; online_lobby_join, menus
00a28440 KAGE::Network::Multiplayer::ConstLobby::ConstLobby<copy> copy ctor: ConstLobby vftable, zero, shared_ptr assign from param+4; Menu_OnlineLobbyList::Update
00a282c0 KAGE::Network::Multiplayer::ConstLobby::ConstLobby<id> ctor from a 64-bit lobby id: ConstLobby vftable, default SmartPointer<LobbyImplBase>, then assigns the impl found by FUN_00a71f00(id); 22 callers (netplay_lobby_handle_join_message passes &id)
00a280b0 std::map<const_char_ptr_4byte>::_Find_lower_bound strcmp-keyed tree walk returning {node, isLeft, bound}; StringTable::load_xml, std::map<const_char_ptr_4byte>::find
00a27c80 std::map<StringTable_category>::_Erase_tree recursive _Erase of 0x28-byte nodes whose value holds a key map (+0x14, _Erase_tree + 0x18 head) and a vector (+0x1c); Manager::destructor via StringTable::clear
00a26d30 StringTable::get_string_by_index (category, language, keyIndex): returns "StringTable::InvalidCategory"/"InvalidKeyIndex"/"InvalidKey"/"UntranslatedString" or the translation; Game::ShowFortuneText picks RNG index (language g_manager+0x4a920)
00a26a30 StringTable::translate path_join(1) lowercases the key, splits "category/key" at '/', else uses the default category (this+0x14), then StringTable::get_string with language *this; string_table_translate
00a26920 StringTable::clear walks the category map (this+0xc), frees each tracked value buffer, then erases the tree (00a27c80); Manager::destructor, StringTable::Load
00a26810 StringTable::Load REPENTOGON StringTable::Load(fileName): path_join, finds the extension, clears (00a26920), compares the extension (DAT_00b9c154) and loads (FUN_00a26f20), then sets current language from the first entry; Manager::Init
00a26440 glfwSetInputMode GLFW 3.4 input.c glfwSetInputMode with mode constant-propagated to GLFW_CURSOR: assert "window != NULL" line 0x24c, "Invalid cursor mode 0x%08X" for values outside 0x34001..0x34004, stores window+0x70 then platform getCursorPos/setCursorMode; OptionsConfig::Load passes MouseControl+0x34001
00a24270 DateTime::constructor ? thiscall (bool now): zeroes flags byte, time64 at +8 and tm fields +0x10..+0x30; when now: _time64 -> +8 and _gmtime64 into the tm fields; holiday_get_current then sets flags|=2 (same struct as DateTime::set_from_yyyymmdd 0085af30)
00a23f30 KAGE::SmartPointer<EpicUserInfoType>::reset news ReferenceCount<KAGE::EpicUserInfoType> (ptr at +0x14 = param_1), releases old refcount at this+4 (vfunc +0xc, g_profileReleaseFn), stores ptr/refcount in this[0]/[1]; same shape as KAGE::SmartPointer::reset 0040c7f0
00a23d40 KAGE::SmartPointer<EpicUserInfoType>::SmartPointer default ctor: zeroes this, wraps null in a new ReferenceCount<KAGE::EpicUserInfoType>, releases any old block; same shape as 00a28790
00a23c50 KAGE::SmartPointer<EpicUserInfoType>::operator_assign copy-and-swap: builds a temp from param via FUN_00a23df0, swaps both dwords with this, releases the temp's old refcount (vfunc +0xc); same shape as SharedPtr::assign 004d74a0
00a23160 KAGE_Memory::heap_free (heapId, ptr): looks the heap id up in the heap map (DAT_00c3796c end), "Invalid heap identifier specified", then calls heap vfunc +8 (free); image loaders free texel buffers with heap 2
00a230b0 KAGE_Memory::heap_alloc (heapId, &size) -> ptr: heap map lookup, "Invalid heap identifier specified", heap vfunc +4 (alloc), FUN_00a23200 out-of-memory on null; image loaders allocate texel buffers with heap 2 ("texel buffer allocation of size %d failed")
00a20020 KAGE::Input::Manager::get_device_count KAGE::Input::Manager vtable slot 7; locks the mutex at this+0x14 and returns (end-begin)>>3 of the device vector at this+8/+0xc (the 8-byte entries get_device copies); Console::RunCommand loops get_device over it
00a1fc00 KAGE::Input::Manager::update_devices ? called by Input::Manager vtable slot 4 FUN_00a21cb0 right after the GLFW platform pollEvents and by Manager::Update; under the mutex at this+0x14 walks the device vector this+8..+0xc calling per-device virtuals
00a1cfa0 std::_Sort_unchecked<16byte_u64key> introsort over 16-byte elements (heap-sort fallback when depth budget <1, recursion with budget*3/4, insertion threshold 0x200 bytes = 32 elems) keyed by the uint64 at +0; Font::Load sorts its glyph/kerning vector (this+0x2c..+0x30)
00a1cea0 std::vector<16byte>::_Resize_reallocate grows to param_1 elements of 16 bytes (1.5x growth, Xlen at 0x0fffffff), zero-fills the new tail, memmoves the old range; Font::Load when resizing the vector at +0x2c
00a24420 std::vector<16byte_ff>::_Resize_reallocate same as 00a1cea0 but new 16-byte elements are memset 0xff and old ones copied dword-wise; init_engine_parameters resizes to 0x20 (action bindings)
00a19600 glfw_set_window_pos (x,y) on g_glfwWindow: caches x/y in DAT_00c799b0/b4, logs "Setting position of window while in fullscreen, is this intended?", GLFW 3.4 window.c glfwSetWindowPos assert line 0x253, skips when monitor (+0x40) set, platform setWindowPos; OptionsConfig::Load passes _windowPosX/_windowPosY
00a18750 KAGE_Graphics::update_depth_renderbuffer ? thiscall graphics: size = this[0x2d]/[0x2e] or virtual getters, if not forced and existing renderbuffer (this[0x2c]) is big enough return; else deletes it, rounds w/h up to pow2 (min 8), binds framebuffer this[0x2b], glGenRenderbuffers, "Renderbuffer ID: %d size %dx%d"; KAGE_Graphics::SetRenderTarget, window resize FUN_00954150
00a18530 KAGE_Graphics::update_projection ? builds an orthographic matrix from the render target size (target +0x10/+0x14) or the screen size (this+0x9c/+0xa0) and uploads it to g_currentShader's "Transform" uniform; KAGE_Graphics::SetRenderTarget after each bind
00a17f40 FileSystem::open_archive_file (path, File** out) -> bool: GetPrimaryFilePathHash(path), linear-probes the 0x8000-entry archive hash table at this+0x108 matching hash (+4) and secondary hash (+8); if out, news a 0xc2c-byte archive file (FUN_00a68a50); FileSystem::Open tries it first, then FUN_00a17ea0
00a17ea0 FileSystem::open_disk_file (path, File** out) -> bool: without out returns a platform file-exists check (FUN_00a52540-family); else news a KAGE::Filesys::File (0x10) and calls its open vfunc +0x24, deleting on failure; FileSystem::Open fallback after open_archive_file
00a16c60 FileSystem::find_mount (path, bool* isArchive) -> mount: walks the mount vector this+8..+0xc from last to first, checks archive (open_archive_file with null out, sets *isArchive=1) and each mount's path-hash map; FileSystem::ResolvePath
00a167d0 FileSystem::load_mount_points opens "kage_mount_points.dat" via FileSystem::Open (falls back to a KAGE::Filesys::File at a path_join path) and registers the mount points; called at startup (009aa040 before the version log) and by FUN_00a15d90
00a16610 filesys_list_directory (dir, pattern, int* count) -> new[] of 8-byte {flags & ~0x10, name} entries: calls platform filesystem vfunc +0x20 (PTR_vftable_00c379e0) to list, copies entries, frees the temp; ModManager::ListMods on the mods dir, FUN_00903d60 on g_userDataDir
00a152a0 std::vector<24byte>::push_back move push of a 24-byte element (3 dwords + a moved 3-dword vector) at this+4, realloc via FUN_00a153a0 when full; Shader::set_uniform adds a new uniform record
00a15040 Shader::find_uniform linear search of the 0x18-byte uniform records at this+0x34..+0x38 for strcmp(name)==0 and type (+4)==1, returns the record or null; Shader::set_uniform creates one when null
00a14620 Shader::load (name, attrib array {char*,int} null-terminated, params): stores a copy of name at this+8, copies attribs into this+0xc/count this+0x10, compiles via vfunc +8 (vfunc +4 cleanup on fail), sets flags|=1 and vfunc +0x28(name); ModManager::LoadShaders, FUN_00a13fa0 shader cache
00a26710 StringTable::constructor thiscall: zeroes +0, builds two empty std::map heads (+4 node 0x18, +0xc node 0x28, color/isnil 0x101), zeroes counts, then StringTable::clear FUN_00a26920; sits next to StringTable::get_string/load_xml; Manager::constructor builds two of them
00a139f0 KAGE_Graphics::flush_batches ? thiscall graphics: for each pending batch in the vector this+0x80..+0x84 submits it (FUN_00a67bd0) and records its vertex range (FUN_00a13ca0), clears the vector, then rebuilds/clears the std::set at this+0x8c; first call of the frame-flush 00a19180 and of FUN_00a13220
00a12d50 ImageBase::set_size thiscall image (w,h): vfunc +0x4c/+0x50 min/max texture size, "Attempted to create image larger than max supported size", stores clamped w/h (+0x10/+0x14), pow2 texture w/h (+0x18/+0x1c, FUN_00a15590) and u/v scale (+0x20/+0x24); image loaders log "...because set_size failed" when it returns 0
00a10ab0 Quad::is_on_screen ? thiscall on a render quad (4 corner x,y): clamps the quad's bounding box to the render target size (g_graphicsManager_renderTarget +0x10/+0x14) or the screen size (DAT_00c7997c/80) and returns whether anything is left; render_quad_draw drops quads for which it returns 0
00a10950 Quad::scale thiscall on a 4-corner float quad (pivot Vector*, scale Vector*): if scale != (1,1) translates the corners by -pivot, multiplies x/y by scale, translates back; render_build_sprite_quad calls it right before Quad::rotate
00a10270 Vector::Rotate thiscall: angle in XMM1 degrees * 0.017453292, x' = x*cos - y*sin, y' = y*cos + x*sin in place; Entity_Player::update_shooting after Normalize
00a0f610 KColor::set_from_argb_signed duplicate of KColor::SetFromARGB (00a0f550) without the +0.0 and with signed shifts: r,g,b,a = ARGB bytes / 255, +0x10 = 0; Game::render_debug_overlay (0x6599ff99)
009f3c80 Weapon::get_damage returns float in xmm0: owner (this+4) player -> _damage (+0x1470); familiar -> its player's _damage * 0.5 unless _playerType (+0x13c0) == 13 (Lilith), doubled with collectible 0xf7 (BFFS!); else 3.5; Weapon::fire_laser and the weapon init helpers pass it to the entity's vfunc +0x40
00a06330 Weapon_Laser::init_laser (laser): copies Weapon::get_owner_tear_flags to laser +0x428..+0x434, SetColor vfunc +0x3c with Weapon::get_laser_color, vfunc +0x40 with Weapon::get_damage; Weapon_Laser::Fire after spawning/reusing the laser
00a00f90 Weapon_Brimstone::init_laser (laser): same body as 00a06330 (tear flags -> +0x428, Weapon::get_laser_color, Weapon::get_damage); Weapon_Brimstone::Fire on the new and on the existing laser
00a05070 Weapon_Knife::init_knife (knife): offset from the owner player's _posOffset (-10, -15 more when flag 0x200000000000000, plus GetFlyingOffset/0.65), color via FUN_009f3db0, tear flags (+0x410..+0x41c, OR'ed with a fixed mask when weapon modifier bit 4), Weapon::get_damage via vfunc +0x40, 0.75 scale for familiar owners; Weapon_Knife::Fire
00a06420 Weapon_Laser::fire_lasers (out, dir, variant, ..., multishot params*, spreadCount): per multishot (Entity_Player::GetMultiShotPositionVelocity) calls Weapon::fire_laser, or fires spreadCount lasers at random angles, pushing each into the global vector DAT_00c943bc; Weapon_Laser::Fire for main/back/side directions
00a00d10 Weapon_Brimstone::fire_c_section_fetuses ? gated in Weapon_Brimstone::Fire on modifier bit 5 and the C Section flag (local_94, the one used with Weapon::is_c_section_anim_finished); for each laser whose id/parent matches this+0x48, fire_fetus_tear from the laser position (+0x33c) along its angle (+0x41c) plus a random 3-unit jitter, scaled by the owner's shot speed (+0x1464)
009ff0c0 Weapon_Bone::init_club (club): weapon type (+0x30) 0xb -> only vfunc +0x40(7.0); else color (FUN_009f3db0) via vfunc +0x3c, Weapon::get_owner_tear_flags -> +0x410..+0x41c, Weapon::get_damage via vfunc +0x40, +0x37c = 0.5 or 3.0 by modifier bit 7; Weapon_Bone::Fire on each club in this+0x44..
009f6b70 Weapon::fire_brimstone_ball (pos, vel, offset): owner (this+4) player or familiar's player -> Entity_Player::FireBrimstoneBall; fallback Game::SpawnEx(1000, 0x71) with parent = owner, posOffset, timeout/lifespan 0x24, depth 3000; Weapon_Bone::Fire
009f6af0 Weapon::fire_bone_club owner player or familiar's player -> Entity_Player::FireBoneClub(..., this), then sets the result's +0x3c8 EntityPtr to the owner; Weapon_Bone::Fire
009f6a60 Weapon::fire_knife owner player or familiar's player -> Entity_Player::FireKnife, then sets the knife's _spawnerEntity to the owner; Weapon_Knife::Fire
009f6980 Weapon::fire_tech_x_laser (pos, vel, radius in xmm3): owner player -> Entity_Player::FireTechXLaser; fallback Game::SpawnEx(7, 2) with parent owner, posOffset (0,-20), depth 3000, _radius; Weapon_TechX::Fire
009f5780 Weapon::set_head_direction (dir): owner player -> +0x1628 = dir and the head animation string from the "HeadLeft".. table (PTR 00b60b30); familiar owner -> +0xd58 = dir; Weapon_SpiritSword::Fire before Weapon::SetHeadLockTime
009f4da0 Weapon::play_brimstone_costume_shoot ? (.., dir Vector*, frames 8.0): owner player only; picks "HeadDownShoot"/"HeadRightShoot"/"HeadUpShoot"/"HeadLeftShoot" via string_from_direction(dir) (plain "Shoot" fallback), then FUN_0075ad50 with ItemConfig::GetCollectible(0x76 Brimstone) to play it on that item's costume; Weapon_Brimstone::Fire when FUN_0075abe0 > 0xf
009f2c10 RichTextIcon::set_icon ? thiscall on an ANM2-based icon (type, id): type 2 = collectible -> stores type at +0x118, loads the item's gfx (ItemConfig::GetCollectible, Manager::LoadImage) into the image slot +0x11c; other types SetAnimation(FUN_009f2b10(type)) + frame by id, "Invalid icon id (%d) for Icon Type %d"; rich_text_parse_icon_tag, rich_text icon render 009f24b0
009f28b0 RichTextIcon::get_size ? thiscall, returns Vector into param_1: type 2 (+0x118) -> collectible image width/height (+0x10/+0x14) scaled to the max height +0x114 (*1.5); else from the current animation frame; rich_text_parse_icon_tag advances the cursor by its x
009f24b0 RichTextIcon::render ? thiscall (pos, type, id, ..): RichTextIcon::set_icon(type,id), type 2 renders the collectible image scaled to the line height +4 (*1.5) with white KColor, else renders the ANM2 frame; rich_text_render cases for inline icons
009f2150 std::vector<RichTextSpan>::_Emplace_reallocate_copy ? vector of 0x40-byte rich-text spans: grows 1.5x (Xlen at 0x3ffffff), copy-constructs the new span (FUN_009f20f0), moves the others with RichTextSpan::move_construct 009f1ef0, returns the new element; rich_text_layout when the line vector is full
009f1f70 std::vector<RichTextSpan>::_Emplace_reallocate ? same as 009f2150 but move-constructs the new 0x40-byte span (009f1ef0); rich_text_layout
009f1ef0 RichTextSpan::move_construct ? dest in EDX, src param: moves a 0x40-byte span = std::string text (+0..+0x17, src reset to empty SSO) followed by 10 dwords (style: color +0x20..+0x2c, scale +0x34, +0x38, +0x3c); used by the two span-vector reallocators and rich_text_layout push
009f1d90 std::vector<RichTextLine>::_Emplace_reallocate ? 16-byte elements = moved 3-dword vector + 1 dword (a line holding its span vector), 1.5x growth (Xlen 0x0fffffff), relocates with FUN_009f2410, destroys old with FUN_009f1cb0; rich_text_layout and its push_back FUN_009f1be0
009efa10 RichText::~RichText ? Font::Unload(this+0x18), deletes the 0x128-byte icon ANM2 at this+0x64 (ANM2::Reset, AnimationState dtors), frees the map at +0x58, destroys strings; called from two owner dtors (0083c4c0, 008d2a30) and an EH unwind funclet
009ef9a0 RichTextSpan::try_merge ? thiscall (other span): when style matches (+0x34 scale, 4 dwords +0x20..+0x2c color, +0x38, +0x3c) appends other's text std::string and returns 1, else 0; rich_text_layout merges adjacent spans with it
009ede60 Menu_Stats::update_stats_screen ? Menu_Stats::Update calls it when _isAchievementScreenVisible == 0 (update_achievements otherwise); polls input actions 0xe/0x16/0x17/0xf via Input::Manager vfunc +0x74, cycles the stats page counter this+0x10 (wraps at 5), opens the achievement screen ("Appear", Achievement_Locked.png) or leaves (FUN_0098aec0)
009ed5a0 Menu_Stats::render_number ? thiscall (value, x, y): shows layer 7 of the StatsMenu ANM2 (this+0x1c) and draws value digit by digit (value/10 loop) with AnimationLayer::RenderFrame on layer 7 of the two digit sprites (+0x4c/+0x6c), "LayerId out of bounds"/"id out of bounds"; Menu_Stats::Render
009ec880 Menu_Stats::LoadGraphics thiscall: ANM2::Load "gfx/ui/main menu/StatsMenu.anm2" into this+0x1c, "gfx/ui/achievement/achievements.anm2" into +0xb48, SecretsMenuComponents.anm2, Icon1Unlocked; MenuManager::LoadGraphics
009ec1d0 Menu_Stats::~Menu_Stats destroys 0x282 x 0x34 entries at +0x1838 (FUN_00420b00), 11 ANM2 at +0xc5c (stride 0x114), ANM2 +0xb48 and +0x1c (the two loaded by Menu_Stats::LoadGraphics); MenuManager dtor 00986f30 and its EH unwind
009ebdc0 std::vector<std::set<int>>::_Resize_reallocate specialised to the global vector DAT_00c798c4..cc of 8-byte std::set<int> (one per seed effect): grows to 0x50 elements, value-constructs the tail (009ebc30), copies the old sets (std_set_uint_copy), destroys/frees the old buffer; Seeds::InitSeedInfo sizes the seed-effect conflict table to 80
009ebce0 std::set<int>::insert_range thiscall set (first, last int*): for each int, _Find_lower_bound (FUN_009ebfd0) and if absent allocates a 0x14 node and std::_Tree::_Insert_node ("max size" check 0xccccccc); Seeds::InitSeedInfo builds sets from int arrays
009ebc30 std::_Uninitialized_value_construct_n<std::set<int>> (dest, n): constructs n empty std::set<int> (0x14-byte head node, isnil 0x101) and returns the end; Seeds::InitSeedInfo and 009ebdc0 grow the 0x50 seed-conflict table
009ebb20 std::set<int>::insert_c798d0 ? std::set<int>::insert specialised to the global set at DAT_00c798d0 (ECX unused): find_node, inserts a 0x14 node when absent, returns {iter,bool}; Seeds::InitSeedInfo inserts seed effects 11,13,16..21,24,25,32,33,38,55,57.. into it
009eba80 std::set<int>::set_copy copy ctor: empty head node (0x14, isnil 0x101) then std_set_uint_copy(src); Seeds::CanAddSeedEffect copies the conflict set DAT_00c798c4[effect]
009e9020 std::vector<3byte>::_Clear_and_reserve vector of 3-byte elements (max 0x55555555): frees the old buffer (FUN_009e84a0) and allocates capacity max(n, 1.5x); Entity_Familiar::RestoreState before memmove-assigning a byte-triple vector
009e8ee0 PngWriter::write_info ? thiscall writer {png_struct* at +0 ...}: setjmp3(png_ptr) guard rethrowing a C++ exception, png_set_IHDR-like FUN_00a63100(w,h,depth,colorType,...) from this[4..10], for palette colour type 3 sets PLTE (this[0xb..0xc], count/3, flag 8) and tRNS (this[0xe..0xf], flag 0x10), then png_write_info FUN_00a63490; called by the PNG writer 009e86e0 (misnamed Entity_Familiar::RestoreState)
009e8d40 PngWriter::write_end ? libpng png_write_end under the writer's setjmp guard: requires the IDAT-written mode bit ("No IDATs written into file"), writes pending text chunks, sets mode 8, writes IEND via the write callback (+0x4c, "Call to NULL write function"); last call of the PNG writer 009e86e0
009e7f30 std::basic_filebuf<char>::~basic_filebuf sets basic_filebuf vftable, restores the get area, flushes (FUN_009e82b0) and fcloses the FILE at +0x4c, then ~basic_streambuf; the screenshot writer's ofstream teardown and other filebuf dtors
009e6eb0 save_screenshot glfw_get_window_size, glReadPixels(0,0,w,h,GL_RGBA,GL_UNSIGNED_BYTE), flips rows, builds "%s%s.png"/"%s%s-%d.png" names and writes the PNG through an ofstream and the PNG writer 009e86e0; Manager::Update after sprintf("%sscreenshots") + CreateDirectoryA on the screenshot key
009e6940 ScoreSheet::find_stage_entry thiscall (stage, stageType, bool): linear search of the 0xc-byte {stage, type, flag} entries at this+0x40..+0x44; ScoreSheet::add_cleared_room and award_fly_kill_points with Game _stage/_stageType
009e6780 ScoreSheet::calculate_room_score ? thiscall ScoreSheet: sums the 0xc-byte {room, isBonus, mult} entries of the vectors +0x68 and +0x5c (the add_cleared_room vector) via FUN_009e69c0(room, 0/1) * mult into +0x24 or a bonus total capped at 2000 (flag +0x88 when reached), adds (+0x78*3 + +0x74)*100 + +0x54, +1000 each for Game +0x2654c flags 0x40/0x80; ScoreSheet::Calculate
009e5ab0 ScoreSheet::add_pickup_points (pickupVariant, subType, pos*): unless Game +0x67744, with SEED_G_FUEL (0x4f) and variant 100 / subtype -1 awards (stage+4)*200, spawns ENTITY_TEXT 9001.2 at pos-(0,8) showing the value, adds it to this+0x50; Entity_Pickup::HandleCollision on pickup
009e5710 ScoreSheet::restore_state (src): copies the ints (+0x38/+0x3c/+0x4c..+0x58, +0x74/+0x78 ..) and the 12-byte vectors (+0x5c, +0x68, +0x7c) back from the saved block; Game::restore_game_state; mirror of 009e54d0
009e54d0 ScoreSheet::store_state (dst): copies the same fields and 12-byte vectors (+0x5c, +0x68, +0x7c) into the saved block; Game::store_game_state; mirror of 009e5710
009e53a0 ScoreSheet::Reset clears the vectors (+0x40, +0x5c, +0x68, +0x7c end=begin) and the score ints, then stores the build id from "J460"/"1"/"9" (cached in DAT_00c5c4dc) at +0x8c; ScoreSheet::ScoreSheet and Game::reset_run_state
009e5000 get_rich_presence_room_status ? returns a status id for the current location: 0 outside a run, 0x19 dimension 2, 0x18/0x1a/0x1b/0x1c for special room flags/ids (-0x14, -0xd, -0xc), else a switch on Room type (+8) (2->9, 3->0xb, ..), challenge 0x1f, greed-mode wave ids 0x20..0x23; NetplayManager::Update caches it at +0x18c0 with stage/greed state and refreshes presence (FUN_009128e0) when it changes
009e3dc0 RebirthSaveData::Clear ? thiscall: zeroes a Rebirth-format save block (achievement byte arrays 0xb3 / 0x15b, 0x5f dwords at +0xec, counters +0x3c4..+0x4a4, flags); PersistentGameData::TryImportRebirthLocalSave before parsing the old save
009e38a0 RailManager::get_closest_rail_point ? (pos, vel, gridIndex, railType, out closest, out dir, out dist(1e16 init), out t, out bool): walks the rail-type segment table DAT_00c37610 (0x44 bytes per type, 8-byte segment endpoints) offset to the grid cell (col*40+40, row*40+120 using room width *ECX+0xc), projecting pos onto each segment; types 7..10 flagged as curves; Entity_NPC::apply_velocity (minecart rail following)
009e27c0 anm2_member_at_1c4_destroy ? EH unwind-only helper: ANM2::Reset + the two AnimationState dtors + two strings of an ANM2 embedded at this+0x1c4; only caller Unwind@00b00cf9
009e0ad0 ProceduralEffect::roll_spawn_target ? (RNG*) with outs in ECX/EDX: 1 in 8 picks a random entity config from the set at Manager +0x2a670 (skipping type 1 and flag +0x44), chance 0.1..1.1; else RNG&3 picks from the item lists FUN_00694f00(2/5/4..) with fixed chances 0.01/1.0/0.02; ProceduralEffect::roll_params kind 2 right after 009e0700
009e0700 ProceduralEffect::roll_trigger_target ? (RNG*) with outs in ECX/EDX: RNG%6 selects a category (2, 9, 5, ..) with chance 0.01/1.0 and, 1 in 3/4, a random entry of FUN_00694f00(category) (0x168-byte records, id at +4); ProceduralEffect::roll_params kind 2 and kind 6 rescale
009e0500 GlitchedItemSet::recalculate ? thiscall: clears the byte-count arrays (+0xc..+0x10, +0x18..+0x1c) and the 6 float stat sums (+0x24..+0x38), then for each negative id in the set at +4 looks up the procedural item ~id in Game +0x67758 and adds its counts and stat floats (+0x14..+0x28); Entity_Player::RestoreGameState and the set add/remove helpers 009e03d0/009e0450
009e0240 GlitchedCollectibleGfx::render_item ? thiscall (id<0, quad, ..): validates ~id against the procedural item vector (this[0..1]), builds a SourceQuad and offsets it to the 32x32 atlas cell ((~id)%32, (~id)/32), renders via image vfunc +0x14 of this[3]; HUD::render_extra_hud and two HUD item renderers
009dcbb0 utf8_string_writer_write ? thiscall writer {pendingContinuation, base, pos, remaining}: appends bytes from param_1 to a std::string converting Latin-1 bytes >= 0x80 into 2-byte UTF-8 (0xc2/0xc3 lead + continuation), 0 -> 1; returns 1 when the remaining budget (+0xc) hits 0; ItemPool::CreateGlitchedCollectible building the glitched name
009db850 Menu_Save::update_sprites ? last step of Menu_Save::Update: AnimationState::Update on the main and 3 slot sprites, scales by selection (*this==1 -> 0.6/0.4), plays "File1Select".."File3Select" + "Animated" for the selected slot and drives the delete-confirmation sprite (+0x584) through DeleteConfirmationAppear/Idle/Dissapear, DeleteDeselect
009da6d0 Menu_Save::Render thiscall Menu_Save (ANM2 at +0x18 as in Menu_Save::LoadGraphics): renders the menu sprite at MenuManager offset (+0x44/+0x48) + this+0x10, shows layer 4, renders each slot drawing at the "Drawing1"/"Drawing2"/"Drawing3" null frames; MenuManager::Render
009d9560 Menu_Save::LoadGraphics ANM2::Load "gfx/ui/main menu/SaveSelectMenu.anm2" into this+0x18 and +0x470, "SaveSelectMenu_Drawing.anm2" for the slot drawings; MenuManager::LoadGraphics between Menu_Title::load_graphics and Menu_Character::LoadGraphics
009d8d50 Menu_Save::~Menu_Save destroys the GenericPrompt ANM2 at +0x6a4 (the one Menu_Save::Update drives), the ConstLobby at +0x698, ANM2s +0x584/+0x470, the 3 slot ANM2s at +0x12c and the main ANM2 at +0x18; MenuManager dtor 00986f30 and EH unwind
009d8af0 std::vector<8byte_0_m1>::_Resize_reallocate 8-byte elements (max 0x1fffffff, 1.5x growth): new tail filled with {0, 0xffffffff}, old elements copied, _Change_array; GameStatePlayer::read when growing a pair vector
009d8960 std::vector<16byte>::_Resize_reallocate 16-byte elements, zero-filled tail, memmove of the old range, FUN_007de290 change-array; GameStatePlayer::read_part3 (same shape as 00a1cea0)
009d8660 std::vector<12byte>::_Emplace_reallocate second instance of the 12-byte insert-reallocate (max 0x15555555, 1.5x, copies the element then both halves around the insert point); GameState::read_record and ScoreSheet::store_state/restore_state (which also call the named 0069ee50 copy)
009d77e0 GameState::write_score_sheet ? (stream*): writes + Checksum::Update the 6 ints this[0..5] and the 12-byte {int, bool, int} vectors this[9..10] and this[6..7] (the block ScoreSheet::store_state 009e54d0 fills), via stream vfunc +0x1c; GameState::write; GameState::read_record 009d71b0 is the matching reader
009d0440 GameStatePlayer::write_block_538 ? (stream*), ECX = GameStatePlayer+0x538 (lea ecx,[esi+0x538] in GameState::write_player): writes ushorts at +0,+4,+8, one byte packing two bools (+0xc -> bit 0 of byte 3, +0xd -> bit 1) and ushorts +0x10..+0x1c, each with Checksum::Update
009d02c0 GameStatePlayer::read_block_538 ? (stream*): reader of the block GameStatePlayer::write_block_538 (009d0440) writes: 3 ushorts -> this[0..2], one byte -> bools +0xc (bit0)/+0xd (bit1), 4 ushorts -> this[4..7], each with Checksum::Update; GameStatePlayer::read_part3 for save versions > 0x7d
009d0100 GameStatePlayer::write_coplayer ? (stream*): writes a co-player record = 8 ushorts (+0..+0xe), ints +0x14/+0x18, ushorts +0x12/+0x10 with Checksum::Update; GameState::write_player loops it over the co-player list and once more for an optional one
009cff40 GameStatePlayer::read_coplayer ? (stream*) -> 1: reader of 009d0100's record (8 ushorts, 2 ints, the last two ushorts only for save version > 0x91); GameStatePlayer::read_part3 after "[warn] Invalid co-player count %d"
009cec80 GameState::write_item_pool ? (stream*), ECX = GameState+0x1e3cc (lea ecx,[esi+0x1e3cc] in GameState::write): writes 0x1f (31 item pools) int vectors (count + ids, stride 0xc) with Checksum::Update, then ints +0x1f0..+0x204 and the bit vector at +0x208/+0x214
009c86e0 GameStatePlayer::read_player_key ? (stream*): reads an int into this[0] (Checksum::Update); if it is 0x80000000 reads int this[1] and ushorts +8/+0xa, else ints this[1] and this[2]; first read of GameState::read_player (before the version < 0x7d branch)
009c85d0 GameState::write_bool_vector ? stream in ECX, bit vector in EDX: writes the ushort bit count (+0xc) then the bits packed 8 per byte, each with Checksum::Update; GameState::write for the bit vector at GameState+0x79a0; reader is 009c84c0
009c84c0 GameStateReader::read_bool_vector ? stream in ECX, std::vector<bool> in EDX: reads a ushort count, vector_bool_resize(max(param,count)), clears all bits, then reads the bits 8 per byte; GameStatePlayer::read_part3 (twice); counterpart of 009c85d0
009c7080 std::vector<PreloadEntry>::_Emplace_reallocate ? 32-byte elements {std::string, KAGE::SmartPointer at +0x18}: 1.5x growth (Xlen 0x7ffffff), copy-constructs the new entry (string + SmartPointer::operator_assign), relocates (FUN_009c7280), destroys old (FUN_007091f0); load_preloads_xml adds a preload entry
009c63a0 LobbyPasswordPrompt::Update ? thiscall (+0x34 prompt, +0x44 open): while the text prompt is open (FUN_00837210/FUN_00837610) reads the confirm action (0xe); in state 8 (+0x144) checks the entered password against the lobby (+0x14c): wrong -> sound 0xbb + "#Online/LOBBY_JOIN_PASS_WRONG_PASS" MessagePopup, right -> join (FUN_0090bf10); NetplayManager::Update
009c61e0 LobbyPasswordPrompt::open ? thiscall (.., lobby shared_ptr): unless already open, clears the password string (+0x134) and state (+0x144), stores the lobby, opens a text prompt titled "#Online/LOBBY_JOIN_PASS_CHECK"; called from the lobby-join handler 008e11b0 (misnamed Level::InitializeGenesisRoom, "lobby_password") and FUN_00912b60
009c6130 GenericPopup::destructor ? ECX = NetplayManager+0x1b38 (NetplayManager::destructor 00906a90 does LEA ECX,[EDI+0x1b38]), the same object NetplayManager::Render 0090b900 passes to GenericPopup::Render (ZHL exact); destroys ANM2 at +0 (Reset, anim states +0x30/+0x50), ConstLobby ref at +0x14c/+0x150 (g_lobbyReleaseFn), strings
009c5eb0 daily_lobby_join_show_error ? ECX = NetplayManager+0x18d8 (NetplayManager::Update); first resets it (009c5df0), then FontDrawParams on Manager+0x4ae74 + MessagePopup::add_ok_button + PopupQueue::push with the translated #Online/LOBBY_JOIN_DAILY_DENIED/FAILED/IN_PROGRESS text NetplayManager::Update passes for state 2/5/3
009c5df0 daily_lobby_join_reset ? ECX = NetplayManager+0x18d8: if its ANM2 (+0xc) is showing (+0x40/+0x50), clears state +0/+4, replaces the lobby shared_ptr at +0x258 with an empty one (g_lobbyReleaseFn) and plays Dissapear (FUN_00837590); NetplayManager::Update before each LOBBY_JOIN_DAILY_* error popup and on input cancel
009c5b00 daily_lobby_join_destructor ? ECX = NetplayManager+0x18d8 (NetplayManager::destructor 00906a90 LEA ECX,[EDI+0x18d8]): releases ConstLobby +0x254/+0x25c, destroys ANM2s at +0x140 and +0xc
009c59a0 std::vector<UserProfile>::_Emplace_reallocate 8-byte elements: constructs KAGE::System::UserProfileBase/UserProfile vftable + impl copy at the insert slot, moves halves (009c5920/009c5a80), max 0x1fffffff; InviteFriendsMenu::load_graphics and Lobby::get_members call it when end == capacity
009c5780 std::list<UserProfile>::destructor ? only an unwind funclet: walks 0x10-byte list nodes, calls the inline element's vfunc 0 (8-byte polymorphic element at node+8, like UserProfile), frees nodes then the 0x10 head
009c51e0 InviteFriendsMenu::Render strings FriendList, Status, #Online/NO_ONLINE_FRIENDS; gated on state *this != 0, uses this+0x24c like the InviteFriendsMenu/MenuDialog layout (ANM2 +4/+0x118); called last in Menu_OnlineLobby::Render 008e8af0
009c3b70 MessagePopup::add_blank_footer twin of MessagePopup::add_ok_button: pushes the same grey spacer line (DAT_00c7b644) and then a text-less, button-less (id -1) 20.0f line via std::vector<48byte>::push_back; Manager::update_controller_popups for the controller-disconnected popup that has no OK button
009c34f0 PopupQueue::Update ECX = popup std::list + KAGE::Mutex at +8 (lock vfunc +0xc), copies the node list then processes each popup; once per frame from Manager::Update right after update_controller_popups
009c3410 Popup::destroy same body as the per-popup delete inlined in PopupQueue::destructor 009c3290 (FUN_009c2d00, clear +0x90..+0xa4, Tidy +0x78/+0x84, release image +0x1c/+0x20, operator_delete); Menu_Game::Update after unlinking a popup node
009c3290 PopupQueue::destructor Manager::destructor: deletes every 0x148-byte popup in the std::list at +0 (under the mutex at +8), frees nodes, destroys KAGE::Mutex (DeleteCriticalSection +0x10)
009c07f0 Popup::get_elapsed_ms (GetTimeNs() / 1000000) - start time at this+0x10/+0x14 (64-bit); PopupManager::close and HUD::update_item_info compare it to popup+0x54 timeout
009c0760 Popup::get_size out Vector = sizes of the two child widgets (vfuncs at +0xc8 and +0xf0, slot +8) times scale +0x40/+0x44; HUD::update_item_info centres the item popup with it
009bfb20 PlayerManager::ReviveCoopPlayer own log string "PlayerManager::ReviveCoopPlayer() recieved invalid player index"; Entity_Player::RevivePlayerGhost on player[idx], its main twin and +0x1e68 twin; coop_join_menu_update
009be2a0 PlayerManager::FirstTrinketOwner matches the Lua PlayerManager.FirstTrinketOwner(trinket, RNG out, LazarusSharedGlobalTag): loops players variant 0, HasTrinket, writes the player's trinket RNG (+0x177c 16-byte entries, "Trinket ID out of bounds!") to *param_2; with param_3 and the trinket's config flag bit 31 also checks _backupPlayer (GetTrinketRNG); Entity_Pickup::HandleCollision (trinket 13)
009bd3b0 PlayerManager::spawn_coop_baby_for_join ? PlayerManager::handle_coop_join: SpawnCoPlayerBaby, PlayExtraAnimation "Appear", SetControllerIndex, find_safe_spawn_position near player 0, sets hearts ("Co-player wants %d HP"), reassigns familiars (Entity_Familiar::set_player), copies collectibles/actives/trinkets from player 0
009bd150 PlayerManager::store_game_state Game::store_game_state: for each non-coop-baby player Entity_Player::StoreGameState into state+0x19d7c (0x5dc each), count at +0x19d78, also twin +0x1e6c; "Number of players exceeds supported player limit (%d)!"
009bd010 PlayerManager::RestoreGameState_PostLevelInit REPENTOGON name; Game::restore_game_state calls it right after Level::RestoreGameState: spawn_dark_esau per stored player, resets the slot arrays, HUD::AssignPlayerHUDs, InvalidateCraftingItem
009bcaa0 PlayerManager::RestoreGameState REPENTOGON name; Game::restore_game_state calls it right before Level::RestoreGameState: Entity_Player::RestoreGameState for each of state+0x19d78 players from state+0x19d7c, then per-character fixups (switch on player type)
009bc120 PlayerManager::trigger_coop_baby_death Entity_Player::TriggerDeath for variant 1 (co-op baby): if variant 0 ends the game (Game::End, event counter 10, music 0x5d), else RemoveCoPlayer and spawns effect 1000.15 poof
009bb960 PlayerManager::trigger_level_start ? Level::RestoreGameState: Entity_Player::level_start(0) for every player, FUN_0062b360 on each familiar (type 3) in the room list, clears Game+0x676b0
009ba8f0 PlayerManager::remove_coplayers_without_device Game::rewind: when Manager+0x4b3d8 list non-empty, walks players backward and RemoveCoPlayer for main players whose InputManager::GetDeviceByPlayerEntity is null
009b8f40 PlayerManager::init_main_player ? creates player 0 if the list is empty (operator_new 0x2f00, Entity_Player::constructor), Init vfunc (1,0,playerType,..), pos (320,400), EntityList::AddEntity; resets slot arrays and HUD::AssignPlayerHUDs; callers Game::restore_game_state, 006f6500, 0042a4d0
009b7f90 PauseScreen::update_stuff_arrows toggles "StuffArrow1"/"StuffArrow2" layers of the pause sprite (+0x140 or +0x2c by mode this+4, same pattern as PauseScreen::Render) from the scroll index +0x24 vs the player's (+0xfac) collectible history count; netplay_lobby_menu_update
009b7190 PauseScreen::Render Game::Render calls it when _pauseScreen.state != 0; layers "Menu Title", "SeedPaper", CompletionWidget, sprite at +0x140/+0x2c by mode (this+4)
009b52a0 Menu_Options::reload ? MenuManager::SetState for states 10 and 0x14 (options menus) and PauseScreen::Update: sets dirty flags +0x24c..+0x254, swaps state 1/2 by netplay, Menu_Options::load_graphics, stores language Manager+0x4a920 at +0x278
009b5020 Menu_Options::render_counter Menu_Options::Render: draws an integer digit by digit (11 px per digit, 6 px gap) with the counter ANM2 at +0x138 (+0x168 anim state, SetFrameFloat per digit), sign handling
009b22a0 Menu_Options::load_menu_anm2 ANM2::Load "gfx/ui/main menu/OptionsMenu.anm2" into this+0x24 (Menu_Options::constructor ANM2 slot); MenuManager::LoadGraphics and 009b7a20
009b1a00 LevelGenerator::block_unused_door_cells ECX = LevelGenerator (Level::generate_boss_room MOV ECX,EBX=param_1): for each of 8 doors not set in mask param_2, get_door_target_position of the room shape and marks that 13x13 cell in the blocked grid this+0x2b8
009b1950 LevelGenerator::block_cells_near_rooms ? marks every 13x13 cell of this+0x2b8 blocked when it or a 4-neighbour (offset table DAT_00c35e9c) is occupied in the other layout's grid param_1+0x14; Level::try_place_random_room
009b1860 LevelGenerator::block_room_area for each cell of the room's shape (get_room_placement_offsets) plus its 4 neighbours, sets blocked grid this+0x2b8; Level::place_special_rooms
009b04d0 LevelGenerator::generate_rooms the main layout loop called by LevelGenerator::Generate: place_room(startRoom) then grows rooms; strings "%d rooms in %d loops", "[LevelGenerator] fail %d/%d in %d loops"
009ae170 LevelGenerator::place_secret_room Level::place_special_rooms calls it once per secret room (1 + Fragmented Card 0x66 + Luna 0x24d): scores each empty cell by adjacent rooms (-100 next to a room's dead door), picks a best cell via the generator RNG, places a 1x1 LevelGenerator_Room and update_room_neighbors on it and its neighbours
009addf0 LevelGenerator::try_add_dead_end ? scans get_neighbor_candidates of every room for a 1x1 can_place_room spot with count_neighbor_rooms == 1 not in the excluded set, place_room + update_dead_end_lists; Level::place_special_rooms
009ad800 std::vector<68byte>::assign range assign for 0x44-byte elements (string members, max 0x3c3c3c3); load_giantbook_xml
009ad5e0 std::vector<68byte>::_Emplace_reallocate 0x44-byte elements, max 0x3c3c3c3, constructs via FUN_009ad580; load_giantbook_xml
009acfe0 ItemOverlay::Render ECX = Game+0x1c034 (Game::Render LEA ECX,[EDI+0x1c034], structs.hpp _itemOverlay); REPENTOGON ItemOverlay::Render; overlay id this+4 (0x2d special full-screen tint), ANM2 at +8 / +0x11a4
009abbd0 reload_resource_paths ? Manager::validate_language and IsaacStartup: rebuilds the resources mount list (FUN_009ab970 "resources"), the archive vector DAT_00c379e8 and g_mountPrefixes from FileSystem::GetMountPrefixes
009a9250 delete_directory_recursive ECX = path; FindFirstFileA/FindNextFileA, DeleteFileA files, recurses into subdirectories then RemoveDirectoryA; SetupSaveDirectories on "%s/mods/"
009a90e0 move_directory_files FindFirstFileA on "%s*", skips "."/"..", MoveFileExA(..., MOVEFILE_WRITE_THROUGH 8) each file; SetupSaveDirectories for online_logs
009a8500 PlayerHUD::make_ref Entity_Player::Update: operator_new 0x6dc + PlayerHUD constructor FUN_006efc70, wraps it in ReferenceCount<IsaacRepentancePlus::PlayerHUD> (0x18 bytes) into a smart pointer out param
009a8430 HUD::count_player_huds counts non-null entries in the 8 PlayerHUD slots (stride 0x1b7 dwords = 0x6dc); HUD::GetPlayerHUDLayout
009a8230 HUD::update_hud_offset recomputes the HUD corner offsets +0x5934..+0x5998 from 1 - Manager+0x2a388 (Options HUD offset) times 12/14/16/20/22/24; HUD::Render
009a7c90 HUD::render_boss_health_bar ? last call of HUD::Render: centred (screen-148)/2 bar 110 px * fill +0x5490, top/bottom by +0x5998, sprites +0x54a0/+0x54a8, skips Home (stage 0x23) room; optional "%d/%d" counter from shorts +0x54b8/+0x54ba
009a6a70 HUD::render_streak_texts ? HUD::Render: per-player text slots (FUN_00840e10 set position, 35 px rows from screen top/bottom 48), player colours via PlayerManager::GetPlayerColorValue, flag this+0xf39*4
009a27d0 HUD::unload_graphics counterpart of HUD::LoadGraphics: Font::Unload +0x36e0/+0x372c, ANM2::Reset of all HUD sprites, render targets reset, 6x and 4x text slot arrays; Menu_Options::Update (language/option reload)
009a1680 std::vector<HomingLaser_Bezier>::insert 0x18-byte element insert at position (shift up), falls back to vector_LaserSample_emplace_reallocate when full; HomingLaser::build_bezier_path
009a1520 HomingLaser::truncate_samples walks _samples (+0x1c/+0x20, Vector) accumulating segment length; cuts the path at max length (XMM1 arg) with an interpolated end point; Entity_Laser::update_laser
009a0c50 HomingLaser::truncate_samples_at_obstacle ? per segment Entity_Laser::CalculateEndPoint(start, dir, param_1, 0, 20.0f) and cuts _samples at the first blocked segment; Entity_Laser::update_laser
009a0740 HomingLaser::truncate_samples_at_player from sample 2 on, cuts _samples at the first point within 10 px (dist^2 < 100) of any player; Entity_Laser::update_laser
0099dca0 HomingLaser::compute_axis_bezier_handles ? sets the control points of every _bezier (+0x48, 0x18 stride) entry snapped to the dominant axis (+-1,0)/(0,+-1) at half the segment length; HomingLaser::build_bezier_path after pushing segments
00998800 netplay_player_list_destructor ? only an unwind funclet; destroys vector of 0x38-byte string entries (FUN_008cb2e0, the Game::~Game call before ANM2 Game+0x1d528) then ANM2 at +8: the Game+0x1d520 online overlay object
00998300 std::vector<20byte>::_Resize_reallocate grow to param_1 elements of 0x14 bytes filled from param_2 (FUN_009981d0), max 0xccccccc; FXLayers::LoadConfig and std::vector<20byte>::resize 00997510
00998270 std::map<std::string_int>::lower_bound lower bound by string_compare on the global map head DAT_00c94320; FXLayers::LoadConfig looks up the layer type names (foreground/background/behind/lighting/underwater/overlay -> 1..6)
00997ef0 FXLayer::copy_constructor copies a 0x4c-byte _fxLayers element: dword +0, KAGE::SmartPointer +4, vector at +0xc..; used by std::vector<FXLayer>::_Emplace_reallocate 00997be0 and FXLayers::LoadConfig
00997be0 std::vector<FXLayer>::_Emplace_reallocate 0x4c-byte elements (max 0x35e50d7), element copy via 00997ef0; FXLayers::LoadConfig (_fxLayers +0x18)
009979e0 std::vector<20byte>::_Emplace_reallocate 0x14-byte elements, max 0xccccccc; FXLayers::LoadConfig
00997800 std::vector<44byte>::_Emplace_reallocate 0x2c-byte elements (max 0x5d1745d), copy via 00997700, destroy via 009975c0; FXLayers::LoadConfig (layer-group vector +0x24)
00997700 FXLayerGroup::copy_constructor ? EDX = dest: copies 7 dwords and the vector<20byte> at +0x1c of a 0x2c-byte FXLayers group element; FXLayers::LoadConfig, std::vector<44byte>::_Emplace_reallocate
009975c0 std::vector<20byte>::_Tidy destroys 0x14-byte elements (FUN_00997e70) and frees; FXLayers::clear and the 44-byte group helpers
00997510 std::vector<20byte>::resize shrink sets end, grow fills (FUN_009981d0) or reallocates (00998300); Game::start_poop_cloud_screen_effect
00997490 std::vector<FXLayer>::_Tidy destroys 0x4c-byte elements (FUN_00997de0) and frees; FXLayers::destructor 0098f8c0
00997410 std::vector<44byte>::_Tidy destroys each 0x2c-byte group (inner vector<20byte>::_Tidy) and frees; FXLayers::destructor 0098f8c0
00996e90 FXLayers::update_vein_branch recursive over a vein node tree (3 child pointers +4/+8/+0xc, depth +0x24): fades alpha +0x1c by 0.05 toward 1 depending on which side of the node's angle the point this+0x4f0/+0x4f4 lies; called from FXLayers::Update (00993a70)
00996b30 FXLayers::grow_vein_branches recursive (depth > 4 stops): uses the vein ANM2 null frames (this+0x2f8 + idx*0x114), RNG, creates child nodes with 0.75x length; FXLayers::LoadConfig
009968b0 FXLayers::render_vein_branch recursive: sets scale/rotation/colour of vein ANM2[idx] (this+0x364 + idx*0x114, FXLayers._veinANM2) from the node then renders it and children; FXLayers::render_veins
00995e00 FXLayers::render_overlay_layers Room::Render: for each _fxLayers entry (+0x18, 0x4c) with type +0x2c == 6 ("overlay" in LoadConfig's type map) BlendMode::SetMode + FXLayers::render_layer, restores the global blend mode
00995af0 FXLayers::render_underwater_layers Room::render_water: layers with type 5 ("underwater"), gated on +8 _loaded
009947b0 FXLayers::render_background_layers Room::Render: layers with type 2 ("background") via BlendMode::SetMode + FXLayers::render_layer
00994670 FXLayers::render_behind_layers Room::Render: layers with type 3 ("behind") via BlendMode::SetMode + FXLayers::render_layer
00994120 FXLayers::render_layer (layer index) the shared draw of one _fxLayers entry ("WrapSize" null frame); callers FXLayers::Render (type 1) and the type 2/3/6 render passes
009937b0 FXParams::operator_assign member-wise copy of the 0xa0-byte FXParams (0x28 dwords); FXLayers::clear and LoadConfig assign a fresh FXParams::FXParams() to this
0098f8c0 FXLayers::destructor destroys ANM2[2] at +0x2c8 (stride 0x114), string +0x44, image +0x3c/+0x40, then std::vector<44byte> and std::vector<FXLayer> (_Tidy 00997410/00997490)
0098e170 Minimap::render_icons Minimap::Render (twice, large and small map): "icons"/"curses" layers; item icons for The Mind 0x14d, Compass 0x15, Blue Map 0xf6, Treasure Map 0x36, 0x178 via FirstCollectibleOwner; curses = (Game+0xc | +0x26550 | Seeds::GetForcedCurses) & ~GetPreventedCurses
0098af10 MenuManager::scroll_options_menu ? "Unknown options menu specified"; options menu 10 (MenuManager+0xf758) or 0x14 (+0xf7a8): sets the base y, shifts +0xf708+menu*8 by 20 px per row past 3, marks dirty +0xc; Menu_Options::Update
00988ba0 MenuManager::unload_graphics ANM2::Reset of every MenuManager sprite (g_menuManager+0x1dc .. +0xe650) and sub-menu unloads; Menu_Options::Update (language reload), counterpart of MenuManager::LoadGraphics
00987360 create_menu_colormod_surface creates the 1x1 "Menu Colormod Surface" render target into DAT_00c798b0 if missing (KAGE_Graphics::create_render_target); MenuManager::constructor, 00954150
009832b0 std::vector<std::string>::erase erase one 0x18-byte std::string at param_2 by shifting the rest down; Menu_Game::PreRenderContinueImg
00983190 Menu_Game::on_online_connect_result ? Menu_Game::Update callback: closes popup id param_2+0x240 (PopupManager::close); result 0 -> MenuManager::push_menu(0x13 online menu), else OK popup "##PLATFORM###NOT_CONNECTED_TO_SERVER"
00981c80 Menu_Game::Render MenuManager::Render between Menu_Character::Render and Menu_SpecialSeeds::Render; layers ModsButton/Guide, "Dissapear"
00980eb0 Menu_Game::LoadGraphics MenuManager::LoadGraphics: ANM2::Load gfx/ui/main menu/GameMenu.anm2 at +0x10 and ContinueProgress_Widget.anm2 at +0x124
00980b40 Menu_Game::destructor destroys the same ANM2s Menu_Game::LoadGraphics loads (+0x124, +0x10) and render target +0x238; MenuManager destructor 00986f30
009805b0 std::set<int>::insert tree lower-bound on int key, returns {node, inserted}; Entity_Laser::find_nearest_grid_hit collects hit grid indices
00971590 Entity_Laser::damage_grid_entity (grid index): grid collision class not 0/1 and 1/4 Random(): ORs player GetTearHitParams tear flags, grid vfunc +0x14 hurt with EntityRef(laser), Room::TryMakeBridge for rock breaking, else vfunc +0x10; Entity_Laser::find_nearest_grid_hit
0096cd20 Entity_Laser::destructor sets Entity_Laser::vftable, erases three multiset refs, destroys arrays/vectors; only caller Entity_Laser::Free
00968660 Entity_Knife::drain_notched_axe Entity_Knife::UpdateSwingHits: when the swing hits a rock grid (+0x28 == 8) AddActiveCharge(-param_1) on active 0x93 (Notched Axe) slot, DischargeActiveItem when empty, TemporaryEffects::RemoveCollectibleEffect(0x93)
00967d20 Entity_Knife::screen_wrap up to 4 Room::ScreenWrapPositionImpl passes on _pos (+0x33c/+0x340, margin -100); Entity_Knife::Update when the tear flags include the wrap flag (Continuum)
0095c520 std::vector<ChallengeParams>::_Resize_reallocate 0xa4-byte ChallengeParams, grows to 0x2e (46) default-constructed entries; challenges_xml_load
0095c4b0 std::vector<ChallengeParams>::_Udefault default-constructs n ChallengeParams (0xa4 stride) at param_1; challenges_xml_load
0095c050 ChallengeParams::copy_constructor copies string, std::set (std_set_uint_copy +0x18), std::vector<int> (+0x20) and the rest of a ChallengeParams; challenges_xml_load and the vector helpers 0095bed0/0095c3b0
0095bed0 std::vector<ChallengeParams>::_Emplace_reallocate 0xa4-byte elements (max 0x18f9c18), copy via ChallengeParams::copy_constructor; challenges_xml_load
0095b180 Manager::apply_device_key_config ? InputManager::get_device(param_1), looks up the device name in the saved list Manager+0x4abd8 and applies that mapping (FUN_00835ba0) else defaults (FUN_00836370); Menu_KeyConfig::Update
0095ad30 Manager::render_button_sprite ? renders Manager's shared button ANM2 (+0x4ac14 anim, scale +0x4ac80 = 1) at (param_2,param_3); GameOver::RenderItemSprite at the "PlayerNextRightButton" null frame
0095aa30 unlock_completion_mark_for_player_type ? PlayerManager::unlock_completion_mark (non-netplay path): table DAT_00c35ed0 (0x29 player types x 0x90), entry param_1*8 = {event counter, achievement}; PersistentGameData::TryUnlock / IncreaseEventCounter, hard/greedier (difficulty 1/3) variants
0095a4a0 Game::end_save_progress ? Game::End: netplay end report (FUN_0090cd10, Manager+0x4cc98 = 0x25), then unless Seeds::AchievementUnlocksDisallowed "Setting PersistentGameData ReadOnly to %s" False and saves
00959d00 Manager::start_pending_menu ? Manager::Update when +0x4b288 set: netplay teardown (NetplayManager::reset, netplay_leave_lobby), Manager::unload_state, online_session_reset, state 1, creates/Inits g_menuManager (0xf930) and MenuManager::SetState(+0x4b28c)
00959720 Manager::start_pending_game ? Manager::Update when +0x4b130 set (and netplay ready): Manager::unload_state then creates g_game (operator_new Game) and starts the run
00959670 Manager::unload_state state +8 == 1: MenuManager destructor + delete g_menuManager; == 2: Game::Exit, resets SFX volume modifier; then TextureCache::Purge; Manager::Update and the two start_pending helpers
00958c40 daily_challenge_refresh DailyChallenge::Init(Manager+0x4b1c0, date from get_server_time 00958bc0); Menu_OnlineLobby::Update when the daily id changed, daily menus 008cf610/008d0ea0
00958bc0 get_server_time Steam ISteamUtils (SteamInternal_ContextInit vfunc +0xc, GetServerRealTime) or 1, _gmtime64 into a tm-like struct, hour -10; daily challenge date
009584b0 ChallengeParams::operator_assign_move move-assign: steals strings/trees/vectors field by field from param (resets source SSO to 0/0xf); challenges_xml_load calls it on a fresh ChallengeParams::ChallengeParams() before FUN_004269f0 destroys the temp
009563b0 is_any_player_restart_held ? returns bool: for each main player gets its input device (NetInputDevice via RTDynamicCast for netplay) and tests action 0x12 (vtable +0x30 / input vtable +0x74 FUN_00a20940); Manager::update_ingame_input uses the result to drive the hold-to-restart counter (+0x26d8/+0x26dc, Player_stats_add 8)
009548d0 Manager::update_hotkeys ECX=Manager (from Manager::Update): action 0x11 toggles +0x2a2e4 (mute: saves volume +0x2a354), syncs OptionsConfig::set_fullscreen with the window style and toggles it on action 0x10, plus a key combo (0x156+0x123 on stats menu 9) that re-reads Steam achievements 1..0x281
00954690 pause_screen_unload_sprites ? no ECX: when g_game, ANM2::Reset on Game+0x23aa0..+0x246c4 (inside PauseScreen at Game+0x23a74) and clears +0x24020; Menu_Options::Update when mods changed (in_ECX[0x96]), next to MenuManager reload FUN_00988ba0
00953f10 Manager::unload_configs ? on g_manager: frees the 27 CutsceneEntry clip lists of Cutscene (Manager+0x20dd0), destroys the Theora clip +0x215e0, clears NightmareScene (+0x21628) vectors, resets ANM2 +0x21870/+0x219d0 and the ChallengeParams vector +0x2a664; Menu_Options::Update right after ModManager::LoadShaders on mod reload
009502c0 Menu_Collection::reset ECX=MenuManager+0x27b8 (_menuCollection per db/fields) from MenuManager::LoadGraphics: zeroes +4, sets the sprite +0x14 to Idle (Rewind, +0x58=1), "Diary" anim handling
0094e800 Menu_Collection::destructor ECX=MenuManager+0x27b8 in MenuManager destructor 00986f30: frees the 0x2dd vector +0x250, image +0x240, ANM2 +0x128 and +0x14
0094e720 std::vector<Vector>::_Resize_reallocate 8-byte elements (max 0x1fffffff), grows x1.5, fills new slots with *param_2; Menu_Character::Reset resizes the +0xc38 vector
0094e670 std::vector<float>::_Resize_reallocate 4-byte elements (max 0x3fffffff), fills with param (FUN_007de420 uninitialized_fill_n); Menu_Character::Reset resizes the per-character float vector to _numCharacters
0094e550 std::vector<16byte>::_Resize_reallocate global vector DAT_00c94178..80 of 16-byte entries (portrait render list); Menu_Character::render_portraits
0094e3d0 std::vector<8byte>::_Emplace_reallocate_global ? global vector DAT_00c79884..8c (8-byte {id,float} character entries); Menu_Character::Reset pushes {entry[0], entry[0x49]} for each unlocked character
0094de50 Menu_Character::SelectRandomChar REPENTOGON name; called from Menu_Character::handle_input, builds a list of unlocked characters from the menu table DAT_00b24144 (+0xdb4 tainted page, Manager+0x2a678 PlayerConfig 0x148 stride, achievement check +0x4c) and logs "random: %s"
0094d040 Menu_Character::submit_seed copies the typed seed string +0xd64, Seeds::GetSeedEffect / String2Seed, plays sound 8, Seeds::SetStartSeed, MenuManager seeds flag +0x178; "Seed %d added to SaveState", "SeedMenu"; Menu_Character::handle_input
0094c4e0 Menu_Character::seed_add_char upper-cases the char, accepts A-Z and digits except 5, inserts a space after 4 chars (+0xd74 == 4), maps I->1, O->0, U->V, std::string::push_back; Menu_Character::handle_input
0094bbd0 Menu_Character::render_wheel ? Menu_Character::Render: draws the character sprite +0x40 (modded character via FUN_008f8d00 when +0x10 >= 0x12), Menu_Character::render_portraits unless param_2, the #EDEN_TOKENS_COUNT text, then more AnimationState renders
00947070 Menu_Character::destructor ECX=MenuManager+0x1534 (_menuCharacter) in MenuManager destructor 00986f30: releases render target +0xfe0, ANM2s +0xecc/+0xdb8/+0xc50/+0xb20/+0xa04..., strings, vectors
00946e70 Menu_Character::constructor MenuManager::constructor calls it with ECX=this+0x1534 (_menuCharacter per db/fields.tsv): ANM2::constructor at +0x40,+0x154,...,+0xc50, strings +0xd64.. (seed buffer)
00946d50 portrait_list_sort ? recursive quicksort over the global 16-byte entry vector DAT_00c94178 by the float at +8 (EDX=lo, param=hi); Menu_Character::render_portraits (depth sort)
00946b80 Menu_Challenge::reset ECX=MenuManager+0x2688 (_menuChallenge) from MenuManager::LoadGraphics/SetState: sprite +0x14 to Idle, selection +4 = last challenge (Manager+0x4b0e0) when coming from state 0x15, then advances to the next unlocked challenge 1..0x2d (DAT_00b7b0b0 achievement table)
00945e50 Menu_Challenge::Update ECX=MenuManager+0x2688 (_menuChallenge) from MenuManager::Update
00945db0 Menu_Challenge::destructor ECX=MenuManager+0x2688 in MenuManager destructor 00986f30: releases image +0x128, ANM2 +0x14
00945080 CircularBuffer<Vector>::constructor ? ECX={buf,capacity,head,count}: allocates param*8 bytes zeroed; Camera::constructor builds six of them (capacity 60, 90, 300, 15, 4, 120) at +0..+0x50
00942f20 Camera::get_enemy_focus_offset returns Vector: for visible active enemies (type>=10, vfunc +0x48) in the room entity list (+0x68 -> +0x125c/+0x1264) within 550 of players_center_position, sums 0.4*offset*falloff (weight 0.6 if vfunc +0x4c); Camera::update_focus_position
00942710 std::vector<36byte>::_Insert_range inserts [param_2,param_3) of 0x24-byte elements at param_1 (max 0x71c71c7, ICF FileSymbolInfo helpers); Backdrop::render_floor_to_target
0093f000 Backdrop::render_floor_surface ? ECX=Room+0x1bc8 (Backdrop) from Room::Render right after Backdrop::RenderFloor when a room flag is set: draws the render target +0x10 as a quad sized from +0x4f18..+0x4f24 (+52 margins) at the render offset with blend state saved/restored
0093e770 Backdrop::render_wall_borders ? Backdrop::RenderWalls: draws black (0,0,0,1) uniform-color quads from the room edges to the screen edges, adjusted by room shape (+0x48: 2/7 +-52, 3/5 +-104)
0093b620 Backdrop::spawn_detail_effects ? Backdrop::spawn_wall_details: for each null layer of the sprite at +0x30 spawns EFFECT 1000.121 at the null's position /0.65 (mirrored by flipX/flipY) and copies the null's color/frame
0093b580 backdrop_wall_normal ECX=out Vector, EDX=vertical flag, (flipA,flipB): returns (+-1,0) or (0,+-1); every wall detail case in Backdrop::spawn_wall_details calls it before FUN_0093b530
0093b480 backdrop_detail_to_world_pos ECX=out, EDX=in: room top-left (Room +0x14/+0x18) - 80 + pos/0.65, shifted for room shapes 2/7 (y-80) and 3/5 (x-160); Backdrop::spawn_wall_details
00935270 Backdrop::get_random_floor_variant ? this=Backdrop: picks RNG(+0x4f28)::RandomInt(config[+0x150].count +0x1c0) with special cases for backdrop ids 0x21/0x28/0x2d/0x2e/0x2f/0x3b (room flag 0x1000); Backdrop::render_ashpit_ash
00935010 Backdrop::render_control_icon ? Backdrop::PreRenderControls: (actionId, flag, controllerIdx, Vector* ...) InputManager::get_device, "ActionId is out of range", picks the button frame of the controls sprite ("AnimationData is NULL", "LayerId out of bounds")
00934600 BackdropConfig::copy_constructor copies a 0x13c-byte backdrops.xml entry (id, 4 strings, 4 ints + bool, 7 more strings, 2 bools); Backdrop::pre_render_walls
00934430 BackdropConfig::operator_assign copy-assign of the same 0x13c-byte entry (std::string::assign per field); Backdrop::LoadConfig
00932570 Backdrop::destructor ECX=Room+0x1bc8 in the Room destructor 007e9ba0: resets render targets, ANM2s +0x5164/+0x5050/+0x4f3c/+0x3c, the 0x3f BackdropConfig array +0x154 (stride 0x13c)
00932120 Backdrop::render_grid_rect ? renders a white uniform-color quad for grid rect (x,y,w,h)*26 offset by Backdrop+0x4f1c; Backdrop::render_floor_to_target
00932090 grid_rect_to_quad fills a quad (4 corners) from grid rect (x,y,w,h) * 26 and sets byte +0x20; Backdrop::render_floor_to_target
00931de0 BackdropConfig::constructor zeroes the strings (size 0, cap 0xf) and fields of one 0x13c-byte backdrop entry; Backdrop::LoadConfig before parsing each node
00931ba0 AchievementOverlay::Update REPENTOGON AchievementOverlay::Update; ECX=Manager+0x21c1c, status +0x1c (1 slide in, 2 still for 0x5a frames or MENUCONFIRM, 3 "Dissapear"), plays sound 8, "No sprite for achievement %d (%s)"; Manager::Update and Manager::queue_achievement_popup
00931670 AchievementOverlay::load_xml ECX=Manager+0x21c1c from Manager::load_configs: parses achievements.xml ("achievements"/"achievement", gfx/name strings into 0x34-byte entries)
00931550 AchievementOverlay::load_graphics ECX=Manager+0x21c1c from Manager::load_configs and FUN_00954710: ANM2::Load "gfx/ui/achievement/Achievements.anm2" into +0x20
00930160 StageTransition::get_fade_progress ECX=Game+0x1ba78 (StageTransition): returns t/duration (+4/+8) in state 2, 1 - that in state 3, else -1.0; Game::Render
0092ffc0 StageTransition::Render ECX=Game+0x1ba78 from Game::Render: computes the fade alpha from state/timer, white in Mega Satan style flag, draws the fullscreen fade quad, render_color_shader_pass in states 2/3
0092ee40 std::vector<SoundEffect>::_Resize_reallocate 0x1b8-byte elements, grows to 0x443 (1091 sounds) via _Uninitialized_value_construct_n FUN_0092edc0; SFXManager::load_xml
0092edc0 std::_Uninitialized_value_construct_n<SoundEffect> constructs N 0x1b8-byte entries (FUN_0092cea0), destroys the range on throw; SFXManager::load_xml
0092ea80 std::_Destroy_range<SoundEffect> ECX..EDX of 0x1b8-byte entries: string +0 and 7 x 0x38 sample sub-entries (FUN_0092cf10); SFXManager::load_xml
0092e900 std::vector<SoundEffect>::_Emplace_reallocate 0x1b8-byte elements (max 0x94f209), move-constructs the new one with FUN_0092e830; SFXManager::load_xml
0092e830 SoundEffect::move_constructor EDX=dest: copies id/count, 7 x 0x38 samples, flags, and moves the std::string at +0x1a0; used by the vector<SoundEffect> reallocators
0092e750 std::vector<SoundEffect>::_Tidy destroys 0x1b8-byte elements (FUN_0092ea80) and frees the buffer; Manager::destructor
0092b930 PersistentGameData::import_afterbirth_save ? only caller PersistentGameData::TryImportABLocalSave (result to this+0x3e3): AfterbirthPersistentGameData::check_header on the stream, PersistentGameData::Clear, copies achievements/counters/etc from the AB+ layout
0092b270 PersistentGameData::set_run_mask ? ECX=PersistentGameData: stores two dwords at +0x5ac/+0xa7c, counts set bits 0..0x28 across them and TryUnlock(0x143) when more than 4, sets byte +0; Manager::RestartGame calls it with (0,0)
009293d0 PersistentGameData::write_file ECX=PersistentGameData (+4 file): SaveDataManager::open_file_write(path), "Could not open %s for writing!", flock, PersistentGameData::write, close; Manager::BackupSaveFile
009261a0 PersistentGameData::copy_constructor ? inits strings +8/+0x20, PersistentGameData_Bestiary::constructor at +0xf64, then copies from param (FUN_00929010); Menu_Save::load_slot_data on g_manager->_persistentGameData
00925e30 file_copy_to_save_data (src, dst) -> bool: FileSystem::Open + read all, SaveDataManager::open_file_write(dst) + write; Manager::Init copies options.ini from older Isaac install dirs
00925ce0 OptionsConfig::set_vsync ECX=OptionsConfig: stores +0x67, warns "Display Hz: %d, Target: 60.. disabling vsync", toggles g_graphicsManager_flags 0x200; OptionsConfig::Load ("VSync") and the Lua Options.VSync setter 00896ff0
00924180 OptionsConfig::load_config_ini ECX=Manager+0x2a33c (OptionsConfig) from Manager::Init: defaults the shader toggles to 1 then reads config.ini EnableBloom/Caustics/ColorCorrection/ColorModifier/Filter/Interpolation/Lighting/Pixelation/Shockwave/WaterSurface
00923d90 std::deque<36byte>::_Tidy destroys 0x24-byte elements (string inside) and the block map; NetplayManager destructor 00906a90 and 00923800
00923800 NetplayTextPopup::destructor ? Unwind-only: ANM2::Reset +0x14, two AnimationStates, strings, then deque _Tidy 00923d90 on +0; same layout as the TextIn/TextOut popup NetplayManager::update_text_popup drives
009236c0 std::deque<32byte>::_Growmap deque block map grow (x2, min 8) for 0x20-byte elements; NightmareScene::Show via 00923550
00923600 std::deque<32byte>::_Tidy destroys {std::string,8 bytes} elements and frees the map; NightmareScene::Show and 00950f10
00923550 std::deque<32byte>::push_back ECX=NightmareScene+0x4c0: move-pushes a {std::string, u64} element (block 0x20); NightmareScene::Show
00923320 NightmareScene::record_stage ECX=Manager+0x21628 (NightmareScene) from Level::SetStage: maps (stage, stageType) incl. greed mode (Game+0x269c8 2/3) to a stage-bar icon index stored at +0x36c+chapter*4, sets +0x5e8/+0x3a0 for stage 13
00920510 NightmareScene::Update ECX=Manager+0x21628 from Manager::Update: Dream Catcher (566) / MENUCONFIRM skip, "Dogma"/"Interrupt"/"Scene" anims, AnimationState updates
0091f9a0 std::map<unsigned_long_long_bool>::erase erases a 64-bit key (equal_range then _Extract, node 0x20) from OnlineChat+0x620 (mute map); online_chat_update "/unmute"
0091ee00 OnlineChat::is_key_repeating ECX=OnlineChat state: key code param, held counter at +0x68+key*4; true on press or every 3rd frame after 30 held; online_chat_text_input
0091ec60 OnlineChat::add_message ? from 0091e980: builds a chat line (0091cec0 with UserProfile::find_or_create + load_steam_avatar), FormattedText of DAT_00c93050, stamps GetTimeNs ms at +0x60 and alpha 1.0 at +0x58
0091e7c0 OnlineChat::broadcast_message sends local Steam id (8 bytes), u16 length and the text via NetConnection/NetplayManager::send_message; online_chat_update when +0x1c set
0091e650 OnlineChat::render_all ECX=NetplayManager+0x1230 from NetplayManager::Render and Menu_OnlineLobby::Render: renders the input line then each message via OnlineChat::render
0091db20 OnlineChat::destructor ECX=NetplayManager+0x1230 in NetplayManager destructor 00906a90: erases map +0x620, vector, UserProfile +0x28, string, frees message list (node 0x48)
0091cec0 OnlineChatMessage::constructor ? {0, KAGE::System::UserProfile (find_or_create + load_steam_avatar), byte, 7 zeroed dwords}; OnlineChat::add_message and NetplayManager constructor 00906260 (at +0x24)
0091ca00 online_vote_get_local_choice ? looks up the local user (g_userProfile id) in the vote map DAT_00c7987c and returns its value; Manager::update_state_loading sets Manager+0x4aba0 = (value == 2)
0091c7e0 online_vote_start ? when DAT_00bf9438 == 1: online_session_reset, stores callback EDX / ctx / options, timer = ECX*30 frames, clears the vote map DAT_00c7987c; Room::SpawnClearAward (ECX 5, EDX 0x708380) next to GenericPrompt::Show in multiplayer
0091c320 online_vote_update ? NetplayManager::Update: ticks the vote timer DAT_00bf9430, lobby owner (UserProfile::is_local_user) tallies members' choices when it expires and sends the result
0091be00 profanity_list_load "profanity_list.txt": copies the bundled file into the user dir if missing, reloads when GetFileTime changed into the list DAT_00c7986c ("list too long"); OnlineChat::receive_message (0091e980)
0091bd10 stristr ECX=haystack, EDX=needle: case-insensitive substring search via tolower, returns pointer or 0; profanity masking in 0091e980
0091b9e0 std::map<int_int>::erase erase by int key (signed compare, node 0x18) returning count; load_persistent_game_data_buffer
0091adf0 PersistentGameDataReader::read ? ECX=reader with stream at +0x48, param=PersistentGameData: reads achievements 0x282, counters 0x82c, collectibles 0x2dd, ... and a set<int> list (inverse of PersistentGameData::write); Menu_Save::load_slot_data, 0090c2d0
009163b0 RemovePlayerMessage::read ? deserializes a consolidated remove message (memory_stream_read: int type, u64 user, int frame, byte count, count*16 bytes) into ECX; NetplayManager::update_player_removal before logging MSG_REMOVE_FRAME
00916110 NetplayManager::send_remove_frame ? (userId): writes {0, id, 0} plus the player's (+0x3ac) 16-byte entries to a stream, NetConnection::send_message type 6, NetplayManager::send_message(8); NetplayManager::update_player_removal
00915f50 std::vector<char>::_Clear_and_reserve frees the byte buffer and allocates exactly max(n, 1.5*cap) (max 0x7fffffff); BufferedStream copy 0090d360, Entity_Familiar::RestoreState
00915790 std::map<unsigned_int_8byte>::try_emplace lower_bound then inserts a 0x1c-byte node {key +0x10, two zero dwords} (max 0x9249249); NetplayManager frame snapshot map (try_advance_frame, 0090d640)
00915330 std::map<unsigned_long_long_PeerStreams>::destroy_subtree ? recursive erase of 0xe8-byte nodes each holding four BufferedStreams; NetplayManager::reset and destructor
00914340 std::map<unsigned_int_8byte>::erase erase by uint key (equal_range, count returned); NetplayManager frame snapshot map (0090d640, try_advance_frame)
009139a0 std::vector<32byte>::_Tidy destroys 0x20-byte elements (inner vector at +0) and frees; NetplayManager destructor on +0x1878 (revive queue)
00913b10 std::vector<24byte>::_Tidy destroys 0x18-byte elements (inner vector) and frees; NetplayManager destructor on +0x186c (removal queue)
00912450 NetplayManager::remove_drop_entry erases the {u64 user, std::set} entry for the user from the vector at +0x1858; update_player_removal, remove_remote_player 009091a0
009128e0 NetplayManager::update_lobby_stage_info when the local user owns the lobby (UserProfile::is_local_user) sets lobby data "current_stage"/"current_stage_type" via Lobby vfunc +0x24; NetplayManager::Update and 0095a4a0
00911c70 NetplayManager::update_revives walks the revive queue +0x1878 (0x20 entries), sends Message_RevivePlayer, logs "Recieved Message_RevivePlayer ..." / "Revival Frame for User(%llu) has passed without being revived!"; NetplayManager::Update
00910650 NetplayManager::update_status_messages ? NetplayManager::Update: receives type-9 messages and stores the payload dword in the sender player's +0x3c4, and every 1000 ms broadcasts its own type-9 message carrying Manager+0x4b12c (GetTimeNs timestamp at +0x18b8)
0090d640 NetplayManager::save_frame_snapshot ? (bool resetEntities): writes PersistentGameData to +0x1018, replaces the snapshot buffer in the per-frame map +0x38 for frame +0xc, pushes {frame, EntityList value, hash FUN_00683580} onto the deque +0x28; NetplayManager::try_advance_frame
0090d360 KAGE::Filesys::BufferedStream::operator_assign copies +4/+8, the byte vector +0xc (vector<char>::_Clear_and_reserve + memmove) and +0x18..+0x24; Menu_Save::load_slot_data on BufferedStream locals
0090c360 NetplayManager::get_player_persistent_game_data ECX=Manager+0x4b3d8: device of the player (InputManager::GetDeviceByPlayerEntity), its UserProfile id, finds it in map +0x1064 and returns &value+0x18 (a per-user PersistentGameData) or 0; Entity_Slot::Init stores it at slot+0x548 for variant 11
0090c0e0 NetplayManager::store_local_persistent_game_data ECX=Manager+0x4b3d8 from Menu_OnlineLobby::init_lobby_view: serializes Manager PersistentGameData with the local user id into the stream +0x1014, then 0090c2d0 loads it into the per-user map +0x1068 entry
0090bf10 NetplayManager::join_pending_lobby ? NetplayManager::Update state 4 with this+0x1b2c: without a game creates MenuManager (MenuManager::constructor/Init, SetState) and stores the ConstLobby; with no game running calls online_lobby_join, else stores it and leaves the current lobby
0090b900 NetplayManager::Render ECX=Manager+0x4b3d8 from Manager::Render: centered status text (Font::DrawString, "Center" null), OnlineChat::render_all at +0x1230, GenericPopup +0x18e4 and ANM2 +0x1a18
00909fe0 NetplayManager::get_drop_entry returns the {u64 user, std::set} entry for the user in vector +0x1858, appending a new one if absent; NetplayManager::process_drop_player_message
009091a0 NetplayManager::RemoveRemotePlayer log text "NetManager::RemoveRemotePlayer(UserProfile) Removing remote player"; called with player+0x370 UserProfile from update_player_removal
00909120 NetplayManager::is_player_removal_queued ECX=NetplayManager: scans the 0x18-byte removal queue +0x186c..+0x1870 comparing entry player's +0x374 UserProfile id with (lo,hi); update_player_removal
00908e70 NetplayManager::QueueRemovePlayer log text "NetManager::QueueRemovePlayer() Queueing remove player"; update_player_removal
00907c10 NetplayManager::is_user_in_player_list ECX=Manager+0x4b3d8: scans the player pointer vector +0..+4 comparing each player's +0x374 UserProfile id with (lo,hi), returns bool; update_player_removal, RemoveRemotePlayer
00916770 NetplayManager::process_lobby_messages ? NetplayManager::Update: receives channel-0 consolidated messages, resolves the sender UserProfile (find_or_create, load_steam_avatar) and logs "[Frame %d] Received %s message from user %s [%llu]" with the type name table 00b240f4 (Player Info, Seed Info, Save Data, Save Data Request, Join New Game, Join Existing Game, Run Status, Report Game States); stores received save data via 0090c2d0
00741e60 Level::place_rooms_backwards REPENTOGON Level.zhl signature (LevelGenerator*, BackwardsStageDesc*, stage, minDifficulty, maxDifficulty); reads desc +0x310 boss count, +0x314 treasure count; only caller Level::generate_backwards 0x7434b3 (was Level::generate_boss_room: with no saved boss it draws one); notes/systems/ascent.md
00742ef0 Level::generate_backwards Level::Init 0x7453ad on stages 1-6 with game state flag 0x30 (the Ascent); 14/12 - depth rooms from stb 0x24, place_rooms_backwards; notes/systems/ascent.md
00827bc0 Room::is_pre_ascent_mom_room room type 5, room config subtype 0x59 and Level::IsPreAscent; callers Room::render_lighting, Backdrop::pre_render_walls, the AddCollectible body 0x762646 (Dad's Note); notes/systems/ascent.md
00738340 Game::get_backwards_stage returns stage * 800 + Game + 0x6746c (BackwardsStageDesc, depth 1..7, "Invalid backwards path stage ID"); called by Level::SetNextStage; notes/systems/ascent.md
004e50d0 NpcHelper::whipper_is_target NpcAI::ENTITY_WHIPPER 004e5170 attack query filter (ECX npc, EDX entity): not itself; bombs (type 4) and players (1) when the npc lacks flags 0x20000100, a list of familiar variants (3.62/67/201/228/238/206/237/211); charmed/friendly: Entity::IsVulnerableEnemy; notes/entities/pass7_i1.md
0060b9d0 NpcHelper::spawn_tracer_effect198 Game::Spawn(1000, 0xc6 generic tracer) at ECX pos, direction EDX, SetColor(param_2), scale param_3, timeout 0x18; only caller NpcAI::ENTITY_FLY (Soul Sucker death, four cardinal warnings); notes/entities/pass7_i3.md
0055a850 NpcHelper::bubbles_death_geyser_tick Entity_Effect::CreateTimer callback (ECX=0x55a850, delay 1, 15 times) from NpcAI::ENTITY_BUBBLES death: per call 2+2 projectiles at rand*2.8, FallingAccel 2, FallingSpeed -15-60r, scale 1.4r, height -23-15r / -23-1000r; notes/entities/pass7_i3.md
0055d070 NpcHelper::polty_target_set NpcAI::ENTITY_POLTY: grid index param_1 unless gridPaths(+0xe6c) > 0 there -> npc I2 (+0xbc4), returns 1; notes/entities/pass7_i3.md
0055d0b0 NpcHelper::polty_is_target_liftable NpcAI::ENTITY_POLTY: spawner a pickup (type 5) or Room::CanPickupGridEntity(I2); variant 0 snaps pos to the cell, zero velocity; notes/entities/pass7_i3.md
0055d180 NpcHelper::polty_is_pot_cell NpcAI::ENTITY_POLTY init: grid type 6 or 0x1a with state 1 (an urn/pot) and polty_target_set -> pos on the cell; notes/entities/pass7_i3.md
004e4870 NpcHelper::candler_is_free_cell NpcAI::ENTITY_CANDLER: true when the grid cell at pos (ECX) has collision 0 and is not a grid entity of type 0x17 (teleporter); gates the Attack and the fireplace 33.10 spawn; notes/entities/pass7_i2.md
0064cf20 Level::compute_room_distances ? fills a 0x17a-byte buffer with 0xff, then BFS over Game::_roomMap with a std::deque<int>, ushort distance per room, neighbour helper 0064cd30; callers Entity_Familiar::update_star_of_bethlehem_speed, FamiliarAI::star_of_bethlehem (was a weak ZHL prefix match Entity_Player::ChangePlayerType)
00a54150 LobbySteam::find_by_id_string ? stoull ("invalid stoull argument") of a string from a global table, returns a ConstLobby via LobbySteam::find_or_create; the ZHL ModManager::RenderCustomCharacterMenu match is only the MSVC EH prologue (real one is 008f8d00)
00a57eb0 KAGE::Filesys::BufferedStream::write vtable slot 7 of KAGE::Filesys::BufferedStream; logs "Attempting to write to a read-only buffer"
00a2ae60 KAGE::SmartPointer<SoundSourceBase>::reset thiscall (raw ptr): news ReferenceCount<KAGE::Sound::SoundSourceBase> (0x18, ptr at +0x14), releases old refcount ECX[1] via vfunc +0xc / g_soundReleaseFn, stores ptr/refcount; same shape as 0040c7f0 (ImageBase); SoundInstance::assign calls it with 0
00a561f0 std::vector<FormattedTextLine>::_Emplace_reallocate ? 12-byte element (byte,int,short copied), max 0x15555555, grows x1.5, _Xlen; only callers FormattedText::FormattedText/split_lines* (line records)
008c2a70 std::vector<Vector>::assign assign(first,last) of 8-byte elements (max 0x1fffffff): overwrite in place, else deallocate+_Allocate x1.5 and copy; HomingLaser::operator_assign/CalculateSamples/remove_collinear_samples
00841cf0 PlayerHUD::reset ECX = HUD::_playerHUD entry: clears 0x18 16-byte slots (s_empty strings), SmartPointer::reset loops, vector at +0x6a0 cleared, *this (player) = 0; HUD::AssignPlayerHUDs calls it when slot player != 0, also PlayerHUD dtor 006efde0 and HUD::unload_graphics
00a90f30 crc32 zlib crc32(crc=ECX, buf=EDX, len): ~crc, 8-byte unrolled table loop with table 0xb4e460, ~result; callers png_crc_read/png_crc_finish/png_write_filtered_row
0091cd90 map_u64_int_subscript std::map<uint64,int>::operator[] on g_onlineVoteMap: lower_bound (FUN_0091ce60) by 64-bit key, inserts 0x20-byte node with value 0 if missing, returns &value (+0x18); online_vote_update/send/get_local_choice
00a52540 KAGE::Filesys::File::open vtable slot 9 (+0x24) of KAGE::Filesys::File (find.sh vtable); fopen(path_join(..),"rb") into +0xc, +4 pos = 0, +8 path; FileSystem::open_disk_file checks *(vt+0x24)==this function
009f2e20 map_int_ImagePtr_subscript std::map<int,SmartPointer>::operator[]: set<int>::find_node, inserts 0x1c-byte node with zeroed 2-dword value, returns &value (+0x14); RichTextIcon::set_icon caches collectible images by id (Manager::LoadImage + SmartPointer::operator_assign into it)
009c2d00 Popup::free_line_buffers ? thiscall: walks vector +0x60..+0x64 of 0x30-byte entries, frees each entry's tracked-heap buffer (word 0) and nulls it, then end = begin; Popup::destroy, PopupQueue::destructor/Update
00752710 std::deque<12byte>::~deque pops all (size +0x10), deletes each 0xc-byte block of the map (+4, mapsize +8), frees the map, then deletes the 8-byte container proxy at +0; GameState::~GameState, NetplayManager::~NetplayManager
007e48b0 PathNode::PathNode copy constructor of the 0x14-byte pathfinder node: copies two dwords and the std::vector<int> at +8 (memmove); PathFinder::FindGridPath, std::priority_queue<PathNode>::pop, vector_PathNode_emplace_reallocate
008cb2e0 std::vector<56byte_string>::_Tidy destroys 0x38-byte elements (std::string at +0) then frees; Game::~Game (right after Leaderboard::~Leaderboard), OnlineStatsScreen::~OnlineStatsScreen, netplay_player_list_destructor
007dce00 std::deque<12byte>::_Tidy pops all (size +0x10, off +0xc), deletes each 0xc block of the map at +4 (mapsize +8), frees map; same as 00752710 without the proxy delete; Entity_Player::room_exit, NetplayManager::reset
00997de0 std::_Destroy_range<FXLayer> ECX..EDX range of 0x4c-byte FXLayer: _Tidy the vector at +0xc and releases the image SmartPointer at +4 (g_imageReleaseFn); std::vector<FXLayer>::_Tidy/_Emplace_reallocate, FXLayers::clear
00a1b4a0 Font::get_kerning ? thiscall (second, first): binary search of the sorted 16-byte {first,second,amount} vector at +0x2c..+0x30, returns (short) amount or 0; Font::render_glyph, get_string_width_n/_utf16
008565e0 std::map<int_InfoDisplayEntry>::_Erase_tree recursive _Erase_tree: right subtree, then 3 vector<InfoDisplayEntry>::_Tidy + string, delete 0x128 node; InfoDisplay::~InfoDisplay, InfoDisplay::load_xml, std::map<int_InfoDisplayEntry>::erase
0083b280 HUD::rebuild_player_item_icons ? thiscall (hudIdx<2, bool rebuild): for _playerHUD[idx] (0x14 stride) clears its icon vector then walks the player's collectible history (player +0x1dec..+0x1df0, 0x1c entries, backwards) resolving collectibles/trinkets (0x8000 golden, trinket 0x4b seeded random) to ItemConfig and SmartPointer images; HUD::update_player_hud_slots, HUD::PostUpdate
006b2940 Entity::push_apart_circle ECX/EDX entities: Entity::collide_with_entity uses it when both _sizeMulti are (1,1): distance < sum of sizes (+0x370), entity_collision_classes_match, mass split, velocity reflection via Vector::Normalized
008ed910 Menu_OnlineLobby::update_ready_state ? counts lobby members with ready byte +0x22 (tree at +0x694), sets all-ready flag +0x6a8 / countdown +0x6ac (0xb4 frames), queries g_multiplayerLobbyPtr and NetworkManager::get_peer; Menu_OnlineLobby::init_lobby_view, toggle_ready
0062b360 Entity_Familiar::level_start ? ECX familiar (Entity_Player::level_start calls it for every type-3 entity whose +0x410 player == this, also PlayerManager::trigger_level_start): variant 100 resets to Idle and TemporaryEffects::RemoveEffect of collectible 0x1b4 item, variant 0x2a halves +0x30, 0x77/0x18 cases
0091b130 PersistentGameDataWriter::write ? thiscall (PersistentGameData*, ?): resets the output stream (vtable at +0x48/+0x20, size (n+m)*8+0x994), writes bit/byte blocks of the data (+0x38 0x282, +700 0x82c, +0xae8 0x2dd, +0xdc8, +0xe00..) and the vector at +0xf64; NetplayManager::save_frame_snapshot, shared_save_write ("sharedsave%d.dat")
006b25b0 Entity::push_apart_capsule ECX/EDX entities: Entity::collide_with_entity's non-(1,1) _sizeMulti branch: Capsule::constructor for both, Capsule::Collide, mass-weighted position/velocity push, Room::IsBeastDungeon damping
009bc790 PlayerManager::match_saved_players ? (out vector, GameState*, bool): builds a vector sized to state +0x19d78 players, list of current players with +0x2c == 0, assigns each saved slot the player whose controller index (+0x1618) matches; PlayerManager::RestoreGameState and RestoreGameState_PostLevelInit
008de3a0 Menu_OnlineLobbyList::reset MenuManager::SetState case 0x12 (FRIENDLOBBIES) and Menu_OnlineLobbyList::Update: Idle/Cursor anims, ArrowUp/ArrowDown layers, "Unhandled scope type (%d) in Menu Lobby List"
007252a0 ItemConfig::clear deletes every ItemConfig_Item (0xe8, ~ItemConfig_Item) in the item vectors at +0, +0xc, +0x18 ... and nulls the slots; ItemConfig::destructor, Manager::unload_configs
00a29740 multiplayer_send_message ? (connection, message, user): "Attempting to send a message when there is no multiplayer service", reliable->unreliable fallback warning, mutex-guarded queueing (FUN_00a78370); NetplayManager::send_message, RemoveRemotePlayer
008d2a30 PauseScreen_MyStuff::~PauseScreen_MyStuff ? destructor of the PauseScreen member built right after Menu_Options (PauseScreen+0x838, ANM2 at +0x64 = PauseScreen+0x89c from PauseScreen::constructor): ANM2s +0x64/+0x1f0/+0x418/+0x52c, RichText, map<uint,ImagePtr> erase, image refs; only PauseScreen::~PauseScreen (just before Menu_Options::~Menu_Options)
0084f0a0 InfoDisplay::add_item_entry ? (ItemConfig_Item*, bool withText): builds InfoDisplayEntry (describe_pickup_stats, InfoDisplayText with the item description) and stores it in the per-id map (FUN_00856100 = map<int,InfoDisplayEntry> subscript); InfoDisplay::load_xml, glitched_collectible_render_gfx
005cc2d0 std::_Move_unchecked<CostumeSprite> ECX..EDX range of 0x118-byte CostumeSprite moved down to param via ANM2 copy + Isaac::SwapANM2 + Reset; std::vector<CostumeSprite>::erase, Entity_Player::update_mini_mush_costume
0091d080 OnlineChatMessage::set_text ? thiscall (chat, text, ...): stores chat/user, formats the sender with user_profile_format_display_name into a static buffer, Font::get_string_width_n, FormattedText::set, trims old lines; OnlineChatMessage::constructor, OnlineChat::add_message
00929010 PersistentGameData::operator_assign copies two std::strings (+8, +0x20) and the fixed blocks +0x38 (0xa0 dwords), +700 (0x20b), +0xae8 (0xb7), +0xdc8...; PersistentGameData::copy_constructor, NetplayManager::store_local_persistent_game_data
007e8d60 std::_Pop_heap_unchecked<PathNode> moves the top (ECX) PathNode into param, sift-down over the 0x14-byte node heap (ECX..EDX); std::priority_queue<PathNode>::pop, PathFinder::FindGridPath
0064d370 star_of_bethlehem_get_target_room ? no this: picks the room index the Star of Bethlehem walks to: _lastBossRoomListIdx, curse of labyrinth stage+1, stage 12 / 8 alt (0x204) / 11 special cases; Entity_Familiar::update_star_of_bethlehem_speed, FamiliarAI::star_of_bethlehem
00a71c40 Lobby::refresh_members ? thiscall: snapshots the member id vector at +0x10, calls vfunc +0x18 to refill it, compares 8-byte ids and on change notifies via g_multiplayerLobbyPtr; LobbySteam::request_lobby_data, Multiplayer::handle_member_status
0075ad50 Entity_Player::play_item_costume_anim ? (.., ItemConfig_Item*, .., std::string anim): for each costume map entry (+0x122c, sprites +0x1220 stride 0x130) where Weapon::is_held_item matches the item, plays anim (and the "_Overlay" variant); Weapon::play_brimstone_costume_shoot (Brimstone 0x76), Entity_Player::update_effects
009f3db0 Weapon::get_tear_color sibling of Weapon::get_laser_color 009f3f60: resolves owner player (this+4, familiar -> player), copies Entity_Player _tearColor into a Color out-param (default white), trinket 0x7f / local-player tweaks; Weapon_Bone::init_club, Weapon_Knife::init_knife
00aa1610 stb_vorbis::start_page_no_capturepattern reads stream version byte (error 0x1f VORBIS_invalid_stream_structure_version), page flag, granule/serial/sequence get32, segment count and table into +0x470; stb_vorbis::start_page, start_packet
008330e0 std::map<RoomTransitionSprite>::_Erase_tree ? recursive _Erase_tree: ANM2::Reset of the node value (+0x14) and tracked frees; RoomTransition::~RoomTransition, RoomTransition::StartBossIntro
00a2c6e0 text_convert_encoding_to_vector (srcEnc, out vector, dstEnc), ECX src, EDX length: same encoding memcpy, else dispatch table of converters (FUN_00a2c470/00a2c570); "Unknown encoding specified"; text_convert_encoding, utf8_to_utf16_alloc
007e1450 MusicStream::play ? thiscall stream slot of MusicChannel (track +0x34/+0x1c, layers): loads the sound via the sound manager vtable +0x24, SoundInstance::assign, sets loop (vfunc +0x40), pitch +0x58, volume (XMM3 * master) +0x48; MusicChannel::play_track, Music::PlayJingle
0095aba0 controller_button_to_glyph_frame switch mapping input button ids (0..0xf, 0x11/0x12, 0xabab..) to the controller glyph frame; Backdrop::render_control_icon, Manager::render_controller_action_glyph
00840670 HUD_Message::~HUD_Message HUD::constructor _eh_vector_constructor_iterator_(+0x3ed0, 500, 6, 008405b0, this) and (+0x4a88, 500, 4); HUD_Message::Show runs on those arrays; ANM2 +0x20, Fonts +0x15c/+0x1a8, render target +0x18
006867e0 Console::get_visible_line_range ? (out pair): from the history deque (+0x44..+0x50) and console font size option (0xf/0xc/8 px) computes the first/last visible lines for the screen height; Console::Update, Console::Print
0040b310 ANM2::get_layer_by_string linear search of _layerState (+0x7c, count +0x80, stride 0xa0) comparing layer name with a std::string, returns LayerState* or 0 (the byte* overload is ANM2::GetLayer); RichTextIcon::render/get_size
009b1b20 level_generator_rooms_shuffle (first,last) of 0x48-byte LevelGenerator_Room, ECX = RNG (xorshift with shifts ECX[1..3], "RNG Seed is zero!"): Fisher-Yates swap via temp copy; LevelGenerator::place_boss_room, generate_rooms
0092ec30 std::_Uninitialized_move<SoundEffect> copies 0x1b8-byte SoundEffects (7x0x38 sub array copy ctor, string +0x198) into the new buffer, then std::_Destroy_range<SoundEffect>; std::vector<SoundEffect>::_Emplace_reallocate/_Resize_reallocate
00a73100 CommandThread::post_command ? "Command thread is not initialized" (+0x1c flag); packs the command (id, data, callback LAB_00a733c0) into vector<8byte> args and queues it; MultiplayerManager::join_lobby, netplay_lobby_handle_join_message
00901310 std::vector<16byte>::_Emplace_reallocate element size 0x10, max 0xfffffff, grows x1.5, copies 4 dwords; NetplayManager::send_remove_frame, NpcHelper::hush_fly_shape_build
00737f40 std::vector<8byte>::_Resize_reallocate new size param (max 0x1fffffff), grows x1.5, zero-fills the tail, memmove old data; ItemPool::Init, std::vector<8byte>::resize
00a71e10 lobby_registry_find_or_create ? (out, uint64 id*): looks up a 64-bit lobby id map (FUN_00a72260), creates via vfunc +8 and inserts (FUN_00a720a0) when missing, returns a SmartPointer; LobbySteam::find_or_create, LobbyLocalhost::find_or_create
008f0040 SpecialSeed::get_display_name ? ECX 0x28-byte special seed entry (id +0xc, name std::string +0x10): returns name, or StringTable::get_string("SeedMenu", lang, name+1) when it starts with '#'; Menu_SpecialSeeds::Render, Menu_Character::submit_seed
00837210 ANM2::update_appear_then_idle ? ECX ANM2: Update both anim states, when "Appear" finishes plays Idle; NetplayManager::Update, LobbyPasswordPrompt::Update
009f2b10 RichTextIcon::get_animation_name own log string "Invalid icon type (%d) for get_animation_name()": type 0 "players", 1 "pickups", 3 "rooms"; RichTextIcon::render/set_icon
0082e720 std::map<int_int>::_Copy_nodes ? recursive _Tree::_Copy_nodes for 0x18-byte nodes (8-byte key/value at +0x10); RoomConfigStage::operator_assign, std_map_copy_assign
00a583e0 buffered_stream_write ? same body as KAGE::Filesys::BufferedStream vslot 7 (00a57eb0) but with ECX pointing 0x28 past the stream: "Attempting to write to a read-only buffer", flush+direct write when larger than the buffer, else memcpy; OnlineChat::broadcast_message, NetplayManager::send_remove_frame
00682280 shader_stack_push ECX = shader index: pushes &g_shaders[idx] (stride 0x50) onto the global shader deque (_Growmap) and makes it g_currentShader when its enabled bit is set; Room::Render, HUD::render_boss_health_bar
00a910c0 png_write_chunk_header libpng: write_fn (+0x4c, "Call to NULL write function" via FUN_00a64610), resets crc (+0x108) and computes it over the 4-byte chunk name (EDX) honouring the critical/ancillary crc flags; PngWriter::write_end (IEND), png_write_filtered_row
0041ff50 std::_Uninitialized_copy<ColoredQuad> (first,last,dest): default-inits then copies 0x24-byte ColoredQuad elements (DestinationQuad + color); std::vector<ColoredQuad>::_Emplace_reallocate, std::vector<36byte>::_Insert_range
004200a0 std::_Uninitialized_move<ColoredQuad> same body as 0041ff50 with ECX/EDX as first/last; std::vector<ColoredQuad>::_Emplace_reallocate, std::vector<36byte>::_Insert_range
00a284d0 KAGE::Network::Multiplayer::Lobby::get_member ? (out UserProfile, index): "Invalid lobby user index" vs impl (this+4) member array +0x10..+0x14, UserProfile::find_or_create, load_steam_avatar; sibling of Lobby::get_members 00a285f0; lobby_get_member_info, NetplayManager::send_message
009f2350 std::_Uninitialized_copy<RichTextSpan> copies 0x40-byte RichTextSpan (std::string + 10 dwords); std::vector<RichTextSpan>::_Emplace_reallocate(_copy)
008e4970 Menu_Mods::reset ? MenuManager::SetState case 0x10 (MODS) and MenuManager::LoadGraphics right after loading ModsMenu.anm2: plays the default anim and rewinds
00902cb0 KAGE::SmartPointer<InputDeviceBase>::SmartPointer default ctor: zeroes ECX, wraps null in a new ReferenceCount<KAGE::Input::InputDeviceBase> (0x18), releases old via g_inputDeviceRelease; same shape as 00a28790; InputManager::get_device
00a791d0 connection_map_contains ? thiscall (uint64 id*): locks the mutex at +0x10 ("Invalid mutex object specified"), lower_bound in the 64-bit keyed map (head +8), unlocks, returns found; NetConnection send paths, Multiplayer::handle_member_status
004d7340 std::vector<EntitySaveState>::_Change_array destroys old 0x78-byte elements, frees, installs (newvec, size, cap); _Emplace_reallocate/_Reallocate_exactly
00923880 NetplayTextPopup::clear pops every queued message of the deque (+4..+0x10), calling its callback (+0x1c, arg +0x20), frees strings, ANM2::Reset +0x14; NetplayTextPopup::destructor, NetplayManager::~NetplayManager
009ad9a0 std::_Uninitialized_copy<68byte> copies 0x44-byte elements (std::string + 11 dwords), ECX/EDX range; std::vector<68byte>::_Emplace_reallocate/assign
008ceb90 Menu_ModChallenges::reset ? MenuManager::SetState case 0xf (MODCHALLENGES) and MenuManager::LoadGraphics right after loading ChallengeMenuCustom.anm2: plays the default anim and rewinds
00998490 std::_Uninitialized_move<FXLayerGroupEntry> ? copies 0x14-byte {3 dwords, SmartPointer} elements then destroys the source (00997e70); FXLayerGroup::copy_constructor, std::vector<20byte>::_Emplace_reallocate
0095c310 std::vector<ChallengeParams>::_Change_array destroys old 0xa4-byte elements (FUN_004269f0), frees, installs new buffer; _Emplace_reallocate/_Resize_reallocate
007e8ac0 std::vector<PathNode>::_Change_array destroys old 0x14-byte PathNodes (_Tidy vector at +8), frees, installs new buffer; vector_PathNode_emplace_reallocate(_copy)
0042f660 std::vector<std::string>::_Change_array destroys old 0x18-byte strings, frees, installs new buffer; vector_string_emplace_reallocate(_move)
00aac110 ogg_page_checksum_set libogg: zeroes header bytes 22..25, crc over header (len +4) and body (+8, len +0xc) with table 0xb4ed60 (msb-first), stores little-endian; ogg_sync_pageseek, ogg_sync_pageout
006935c0 std::deque<ConsoleLine>::push_front ? grows map (FUN_00693be0) when full, allocates a 0x28-byte block, copy-constructs std::string + 4 dwords at --offset; Console::Print, Console::PrintError
0091acc0 PersistentGameDataWriter::compress ? thiscall (out size*): size from stream vfunc +8 at +0x48, allocates, creates g_deflateCompressor on first use and deflates the stream buffer (+0x38 or +0x2c); NetplayManager::store_local_persistent_game_data, save_frame_snapshot
00a59850 KAGE::SmartPointer<Multiplayer>::operator_assign ? copy-and-swap: temp via FUN_008ef1d0 (copy ctor), swaps both words with ECX, releases the old refcount via g_multiplayerRelease; NetConnection::send_message, NetworkManager::receive_message
0069d910 std::vector<28byte_string>::_Tidy destroys 0x1c-byte elements (std::string at +0), frees, nulls; RoomConfig::~RoomConfig
0092eba0 std::vector<SoundEffect>::_Change_array std::_Destroy_range<SoundEffect>, frees (0x1b8 stride), installs new buffer; _Emplace_reallocate/_Resize_reallocate
00752ac0 std::vector<LevelGenerator_Room>::_Change_array destroys old 0x48-byte rooms (FUN_00752e40), frees, installs new buffer; vector_LevelGenerator_Room_reserve, _Emplace_reallocate
00840f70 HUD_Message::free_text_buffers ? frees the two tracked-heap buffers at ECX[0..1] and nulls them; HUD_Message::~HUD_Message, HUD::render_streak_texts, HUD::unload_graphics
00752b70 std::_Uninitialized_move<LevelGenerator_Room> LevelGenerator_Room copy ctor over the range then destroy source (FUN_00752e40); vector_LevelGenerator_Room_reserve, _Emplace_reallocate
00997e70 std::_Destroy_range<FXLayerGroupEntry> ? ECX..EDX range of 0x14-byte elements: releases the image SmartPointer at +0xc (g_imageReleaseFn); std::vector<20byte>::_Tidy/_Emplace_reallocate
00423290 std::vector<bool>::_Trim (size): shrinks the word vector to (n+31)/32, sets size +0xc, masks the last word's unused bits; vector_bool_resize, ItemPool::on_pill_used
009f22d0 std::vector<RichTextSpan>::_Change_array destroys 0x40-byte spans (string), frees, installs new buffer; _Emplace_reallocate(_copy)
007e26c0 std::vector<MusicTrack>::_Tidy destroys 0x60-byte tracks (FUN_007e2e00, stride matches musicid*0x60 in Music::PlayJingle), frees, nulls; MusicManager::~MusicManager
0095c3b0 std::_Uninitialized_copy<ChallengeParams> ChallengeParams::copy_constructor over the range; std::vector<ChallengeParams>::_Emplace_reallocate/_Resize_reallocate
00698ab0 EntityConfig_Entity::~EntityConfig_Entity destroys the strings, vector<12byte>, +0x98 vector and maps of an entity config record; std::vector<EntityConfig_Entity>::_Tidy and other EntityConfig loaders
004d76f0 std::_Uninitialized_copy<EntitySaveState> EntitySaveState::copy over the range (stride 0x78), returns dest end; std::vector<EntitySaveState>::_Emplace_reallocate/assign
0041fe10 std::vector<RenderQuad>::_Change_array trivial 0x70-byte elements: frees old, installs new buffer; std::vector<ColorQuad>::_Emplace_reallocate, std::vector<RenderQuad>::_Reallocate
00a2a8d0 KAGE::ThreadSafeQueue<KAGE::CommandQueueEntry>::shutdown ? when initialized (+4): locks the mutex (+0x1c vfunc +0xc, -1), drains the deque (+0xc..+0x18), unlocks (+0x10), destroys (+8), clears flag; ThreadSafeQueue::~ThreadSafeQueue, multiplayer_connection_state_destroy
007e8c90 std::_Uninitialized_move<PathNode> moves 0x14-byte PathNodes (steals the vector at +8, zeroes source); vector_PathNode_emplace_reallocate(_copy)
0069d690 std::map<std::string>::find _Find_lower_bound then string_compare, returns node or end (*ECX); EntityConfig::LoadEntities, PreloadManager::load_group
0091fb10 std::map<u64_LobbyListEntry>::_Erase_tree ? recursive _Erase_tree of 0x48-byte nodes (two vector<12byte>, UserProfile at +0x1c); LobbyList::clear, OnlineChat::destructor
004265d0 std::vector<104byte>::_Tidy trivial 0x68-byte elements: frees, nulls; online_stats_destroy
008576c0 Leaderboard::update_input ECX Leaderboard (same fields as Leaderboard::Update 00857450: +4 display state, ANM2 +0x10): "Dissapear" on close, cycles leaderboard kind (+8, &3) and filter (+0xc) with Leaderboard::get_leaderboard; Manager::update_ingame_input, daily menu 008cf610
008d2ca0 PauseScreen_MyStuff::Init ? PauseScreen::Init calls it on the member after Menu_Options (see 008d2a30): loads PauseScreen_MyStuff.anm2, ui_charge_icons.anm2, minimap_icons.anm2, Death Screen.anm2, MyStuff_SectionCursor.png, TeamMeatEx12.fnt; layers Items/Diary/ChargeIcon/Cursor
00ab8cc0 bark_noise_hybridmp libvorbis psy.c: only caller _vp_noisemask; alloca'd work arrays, (n, b, f, noise, offset, fixed) running sums
0040b600 ANM2::GetTexel ? worker of the Lua Sprite::GetTexel glue (0040b590 calls it twice): "Start and End parameters cannot be the same!", ANM2::GetLayer, AnimationLayer::GetSourceQuad, LayerState::GetTexture, Quad::rotate sampling
00754ed0 Entity_Player::~Entity_Player destructor body: vtable IsaacRepentancePlus::Entity_Player, 16 AnimationState dtors, 8 ANM2::Reset, GameStatePlayer::~GameStatePlayer, OnlineEmotes::destructor, deques, ends with Entity::destructor; only caller Entity_Player::Free
007e17b0 Music::Update ECX Music (Manager::Update): volume fade (+0xd8/+0xd9 timer), pitch target +0xc6 -> +0xc5 lerp with Music::SetPitchAll, Game::IsInTimedSet, stream pitch vfunc +0x58, Music::Play
00a63490 png_write_info_before_PLTE libpng: only caller PngWriter::write_info; strings "Invalid sBIT depth specified", "Invalid sRGB rendering intent specified"; writes IHDR (FUN_00a911e0) then gAMA (info valid&1) with CRC table update, sBIT, sRGB chunks via write fn at png+0x4c
00420190 show_beta_disclaimer_popup ? "Disclaimer popup is already running", Repentance+ Beta welcome text, ACCEPT/DENY/I CONSENT buttons, PopupQueue::push stores id in DAT_00bf93e4, loads LoadingSpinner.anm2; returns bool; Menu_Game::Update and 3 others
0064a2d0 Entity_Familiar::break_grid_ahead ? ECX=familiar: grid index at _pos+2*_velocity, AbyssLocustData dyncast caches last index (+0x3c), item-config tear flags rolled per chance, grid vtable +0x14 hit then Room::TryMakeBridge; returns bool; only from FamiliarAI::apollyons_best_friend
0056c800 NpcHelper::mother_2_slam_burst ? ECX=npc, arg &npc->_velocity: clamped position, sfx 0x288 (with seed_fart_sound_override), Game::ShakeScreen 12, spawns effect 1000.2 with random angle/height and green splat color; called twice from NpcAI::ENTITY_MOTHER_2 after the same sfx
008cf610 Menu_DailyChallenge::Update MenuManager::Update case 4 (MainMenuType DAILYRUN; case 3 is Menu_Game::Update, 5 Menu_Character::Update); calls daily_challenge_refresh, NetplayManager::check_connection, strings Appear/Loading
008d1f20 EmoteWheel::Update ? ECX=Game+0x25108 (Manager::update_ingame_input, netplay only): state +4 open/close anim (+0x840 += 12 up to +0x844), selection +0x834 from stick atan2 / 360/count (+0x838), emote sets vector-of-vectors +0x7cc with set index +0x7d8 switched by 008d26c0 ("Invalid set index"); 008d1d60 inits it in Game::LoadConfigXmls
008f01b0 Menu_SpecialSeeds::Update MenuManager::Update case 6; calls Menu_SpecialSeeds::Reset, Seeds::AddSeedEffect/HasSeedEffect/RemoveBlockingSeedEffects, MenuManager::SetState
00a92640 png_write_zTXt libpng: "Empty keyword in zTXt chunk", "Unknown zTXt compression type %d", zlib error; called from PngWriter::write_end text-chunk loop and png_write_info_before_PLTE
007e9ba0 Room::~Room Game::~Game calls it on Game+0x18300 (_room) then operator_delete(0x7898); destroys the 0x1c0 grid entity pointers at +0x24 via vtable dtor, ANM2::Reset, Backdrop/FXLayers destructors
00abb240 mdct_butterflies libvorbis mdct.c: stages=log2n(+4)-5, mdct_butterfly_first FUN_00abb0a0 when stages>0, generic butterflies with 4<<i stride, then FUN_00abae50 (butterfly_32); callers mdct_forward and FUN_00abb900 (mdct_backward)
00902010 NetInputDevice::ProcessInputMessage log strings "NetInputDevice::ProcessInputMessage - CHECKSUM MISMATCH!", "Dropping input packet for frame we already have"; called from NetplayManager::Update
0062c8d0 Entity_Familiar::farting_baby_fart ? ECX=familiar, variant 0x70/0x7d branches; variant 0x7d rerolls rng%5 different from last (+0xd88) = random fart type; Spawn anim, effect 1000.15, Entity::AddPoison, Game::start_poop_cloud_screen_effect; from Entity_Player::update_effects loop over the player's familiars
00ab8650 vorbis_book_init_decode libvorbis sharedbook.c: memset(c,0,0x38) then counts entries with length>0, malloc/qsort codeword tables; only caller _vds_shared_init book loop ("if book==NULL || init_decode()!=0 abort")
0075ea40 Entity_Player::render_charge_bars ? returns if OptionsConfig _enableChargeBars==0 or not a local netplay player; ANM2 at player+0x758 etc, percent from charge counters (e.g. item 0x2c6 with +0x1f78), AnimationState::Render; from Entity_Player::Render
009c01d0 Popup::constructor ? ECX=new popup: id from global counter DAT_00c72a24, GetTimeNs timestamp, loads gfx/ui/Popup_Beige.png / Popup_White.png, copies desc arg, Popup::set_state; only caller PopupQueue::push (DB note: "copies desc (FUN_009c01d0)")
0063ce20 Entity_Familiar::minisaac_fire ? ECX=familiar, from Entity_Familiar::ai_minisaac: fire cooldown/direction checks, subtype 99 branch, apply_tear_modifiers, spawns knife (8.1) or TryFireTear depending on the player's weapon
00a196b0 KAGE_Graphics::set_fullscreen ? (bool fullscreen, char): toggles g_graphicsManager_flags bit 8, GLFW 3.4 window.c/monitor.c asserts (glfwSetWindowMonitor path), update_projection/update_depth_renderbuffer; only caller OptionsConfig::set_fullscreen
00906d60 NetplayManager::Init ? ECX=NetplayManager (ANM2 at +0x10b4 = ui_streak.anm2, the member ~NetplayManager 00906a90 destroys); strings game_version/build_number/v1.9.7.17/J460, NetplayManager::reset, OnlineChatMessage ctor; called once from Manager::Init after ModManager::LoadModContent
008da030 Menu_KeyConfig::update_gamepad_layout ? Menu_KeyConfig::Update calls it only for an InputDeviceGamepad (flag 0x20 or type 3), same condition as render_gamepad_layout 008da510; "ActionId is out of range", Manager::apply_device_key_config
00826ae0 Room::render_lava_pit_mask ? ECX=Room: when _backdropType (0x1d18)==0x20 renders every pit grid (type 7, grid +0x24, width +0xc/height +0x10) into a render target with custom blend, uses _lavaIntensity (0x7740); called from Room::render_lighting when a dirty flag is set
00a1f280 KAGE::Input::InputDevice::update ? ECX=input device: copies current to previous state (axes +0x20.., action bitmaps +0xc0/+0xc4), clears, then vtable +0x78/+0x80 polling; "ActionId is out of range"; called per device from KAGE::Input::Manager::update_devices
008fd900 NetDesyncHandler::Update "NetDesyncHandler::process_desync_confirm_message() could not find...", "Desync Handler creating new lobby", "Finalizing resync!"; state machine on *this; from NetplayManager::Update
00aab470 theoraplayer::_Exception::_setInternalMessage ? builds the message std::string from (message, file, line) with int_to_string and "FATAL: " prefix; only caller theoraplayer::_Exception::_Exception (DB note)
005acd30 NpcHelper::visage_chain_solve ? ECX=npc (Visage chain 903.10), char arg: walks the parent (+0x3bc) / child (+0x3c0) chain to the 903.0 head and constrains link spacing via Normalized/atan2; called from NpcAI::ENTITY_VISAGE_chain in _aiCallPhase 2
008c9530 Menu_ControllerSelect::Update MenuManager::Update case 0xb (CONTROLS) between Menu_Options (10) and Menu_KeyConfig (12); +0x119 sprite flag like the Render 008c99b0; KAGE::Input::Manager::get_device, MenuManager::push_menu
00abc0b0 dradf4 libvorbis smallft.c radix-4 forward pass; the DB note on drftf1 names FUN_00abc0b0 as dradf4 (factor 4 branch)
00a710a0 KAGE::System::Init ? "KAGE has already been initialized", "Command thread is already initialized", OpenAL ALC_SOFT_system_events/alcReopenDeviceSOFT, epiconlineservices, FileSystem::load_mount_points; only caller kage_system_init
008de690 Menu_OnlineLobbyList::update_password_entry ? from Menu_OnlineLobbyList::Update when +0x500 set (before update_list_cursor); edits a <8 char buffer at Manager+0x4b108/+0x4b118, "lobby_password", Multiplayer::set_service_provider
008e4e30 Menu_Online::Render "#Online/ONLINE_DAILY/FRIEND/OPTIONS/PUBLIC/QUICK_DESCRIPTOR", BackButton/BackKey, calls Menu_Online::render_descriptor; in MenuManager::Render menu list
00986f30 MenuManager::~MenuManager Manager::unload_state calls it on g_menuManager then operator_delete(0xf930); resets _flySprite (+0xf818) and calls Menu_Options/Menu_Stats destructors
0063dd60 Entity_Familiar::minisaac_find_target ? ECX=familiar from ai_minisaac (every 4 frames, not paused): IsVulnerableEnemy/IsEnemy/HasEntityFlags filters, Room::CheckLine line-of-sight, sqrtf distance
009bdc60 PlayerManager::init_random_unlocks ? (seed) from PlayerManager::init_main_player: gathers 71 0x38-byte Manager+0x2a684 entries whose achievement (+0x34 <0x282) is unlocked (or always in daily/debug), shuffles with RNG shifts 3/23/25, keeps up to 5 at +0x90 (count +0xa4), then a vector at +0x70 from table DAT_00b7ec30 over 0x148-byte Manager+0x2a678 entries
00a28f60 lobby_process_user_commands ? from KAGE::System::update and 00a5f6a0: drains a command deque (+0xf4/+0xf8/+0xfc/+0x100), "Incorrect number of parameters for user modification command", ConstLobby shared_ptr at +0x24, UserProfile::find_or_create/load_steam_avatar
00904a60 NetLogging::format_callstack ? (frames, count) from write_desync_dump: SymSetOptions(0x14)/SymInitialize once (DAT_00c7f4c0), resolves each return address with SymFromAddr/line info, strstr strips "NetLogging::", appends " (0x%llx)\n"
00835f70 input_configs_load ? opens "%s/inputconfigs.dat" (g_userDataDir) via SaveDataManager::open_file_read, rapidxml parse, "KeyConfigs" node, game names "Binding of Isaac Repentance+"/"Afterbirth+"; called once from Manager::Init
00ab5560 jpeg_core_output_dimensions libjpeg jdmaster.c: raw/no-scale shortcut copies image_width/height to output (+0x1c/+0x20 -> +0x5c/+0x60), else scale_num/denom ratio tests; the DB note on libjpeg_jpeg_calc_output_dimensions names FUN_00ab5560 as this
00a56350 FormattedText::parse ? ECX=input string (strlen loop), (out, callback, arg); splits it into segments via FUN_00a561f0 and the callback; only caller FormattedText::set (DB note: "parses the input (FUN_00a56350 with callback FUN_00a56750)")
00416040 rapidxml::xml_document::parse_node rapidxml: dispatches on '?' (xml declaration / PI), '!' (comment, DOCTYPE, CDATA) else element; "expected element name", "expected >", "unexpected end of data"; called from xml_document::parse and parse_node_contents (00416770)
00423cc0 PopupButtons::Render ? ECX=button dialog (same layout as PopupButtons::reset 004239b0: button records at +0x114/+0x244 with ANM2 and frame at +0x11c): sets layer "Text" frame, AnimationState::Render, gamepad-specific glyph via Font::DrawString; called from Manager::Render after the popups
0041ddb0 afterbirth_save_index_remap ? ECX=old index, switch returning the new index (1->1,2->2,3->3,4->5,5->6,...; 161 cases); used in PersistentGameData::import_afterbirth_save loop over 0xa2 entries copying into this+0x2bc
009bf530 PlayerManager::restore_controller_assignment ? ECX=PlayerManager (player vector *this): after Game::restore_game_state in Manager::start_pending_game, walks players with PlayerManager::GetPlayer, KAGE::Input::Manager::get_device, Entity_Player::SetControllerIndex, HUD::AssignPlayerHUDs
008dca50 Menu_OnlineLobbyList::load_graphics ? loads gfx/ui/main menu/LobbyListMenu.anm2, sets "Cursor" animation; called from MenuManager::LoadGraphics with the other menu loaders
00747e10 Level::store_game_state ? ECX=Level(==Game): copies stage (+0), stage type (+4), +0x182d0, curses etc. into GameState+0xe4.., room bitset into bools at +0x10a, Level::write_room_config, GameState::copy_room_list; called from Game::store_game_state right before PlayerManager::store_game_state
008ea8f0 Menu_OnlineLobby::update_force_restart ? from Menu_OnlineLobby::Update: lobby_get_member_info loop, Multiplayer::get_lobby, logs "Force Restart is setting Lobby Visibility to PRIVATE"/"%d", leaderboard "%d_scores_coop_R+" via leaderboard_find_async
0074c160 Level::get_door_neighbor_pos ? (shape, doorSlot) with EDX=room grid pos: per RoomShape (1..12, 2-wide for 6..12) computes the neighbour cell of a door slot via FUN_00752640 mask helper; result compared to g_levelGenInvalidPos in Level::try_place_random_room
0084e200 StatsPanel::set ? ECX=panel (+4 enabled, +0 mode 0/1 -> FUN_0084ea90/FUN_0084eb10), stores arg at +0x48, rebuilds stat lines " Speed"," Tears"," Damage"," Range"," Shot Speed" via FUN_0084dc00; from PauseScreen::update_items_page and 008d3360
008cf0e0 Menu_Cutscenes::Render MenuManager::Render passes ECX=MenuManager+0xd3ac (_menuCutscenes, LEA ECX,[ESI+0xd3ac] at 0098a24c); hides the table of layers DAT_00b23fb0, shares FUN_008cec30 with Menu_Cutscenes::Update 008ced40
008cc1a0 Menu_Online::render_mode_select ? MenuManager::Render passes ECX=MenuManager+0xedd8 (the Rep+ online mode menu whose Update 008cbfe0 calls Menu_Online::update_mode_select); BackButton/BackKey/ChallengeBox layers, Menu_Challenge::render_seed_text
008ced40 Menu_Cutscenes::Update MenuManager::Update case 0xd (MainMenuType ENDINGS); calls Manager::ShowCutscene, MenuManager::SetState, the shared FUN_008cec30 with Menu_Cutscenes::Render
008eba50 Menu_OnlineLobby::render_lobby_info ? from Menu_OnlineLobby::Render: null "LobbyInfoPos", layers Mode_Type/Tag_Type set by lobby mode (Manager+0x4b0dc/+0x4b0ec/+0x4b100), returns early while Manager+0x4b0e0 set
0084dea0 StatsPanel::set ? twin of 0084e200 (same body: +4 enabled, mode +0 -> FUN_0084ea90/FUN_0084eb10, arg stored at +0x48, stat lines " Speed"/" Tears"/" Damage"/" Range"/" Shot Speed" via FUN_0084dc00); called from HUD::update_item_info
008407a0 HUD_Message::load_graphics ? loads gfx/ui/ui_streak.anm2, fonts font/MPlus_12b.fnt / font/KR_Font14.fnt (ModManager::TryRedirectPath, Font::Load), "HUD_Message Text Surface" render surface; HUD::LoadGraphics calls it once then 6 more times (one per HUD_Message)
00901cb0 NetInputDevice::is_input_ready ? ECX=net input device next to NetInputDevice::ProcessInputMessage 00902010: checks +8 flag, connection vtable +0x14 at +0x370, keeps a <=30 entry std::list ("list too long") of timestamps at +0x3c8, returns bool; from NetplayManager::try_advance_frame per peer
00711bb0 GridEntity_Lock::break_open ? ECX=GridEntity_Lock: sfx 0xe5, anim "Breaking"/"BreakingGolden" (player _hasGoldenKey)/"BreakingCoin", RNG::Next, Game::Spawn, Entity_Player::HasTrinket; from GridEntity_Lock::try_unlock and 00711fd0
008d12b0 PauseScreen::update_player_info_page ? PauseScreen::Update when state==6: returns if HUD hidden, LowerSelector/UpperSelector anims, online_lobby_get_member_count, InputManager::FirstLocalDeviceID, PopupWindow::hide
00951f60 loading_images_load ? (seed): picks loadimages-%03u.png / _2.png (or greedmode loadimages-g%03u when Manager+0x4b0d4 is 2/3, seed%0x14+1) and stores them via Manager::LoadImage into smart pointers; called by MenuManager::start_game
00a172e0 win32_opendir ? (path, flags): treats ""/"./" as cwd, FindFirstFile/FindClose with handle +0x46c, wcstombs_s entry names, dirent-style struct; callers filesys_list_directory, 00a163f0, 00a687f0
00698b40 EntityConfig_Entity::operator_assign ? copy-assigns an entity-config record: 3 dwords, std::string at +0xc, then vectors via 006a0dc0/006a0850/006a06b0; used in EntityConfig::LoadEntities to copy the parsed entity
00902950 NetInputDevice::broadcast_frame_input log "NetInputDevice::broadcast_frame_input should only be called on the local player", "Attempting to create a message when there is no multiplayer service"; Checksum::Update, NetplayManager::send_message; callers NetInputDevice::is_input_ready (00901cb0) and NightmareScene::Show
004b78f0 NpcHelper::hornfel_remove_doors ? from NpcHelper::hornfel_room_controller when the room is cleared (descriptor flag 1): collects ENTITY_HORNFEL_DOOR (967) entities and entities with a +0x3d4 child, spawns poof 1000.15 at each and Removes them (vtable +0x28), then sets +0xf4=1.0 on the 8 room doors (Room+0x724..+0x740)
00836370 input_configs_save ? writes "%s/inputconfigs.dat" via SaveDataManager::open_file_write, rapidxml "KeyConfigs"/"Controller" nodes; counterpart of input_configs_load 00835f70; called from Manager::apply_device_key_config (DB note: "else defaults (FUN_00836370)")
00419b50 render_entity_light_masks ? ECX=lighting object (render target smart pointer +0xd8, entity pointer vector +0x54 count +0x5c): Room::render_lighting calls it between SetRenderTarget/Clear and pop_render_target; per player (type 1) or NPC (type 10..0x3e7) draws a quad via the target vtable +0x1c, shader_cache_find, apply_sprite_shader_params
0087c200 lua_register_EffectList LuaEngine::RegisterAPI calls it with "EffectList": luabridge "CppContainer" class with __len/__propget and an element getter (FUN_008c3ed0); same template as lua_register_VectorList / CardConfigList
0087bbd0 lua_register_VectorList LuaEngine::RegisterAPI calls it with "VectorList": luabridge "CppContainer" class, __len/__propget, "Vector" element (FUN_008c40e0)
0087a940 lua_register_CostumeConfigList LuaEngine::RegisterAPI calls it with "CostumeConfigList": luabridge "CppContainer" class, __len/__propget (element FUN_008c42f0)
0087a630 lua_register_ItemConfigList LuaEngine::RegisterAPI calls it with "ItemConfigList" (same CppContainer/__len/__propget template, 772 bytes)
0087a320 lua_register_PillConfigList LuaEngine::RegisterAPI calls it with "PillConfigList" (same CppContainer/__len/__propget template, 772 bytes)
0087a010 lua_register_CardConfigList LuaEngine::RegisterAPI calls it with "CardConfigList" (same CppContainer/__len/__propget template, 772 bytes)
00692630 Console::wrap_line ? (line, bool rewrap): picks the console font from OptionsConfig _consoleFont (terminus/terminus8...), measures with Font::get_string_width_n and breaks at isspace/ispunct into wrapped segments stored on the line (+0x20/+0x24); Console::Print calls it on each new history entry, 00692960 re-wraps with 1
008eb750 Menu_OnlineLobby::start_game ? from Menu_OnlineLobby::Update (on even frames, then returns): resets +0x958, LobbySettings::reset, ChallengeParam::Reset, daily_challenge_refresh, Menu_Save::select_save_slot, PersistentGameData::IncreaseEventCounter
004254b0 OnlineStats::compute_awards ? ECX=vector of 0x68-byte per-player stat records: in netplay drops records whose user is gone (PlayerManager::get_player_by_user_id) while >4, then per stat category (+0x28 table, id 0x16 skipped) finds the best/worst player by threshold; only caller online_stats_finalize
00ade460 oc_filter_hedge libtheora decode.c: (dst, dst_ystride, src, src_ystride, qstep, flimit=qstep*3>>2, variance0, variance1=variance0+nhfrags), 8-column horizontal edge filter; first of the two filters (other FUN_00ade750 = oc_filter_vedge) called by oc_dec_deblock_frag_rows
00abab70 mdct_init libvorbis mdct.c: (lookup in ECX, n in EDX): malloc n/4 bitrev and n+n/4 trig tables, log2n = rint(log(n)/log(2)), sin/cos tables; _vds_shared_init calls it twice (both block sizes)
008d3360 PauseScreen::update_items_menu ? PauseScreen::Update state 3: local device (InputManager::FirstLocalDeviceID in netplay), DescriptionArrowUp/Down layers, PauseScreen::update_items_page, StatsPanel::set (0084e200) via 008d4040
006b5fd0 Entity_Player::get_grid_collision_at ? (pos): grid index from pos (40px cells, -40/-120 origin) on g_game->_room, Room::GetGridCollision with player special cases (IsHologram, HasInstantDeathCurse, GetHealthType); Entity::PlayerCollideWithGrid treats result 4 like out-of-room
00839550 HallucinationOverlay::Render ? ECX=struct with entry vector (+0/+8, entries with x +8 and frames +0x18/+0x20) and ANM2 at +0xc: renders 1-2 frames at HUD-scaled screen positions (338 px HUD width); only from Entity_Player::Render when player+0x1c5c set and g_game->_hallucinationTimer>0
008d0fd0 PauseScreen::load_drop_player_menu ? loads gfx/ui/Menu_DropPlayer.anm2 (Background, UpperSelector) and gfx/ui/DropPlayer_Counter.anm2; called at the end of PauseScreen::Init
009c0960 Popup::Update ? ECX=popup (state +4): fade progress from GetTimeNs elapsed / 100 clamped 0..1, Popup::get_elapsed_ms, Popup::set_state transitions, returns bool finished; called per popup from PopupQueue::Update (first-in-list flag arg)
00835c90 KeyConfigs::apply_to_device ? (deviceId), ECX=saved key-config list (name + 0x20 action x 2 bindings): skips NetInputDevice, matches the device name (vtable +0xc) and copies its bindings into the device action table ("ActionId is out of range"), else adds a new entry (008367e0); Manager::Init per device and 0095b290
00aa9e80 _vorbis_unpack_books libvorbis info.c: ci=vi->codec_setup (+0x1c, returns OV_EBADHEADER -129 if null), ci->books (+0x18)=oggpack_read(8)+1, calloc/unpack each static codebook into book_param (+0x720), then times/floors/residues/maps/modes; only caller vorbis_synthesis_headerin
00ad1f00 fit_line libvorbis floor1.c: (lsfit_acc a in ECX, fits in EDX, y0*, y1*, info) least-squares fit, *y0/*y1 preset to -200 (0xffffff38) by the caller floor1_fit
008e7f60 Menu_OnlineLobby::load_graphics ? loads gfx/ui/main menu/OnlineLobby.anm2, "PlayerInfo" layer setup (AdvanceLayerPosition); called from MenuManager::LoadGraphics next to Menu_OnlineLobbyList::load_graphics 008dca50
008d0470 Menu_DailyChallenge::load_graphics ? loads gfx/ui/main menu/Menu_DailyRun.anm2, gfx/ui/LeaderboardMenu.anm2, gfx/ui/ScoreMenu.anm2, GenericPrompt::Initialize; called from MenuManager::LoadGraphics right after the cutscenes menu sprite
007b9b50 Entity_Player::update_pitfall ? ECX=Entity_Player: driven by _pitfallState, "FallIn"/"JumpOut" extra animations, Room::GetGridCollisionAtPos / FindFreePickupSpawnPosition, Entity_Player::Teleport; called from Entity_Player::Update
0082dac0 RoomConfig::make_generated_room ? (RoomConfig_Room src): allocates the next generated room slot (+0x1e24 count, 0082de80), copies shape/type/variant/weights, remaps the 8 door bits per shape table DAT_00b1f8cc, names it "generated"; returned by Level::get_room_config_from_saved_id for saved ids
00434e70 rope_spring_force ? (out in ECX, pos3, prevPos3, target3, k): out = -0.1*vel then adds a spring pull toward the neighbour point unless it equals the DAT_00c79c58 sentinel (sqrtf length); per cord segment in Entity_Familiar::ai_umbilical_baby, result copied into the segment +0x48
00a67bd0 KAGE_Graphics::submit_batch ? ECX=batch (vertex range +0x38/+0x3c, blend mode switch +0x10, shader +8 vtable +0x54): "Misaligned vertex data", "No shader set", "Unknwon blend function specified"; the DB note on KAGE_Graphics::flush_batches says each pending batch is submitted with FUN_00a67bd0
00891750 lua_register_intValues LuaEngine::RegisterAPI calls it with "intValues": luabridge "ArrayProxy"/"CppContainer" class with __len/__propget (element FUN_008c3690)
00891490 lua_register_RoomDescriptor_array LuaEngine::RegisterAPI calls it with "RoomDescriptor": luabridge "ArrayProxy"/"CppContainer" class with __len/__propget (element FUN_008c38a0), right before intValues
0088dc30 lua_register_RoomConfigSpawns LuaEngine::RegisterAPI calls it with "RoomConfigSpawns": luabridge "ArrayProxy"/"CppContainer" with __len/__propget (element FUN_008c3ab0)
0088d970 lua_register_RoomConfigEntries LuaEngine::RegisterAPI calls it with "RoomConfigEntries": luabridge "ArrayProxy"/"CppContainer" with __len/__propget (element FUN_008c3cc0)
0082e3a0 std::_Sort_unchecked<16byte> MSVC std::sort introsort loop: (first in ECX, last in EDX, ideal, pred): recurses on itself while range > 32 elements (0x200 bytes of 16-byte items), heap-sort fallback when ideal<=0 (0082ea50/0082e810), memmove insertion; RoomConfigRoom::ParseXml sorts with predicate FUN_008299e0
007227d0 WispEntry::constructor ? sets the wisp-config defaults (+0=2.0, +4=3.0, +8=0.1, +0xc=1.0, +0x10=30.0, +0x14 bool 1) and empty sub-records from +0x18; used by ItemConfig::load_wisps_xml for a new entry
007585b0 Entity_Player::cycle_spectate_target ? ECX=player: on input_is_action_triggered(0xd ACTION_MAP) walks the room entity list (Room+0x125c/+0x1264) for the next valid player (type 1 when >1 players, FUN_006d8990), stores it in the EntityPtr-like +0x3c4 (multiset ref insert/erase), snaps pos/velocity to it when none was set, sfx 0xc3 for local players; called per player from PlayerManager::handle_coop_join
00736530 ItemPool::RestoreGameState ? sits between ItemPool::load_pools and ItemPool::StoreGameState (007367d0); copies 0x1f pools of 0x18-byte entries from GameState+0x1e3cc (param_1+0x78f3) back into ItemPool; called from Game::restore_game_state
008c6240 Menu_Bestiary::load_graphics ? loads gfx/ui/main menu/BestiaryMenu.anm2 and gfx/ui/Death Screen.anm2 ("Diary"); called from MenuManager::LoadGraphics after Menu_DailyChallenge::load_graphics
009d92c0 Menu_Save::unload_graphics ? ANM2::Reset of four sprites (+0x18,+0x470,+0x584,+0x6a4), AnmCache::RemoveRef, clears +0x7d4; MenuManager::unload_graphics calls it between the title and game menu sprite resets (Menu_Save sits between them in MenuManager)
0084a920 render_health_bar_segment ? (rect*, ..., width, ...) with EDX=bar state: draws one segment with render_quad_set_uniform_color/KColor::SetFromARGB, returns bool; from PlayerHUD::render_deathmatch_health_bar
008604c0 LuaEngine::Init REPENTOGON LuaEngine::Init(bool Debug): lua_newstate seeded from GetTimeNs, "Running Lua in debug mode...", resources/scripts/enums.lua + main.lua, _RunCallback/_UnloadMod globals, LuaEngine::RegisterAPI; called from IsaacStartup right after g_luaEngine is set
00a11c70 KAGE_Graphics::create_image ? (out, width, height, format, name): "Unknown image format '%d' passed to LoadImage", switch on format allocating the image object, strncpy the name ("Ellipse" from 004248a0); also KAGE::System::UserProfile::load_steam_avatar, 00a617e0, 00a8c430
00724f00 ItemConfig::reset ECX=ItemConfig: resizes and zeroes its per-id vectors to 0x2dd collectibles, 0xbe trinkets, 0x85 nulls, 98 cards, 50 pill effects and frees the entries; callers Manager::unload_configs (right after the Manager ANM2 resets) and the ItemConfig ctor 00724cb0
0078b3b0 ANM2::copy_animation_to ? fastcall ECX=source ANM2, EDX=dest ANM2 (both _loaded checked): if the source is playing, SetAnimation(GetAnimation()) + Rewind + _isPlaying=1 on dest, else SetFrame(anim, GetFrame()); twice from Entity_Player::Render to sync the backup player sprites
0041bb50 CellSpace::insert strings "CellSpace::insert: x1 > x2"/"y1 > y2" and "Entity Teleport Detected!": param entity pos (+0x33c), size*sizeMulti and rotation (+0xec) -> cell range in a grid of 0xa4-byte cells (max 40 entities each); called per entity from EntityList::rebuild_sublists
009daaa0 Menu_Save::unload_graphics ECX=MenuManager+0x2f4 (_menuSave, structs.hpp: ANM2 at +0x18, 3 ANM2 at +0x12c, +0x470, +0x584): ANM2::Reset on exactly these; first call of ~Menu_Save
00419750 EntityList::sort_by_render_z ECX=EntityList: partitions the render list at +0x54 (count +0x5c) by vtable slot 13 Entity::GetRenderZ into >=10000 / >=5000 buckets using a cached key array DAT_00c7e810; called from EntityList::Update after rebuild_sublists
0069b810 EntityConfig_Player::operator_assign ? copy-assign of a player config record (int at +0 then a run of std::string members assigned field by field); once from EntityConfig::load_players_xml when an existing player id is redefined
009ec600 Menu_Stats::unload_graphics ECX=MenuManager+0x2a18 (_menuStats: ANM2 +0x1c, +0xb48, 11 ANM2 at +0xc5c per structs.hpp): ANM2::Reset on those; from MenuManager::unload_graphics
00a90ca0 KAGE_Graphics_RenderTargetBase::RenderTargetBase ctor: base ctor FUN_00a69950, stores KAGE::Graphics::RenderTargetBase::vftable, ImageBase::set_size(w,h), heap_alloc w*h*4 texel buffer ("Could not allocate %d bytes to store texel data for render target") filled with the clear color; KAGE_Graphics::create_render_target then overwrites the vftable with PlatformRenderTarget
008cbd60 Menu_CreateLobby::load_graphics ECX=MenuManager+0xedd8 (the menu whose Update 008cbfe0 is MenuManager::Update case 0x15 = eMainMenuType CREATELOBBY): ANM2::Load gfx/ui/main menu/CreateLobbyMenu.anm2 and CreateLobbyBoxes.anm2; from MenuManager::LoadGraphics
008cb420 std::vector<56byte>::_Emplace_reallocate vector grow (max 0x4924924 = 2^32/56), moves 0x38-byte {2 ints, std::string, ...} elements; from online_stats_finalize when the vector at +0x56c is full
008e7ce0 Menu_OnlineLobby::unload_graphics ECX=MenuManager+0xdce8 (Update there is Menu_OnlineLobby::Update 008e8240, render 008e8af0): ANM2::Reset +0x10 and 3 ANM2 at +0x124; from MenuManager::unload_graphics
00914e40 std::vector<16byte>::_Emplace_reallocate vector grow (max 0xfffffff), 16-byte elements; from NetplayManager::get_drop_entry when the vector at +0x185c is full
008cbaf0 Menu_CreateLobby::unload_graphics ECX=MenuManager+0xedd8 (CREATELOBBY menu, see 008cbd60): ANM2::Reset this and 6 more ANM2; from MenuManager::unload_graphics
0067fdf0 ExtractAngleBracketText game's own name in its log "ExtractAngleBracketText() Couldn't find opening bracket in string: %s": copies the text between < and > of EDX string into ECX string (handles \> escapes); from rich_text_parse_icon_tag
00694230 EntityConfig_Entity::EntityConfig_Entity default ctor: zeroes the record, empty std::strings (cap 0xf at +0x1c/+0x20, +0x84/+0x88, +0xc4/+0xc8), 1.0f at +0x38, g_vectorOne at +0x3c, +0x64 = -1, bool +0x58 = 1; per <entity> node in EntityConfig::LoadEntities
008e7250 Menu_OnlineAwards::Update ECX=MenuManager+0xf5cc; MenuManager::Update case 0x16 = eMainMenuType ONLINEAWARDS: back button pops the menu stack + MenuManager::SetState, cursor moves over a 7-column grid (+0x124 index)
009ab970 resources_mount_language ? from reload_resource_paths: path_join, then when a language is set builds "resources" + "." + Manager::GetLanguage suffix and mounts it (FUN_0060c790)
00aa9c20 vorbis_info_clear libvorbis: ECX=vorbis_info, codec_setup at +0x1c: frees mode params, then per maps/floors/residues calls the backend free_info vtables (PTR_00b4f9b4/00b4f938), books, psy; caller vorbis_synthesis_headerin (error path)
005ae230 NpcAI::ENTITY_WORMWOOD_pick_pit ? ECX=npc (Wormwood): scans room grid for pits (grid type 7), scores 500-distance+random*40 (+100 when pits adjoin), stores the best grid index at npc+0xba4; from ENTITY_WORMWOOD_main
005ab180 NpcHelper::visage_start_charge ? ECX=npc: from NpcHelper::visage_handle_collision after the bounce damage call; plays a sfx, picks axis-aligned dir (Isaac::GetAxisAlignedUnitVectorFromDir) into +0x334/+0x338 and plays "Charge2Loop%s" with Down/Up/Left/Right
00836a90 rapidxml::internal::print_node rapidxml print: switch on node type (EDX+0x14): 0 document -> print_children, 1 element, 2 data, 3 cdata writes "<![CDATA[", indents with '\t' unless print_no_indenting; called by ModEntry::parse_metadata_xml writeback
006a0150 std::vector<100byte>::_Resize_reallocate grow to 0x68 elements of 100 bytes (max 0x28f5c28), FUN_0069fa70 constructs the new ones; from load_bossportraits_xml (resize to 104 bosses)
00a1d280 std::_Partition_by_median_guess_unchecked<16byte_u64key> median-of-3/ninther (count>40) then partitions 16-byte records by a 64-bit key; called from std::_Sort_unchecked<16byte_u64key>
00858610 Leaderboard::download_entries ? ECX=Leaderboard: frees the 0x28-stride entry array (+0x248), stores board (+8) and scope (+0xc), requests rows rank+1..rank+10 (FUN_00a51bb0); log "Attempting to download entries from leaderboard that hasn't been downloaded"; from Leaderboard::get_leaderboard and the leaderboard update
00424ef0 CompletionMarks::Load ECX: player type +0, ANM2 +4 (layout of CompletionMarks::update_layers): ANM2::Load gfx/ui/completion_widget.anm2, with param true also replaces the spritesheet with gfx/ui/completion_widget_pause.png; PauseScreen::Init calls it with 1
00a23fd0 std::map<u64_UserProfile>::try_emplace ? red-black tree (head DAT_00c798d8, size DAT_00c798dc, max 0x3ffffff) find-or-insert of a 64-bit key, new node 0x40 bytes; from UserProfile::find_or_create
0063d2e0 FamiliarHelper::fly_head_pick_side_offset ? ECX=familiar, param_2=target entity: for the 4 axis directions (table DAT_00c5ca94) raycasts with Room::GetLaserTarget from the target and picks the reachable offset (distance target size+10/+40 swayed by sin(frame*pi/15), closer for subtype/variant 99), returns the Vector in param_1; callers FamiliarHelper::fly_head_pathfind_move and 0063dd60
0041bdf0 CellSpace::collide_entity ? ECX=CellSpace (cell size +0x14, columns +0xc, 0xa4-byte cells at +0x18): for each cell the entity overlaps, tests every other entity once (pair bit set at owner+0xc4 indexed by the two entity indices +0x24), circle (FUN_006b2940) or ellipse (FUN_006b25b0) collision when size multipliers differ from 1; per player from EntityList::rebuild_sublists
006d6d80 Entity_NPC::room_enter ? ECX=Entity_NPC persisting across rooms: PlayerManager::enter_level calls it for non-familiar persistent entities (Entity_Familiar::room_enter for familiars); for ENTITY_DARK_ESAU 866 / ENTITY_MOTHERS_SHADOW 867 shifts _pos by the room grid delta (520x280 per room), Dark Esau spawns effect 1000.15 unless its Jacob (player type 37/39) has Birthright (619); sets +0x214=20 when flags 0x10000020
00684920 sha1_digest ? SHA-1 one-shot: pads to 64-byte blocks with 0x80 and a big-endian bit length, compresses with FUN_006846c0, SHA-1 IV bytes 67452301 EFCDAB89 98BADCFE 10325476 C3D2E1F0 at ECX, EDX=data, param=length; Seeds::GetSeedEffect compares the 20-byte result against hard-coded seed-code hashes
0072add0 locust_attr_parse_tear_flags ? from ItemConfig::load_locust ("tearFlags"): ECX=xml attribute (+4 value), splits by ' ' and ORs each atoi bit index into a 128-bit BitSet at param_1 offset (indices >= 64 go to the upper half)
0072b020 locust_attr_parse_flags ? sibling of 0072add0 from ItemConfig::load_locust (offsets 0x18/0x1c): splits the attribute value by ' ' and ORs 1<<atoi(n) into a 32-bit mask
00578820 NpcHelper::rainmaker_spawn_homing_drop ? ECX=npc (Rainmaker), param_1 position: Game::Spawn projectile 9.4 (height -6, FallingSpeed fields), effect 1000.133 splash, sfx 0x99, then Entity_Effect::CreateTimer linking the projectile and the player target (+0x3bc/+0x3c4) with params 4/5; twice from NpcAI::ENTITY_RAINMAKER
00820d30 Room::record_killed_npc ? ECX=Room: skips some types (0xd8, 0xef, 0xf4.2, 0x194.1, 0x38d, 0x390, 0x396 ...), takes type/variant/subtype/champion color(+0x3ec)/flag 0x20000000 and position (FindFreeTilePosition if on a grid collision) and pushes it to a std::list at Room+0x7300 capped at 32 ("list too long"); from Entity_NPC::trigger_kill_item_effects
0041b7b0 EntityList::CountEntities Lua Isaac.CountEntities(spawner,type,variant,subtype) binding 00870b40 calls it: counts entities in the list (+0x44, count +0x4c) whose SpawnerEntity (+0x3c8) equals spawner and type/variant/subtype match (-1 wildcards); null spawner delegates to FUN_0041b690
0091b720 PersistentGameData::copy_shared_progress ? fastcall ECX=dst EDX=src PersistentGameData: copies a fixed list of event counters (+700 + id*4: 0x72,0x73,0xa2..0xaf, 0xd4, 0x181..0x190...) and 12 achievement bytes (+0x38 + id); twice from shared_save_write around the shared save merge
00749040 RoomDescriptor::copy_constructor ? copies a RoomDescriptor field by field (ints, then vectors/strings) from param into ECX; from Level::find_matching_room_idx on the result of GetRoomByIdx (RoomDescriptor::operator_assign is 007387d0)
00581200 rotgut_death_spawn_effects ? from Entity_NPC::trigger_kill_item_effects when type 0x38f (ENTITY_ROTGUT 911) variant 1 dies: SpawnEx two effects 1000.0x77 with callback LAB_00580360 at +0x420 and params 1/6, positioned on fixed grid indices of the room (needs width >= 15)
00452eb0 NpcAI::ENTITY_BIG_HORN_grab_bomb ? ECX=npc (Big Horn) on the "Shoot" event: QuerySublist of bombs near npc pos+(0,30) within half its size that are airborne (height < -0.1) and unowned, increments +0xbc0, links the bomb to the npc (+0x3c0 child, bomb +0x3bc) and plays "BombDizzy"
00ade750 oc_filter_vedge libtheora decoder post-process deblocking: 8 rows of a vertical block edge, per-pixel variance sums written to *variance, filter by qstep/flimit; 5-arg call from oc_dec_deblock_frag_rows (the 8-arg sibling 00ade460 is oc_filter_hedge)
008efe10 RevivePlayerMenu::Render ? Game::Render after the pause screen: when state +0 == 1, coop players exist and the HUD is visible, renders ANM2 +4 at screen center, "REVIVE PLAYER" at the "Title" null, UpperSelector/LowerSelector; RevivePlayerMenu::Init is 008ef560
00802740 random_position_away_from_players ? EDX=center, XMM3=start radius, XMM2=clearance: up to 20 random points on a growing ring (+16/+4) that are on non-colliding grid tiles and farther than clearance+20 from every player, else the center; result in ECX; several times from Room::Update when spawning pickups
0058e260 NpcHelper::siren_charm_familiar ? ECX=npc (Siren), param_1=familiar: unless the familiar is flagged 0x100, spawns effect 1000.0xa5 at it (timeouts +0x45c/+0x460 = 75) linked to the siren (spawner) and the familiar (+0x3c4 target), reads siren +0xf40; from NpcAI::ENTITY_SIREN_main
0041c070 CellSpace::collide string "CellSpace::collide - cell counts don't match!": ECX and param are two CellSpaces with equal cell counts, tests every entity pair of matching cells once (pair bit set); EntityList::rebuild_sublists calls it for each sublist pair
00568a90 NpcAI::ENTITY_MOTHER_start_transition ? ECX=npc (Mother subtype 0) when _dead: FUN_00568980(0), Room +0x7214=20/+0x7218=6, SetAnimation "Transition" + Rewind on the ANM2 at +0x48 unless already set (+0x8c), then revives every NPC in its deque (+0xbf4..): _dead=0, health 1e-5, invincible, RemoveStatusEffects, flags |= 0x11; twice from NpcAI::ENTITY_MOTHER
00752e80 RoomDescriptor::move_constructor ? field copy of a RoomDescriptor from param into ECX that steals the vectors at +0x68/+0x74/+0x88 (zeroes the source) and swaps a fresh std::list head at +0x80; from Level::maze_swap_rooms before two RoomDescriptor::operator_assign (copy ctor is 00749040)
00a957f0 deflate zlib deflate(strm=ECX, flush=EDX): "stream error"/"buffer error", status 0x2a INIT_STATE -> 0x71 BUSY_STATE, 0x29a FINISH_STATE, returns Z_STREAM_ERROR -2 / Z_BUF_ERROR -5; callers include png_write_filtered_row
00ad21d0 inspect_error libvorbis floor1.c inspect_error(x0=ECX, x1=EDX, y0, y1, mask, mdct, info): vorbis_dBquant (x*7.3142858+1023.5 clamped 0..1023), info->twofitatten/maxover/maxunder (+0x458/+0x448/+0x44c); from floor1_fit
00840030 PlayerHUD::set_active_charge_frame ? ECX=PlayerHUD (AnimationState +0x154): from PlayerHUD::render_pocket_item_info; special-cases collectible 711 Flip for Tainted Lazarus (player type 29/38) and 286/263/348/489/147, else ItemConfig::GetCollectible active (type 3) chargeType 0/1/2 -> AnimationState::SetFrameFloat of the charge bar
008fd530 NetplayManager::process_consolidated_messages ? loop over NetworkManager::receive_message(4) while g_multiplayerService exists, "This function should only be called on consolidated messages", dispatches per message type; returns char checked by NetplayManager::Update before try_advance_frame
00abbe90 dradf2 libvorbis smallft.c radix-2 forward butterfly (ido=ECX, l1=EDX, cc, ch, wa1); drftf1 calls it for factor 2 (DB note on drftf1)
008dc1a0 Menu_LobbyListFilters::constructor ? ECX=MenuManager+0xe648: zeroes +0/+4, ANM2::constructor at +8, +0x11c, +0x230, clears fields, colors 0.21/0.18/0.18, path "gfx/ui/main menu/LobbyListFiltersMenu.anm2" stored at +0x388; from MenuManager::constructor
007826d0 Entity_Player::trigger_fire_item_effects ? ECX=Entity_Player, three times from Entity_Player::update_shooting when a shot fires: Dead Tooth (446) spawns effect 1000.106 ring kept at +0x1438 (scale 0.8, parent=player), Large Zit (502) every 30 frames calls Entity_Player::DoZitEffect, then iterates more entities; skipped for remote netplay players
006a0490 std::vector<28byte>::assign range assign of 0x1c-byte elements holding a std::string (shrink path destroys the tail with _Tidy_deallocate, grow path max 0x9249249); from load_bossportraits_xml
00686b70 Console::submit_input ? ECX=Console: counts spaces in the input string at +0x1c (len +0x2c), when not blank copies it to history (FUN_006864a0) and calls Console::RunCommand; from Console::Update on Enter
006d7010 Entity_NPC::spawn_damage_numbers ? ECX=Entity_NPC each Update (twice from Entity_NPC::Update before update_damage_history): when some player has Spider Mod (403) or type is 0x3c4, and the NPC is visible, alive, not invincible, spawns entity 9001.1 per pending damage record (+0x8..+0xc, 0x38 stride) above the NPC with upward velocity, parented to it
007df8e0 MusicChannel::update_volume ? ECX=one of the two 0x184-byte music channel records of MusicManager (loop in 007e17b0, also MusicManager::EnableLayer): lerps volume +0x174 toward target +0x178 by rate +0x17c, then derives per-layer volumes (+0x20, +0x54, +0x90 ...) from the layer mask +0x16c and mode +0x170
008f7e20 ModManager::unload_shaders ? ECX=ModManager: for each mod (vector at +0) with shaders enabled (+0xfd) walks its shader list (+0xe4): resets the RenderTargetBase smart pointer, destroys the shader (ShaderBase vftable, FUN_00a149a0/00a15310), frees param tables; from ModManager::TriggerResize and the ModManager unload 008f5960
00599d70 NpcAI::ENTITY_TUFF_TWINS_body_anim ? ECX=npc (Tuff Twins, variant != 3): picks Body1/2/3 Hori/Vert by direction to the parent (+0x3bc) and segment index (+0x3ec % 3), calls NpcHelper::tuff_twins_play_anim and sets the flipX byte +0x148; ButtIdle/GutsIdle/WalkBodyOverlay/BodyRotate for variant 3; from NpcAI::ENTITY_TUFF_TWINS
009c6650 LobbyPasswordPrompt::handle_direction_input ? ECX=LobbyPasswordPrompt: while the password (+0x144 length) is shorter than 8, polls W/A/S/D and arrow keys (0x106..0x109) through the input vtable slot 0x74 and appends the matching direction symbol; from LobbyPasswordPrompt::Update
0084bc30 std::vector<12byte>::_Emplace_reallocate vector grow (max 0x15555555 = 2^32/12) of {int, KAGE::SmartPointer} elements; three times from PlayerHUD::Update when the vector is full
00863340 lua_callback_run_post_pickup_selection ? from Entity_Pickup::Init with (pickup, &variant, &subtype): returns early unless the Lua engine has the callback flag 0x20, calls the mod callback and when it returns a table (lua_type 5) casts its two ints back into variant/subtype (MC_POST_PICKUP_SELECTION behaviour)
008a7e10 luabridge::Namespace::Class<EntityPtr>::Class luabridge beginClass ctor: looks up "EntityPtr" in the namespace table, else creates class/const/static tables ("__class", "__const", "__gc" closures FUN_008c32b0); from LuaEngine::RegisterAPI before EntityPtr::SetReference
008a7c00 luabridge::Namespace::Class<Vector>::Class luabridge beginClass ctor for "Vector" (same body as 008a7e10); from LuaEngine::RegisterAPI
008a79f0 luabridge::Namespace::Class<KColor>::Class luabridge beginClass ctor for "KColor" (same body as 008a7e10); from LuaEngine::RegisterAPI
008a77e0 luabridge::Namespace::Class<FontRenderSettings>::Class luabridge beginClass ctor for "FontRenderSettings" (same body as 008a7e10); from LuaEngine::RegisterAPI
008a75d0 luabridge::Namespace::Class<Font>::Class luabridge beginClass ctor for "Font" (DAT_00b70424 = "Font"; followed by Font::Load/Unload/GetStringWidth/DrawString registrations); from LuaEngine::RegisterAPI
008a73c0 luabridge::Namespace::Class<Color>::Class luabridge beginClass ctor for "Color" (same body as 008a7e10); from LuaEngine::RegisterAPI
008a71b0 luabridge::Namespace::Class<Sprite>::Class luabridge beginClass ctor for "Sprite" (same body as 008a7e10); from LuaEngine::RegisterAPI
008a6fa0 luabridge::Namespace::Class<EntityRef>::Class luabridge beginClass ctor for "EntityRef" (same body as 008a7e10, __gc FUN_008c31d0); from LuaEngine::RegisterAPI
0091cb70 online_vote_process_messages ? first call of online_vote_update: drains NetworkManager::receive_message channel 0xb while g_multiplayerService exists, "This function should only be called on consolidated messages", handles the vote payloads
006b8910 Entity_NPC::~Entity_NPC destructor body: stores IsaacRepentancePlus::Entity_NPC::vftable, erases its EntityPtr refs from the multiset, frees member vectors; only caller is the scalar deleting dtor Entity_NPC::Free (operator_delete 0xf60)
007333f0 ItemPool::should_force_magic_skin ? from ItemPool::GetCollectible (result true -> collectible 0x282 COLLECTIBLE_MAGIC_SKIN): needs Game+0x67748 > 0 and nobody owning Magic Skin, RNG roll < count*1%, and no Magic Skin pedestal (5.100.642) in the room or in any room's spawn list
004d8d10 NpcHelper::gaper_l2_spawn_maggot ? ECX=position: Game::Spawn(0x355 ENTITY_SMALL_MAGGOT 853, 0) with velocity param_1, height param_2 (+0xbb0), speed |v| (+0xbb4), state 0x10, flag 0x4000000, extra offset when room type 16; from NpcAI::ENTITY_GAPER_L2 (param -8.0)
0069e4a0 std::vector<56byte>::_Emplace_reallocate vector grow (max 0x4924924) of 0x38-byte {int, std::string, ...} records; twice from EntityConfig::LoadBabies when the vector is full
00651ff0 std::vector<ANM2>::_Emplace_reallocate vector grow of 0x114-byte ANM2 elements (max 0xed7303), copy-constructs with ANM2::ANM2; from Entity_NPC::HandleCollision which otherwise ANM2::ANM2-constructs in place and bumps the end by 0x114
005d4010 Entity_Effect::update_wave_chain ? ECX=Entity_Effect: on the frame FrameCount-spawnFrame == +0x438 advances the wave (mode +0x440: 4 grows step +0x430 up to 20 and +0x434 by 0.1, 2 sets 1.75 and 60, 1 rotates direction +0x420 by angle +0x448) and spawns the next effect via FUN_006395e0 (SpawnEx 1000.variant + parent link) at pos + dir*+0x42c; from Entity_Effect::Update
007f9ee0 Room::clear_reward_position ? ECX=Room, param=position: destroys the grid entity there (type 5 turned into 2 first, vtable Destroy), bridges pits (type 7, Room::TryMakeBridge), handles type 0xe, then Room::FindFreePickupSpawnPosition; from Room::SpawnClearAward before spawning trophies/chests (5.340, 5.370)
00907960 online_check_game_version ? returns bool: reads "game_version"/"build_number" from a lobby/peer property object (vtable +0x2c) and compares with the local build, showing "Online/ONLINE_VERSION_MISMATCH" when different; callers Level::InitializeGenesisRoom (lobby join path), 009088e0, 009d98f0
005591c0 NpcAI::ENTITY_WILLO_L2_find_target ? ECX=npc (Willo L2): picks the nearest valid enemy in the room entity list (skips non-active types 0x21, 0x11, 0x124, friendly/charmed, specific bosses) and stores it in npc->_entityRef; twice from NpcAI::ENTITY_WILLO_L2 when it has no target
004257b0 online_stats_register_players ? ECX=online stats vector (0x68-byte entries keyed by 64-bit net user id): for each main player with a net user id not yet listed calls online_stats_add_user; from Game::Update after PlayerManager::Update
0063acf0 FamiliarHelper::sprinkler_fire_laser ? ECX=familiar (Sprinkler), XMM1=angle, XMM2=distance: Entity_Laser::ShootAngle from the familiar position (offset -32 up) with laser variant 1, or 9 when the owner (+0x410) has Technology (68), returns the laser; three times from FamiliarAI::sprinkler (single, 4-way, multishot)
008f8ee0 HUD::render_modded_coop_portrait ? from HUD::Render: param_1 player type indexes the EntityConfig_Player vector (Manager+0x2a678, stride 0x148); when its _moddedCoopMenuANM2 is set renders it at param_2 with EntityConfig_Player::GetDisplayName
0067a8f0 Entity_Tear::find_link_partner ? ECX=Entity_Tear: QuerySublist of tears, returns the nearest other tear (within 20) whose 128-bit tear flags (+0x428..+0x434) intersect the mask at DAT_00c34810 and which has no link yet (+0x498==0); Entity_Tear::Update links the two with EntityPtr::Set on a random 1/10 roll
004b90e0 NpcHelper::hornfel_launch_toward ? ECX=npc (Hornfel), param_1=entity, param_2=target pos: sets the entity velocity toward the target with speed 10..28 scaled by distance (x0.75 for variant 8); used on segment entities and a freshly spawned bomb 4.15 in Entity_NPC::Hornfel_UpdateAI
0069e6c0 EntityConfig_Player::copy_constructor fastcall EDX=dst: int +0, seven std::string copies at +4..+0x94, then the POD tail; from EntityConfig::load_players_xml push_back (end += 0x148, the EntityConfig_Player stride used by Manager+0x2a678) and its realloc 0069e8c0
00599b80 NpcAI::ENTITY_TUFF_TWINS_head_anim ? ECX=npc (Tuff Twins): variant 3 plays "HeadRotate" at angle +0xbb4 (Bounce null), else WalkHeadDown/Up/Hori and WalkHeadOverlay by velocity; twice from NpcAI::ENTITY_TUFF_TWINS (sibling of the body anim 00599d70)
00694490 EntityConfig_Player::EntityConfig_Player default ctor: id +0 = -1, seven empty std::strings (cap 0xf) at +4..+0x94, +0xac = -1, zeroes the rest; per <player> node in EntityConfig::load_players_xml (copy ctor 0069e6c0, assign 0069b810)
0064cd30 level_get_room_neighbors ? param_1 room grid index (13x13 map, < 0xa9), param_2 out array: appends the 4 orthogonal neighbours present in Game::_roomMap (FUN_0064ccf0 maps negative/special indices), plus the special links of stage 8 alt path (0xb2) and stage 11 starting room; returns the count; BFS helper of 0064cf20
004b7c30 NpcHelper::hornfel_render_minecart ? ECX=npc, param_1=the minecart sprite (npc->_minecart+0x48), param_2=render pos: Entity_NPC::Render calls it only for type 0x38a (ENTITY_HORNFEL 906) after Sprite::RenderLayer(1) of the cart; checks layer counts ("AnimationData is NULL", "LayerId out of bounds") and renders the remaining cart layers over the npc
0091fc30 std::multimap<unsigned_long_long_ChatMessage>::emplace ? red-black tree insert of a new 0x48-byte node keyed by a 64-bit value (compares +0x14/+0x10 hi/lo, equal keys go right), value copy-constructed by FUN_0091fb80; from OnlineChat::add_message
008fc7e0 std::vector<80byte>::_Emplace_reallocate vector grow (max 0x3333333 = 2^32/80) of 0x50-byte records; from ModManager::UpdateWorkshopMods when the vector is full
00835300 std::vector<std::vector<12byte>>::assign range assign of 12-byte elements that are themselves vectors (shrink path std::vector<12byte>::_Tidy on the tail, max 0x15555555); first call of Ambush::shuffle_waves (copies the wave list)
00724cb0 ItemConfig::constructor ECX=Manager's ItemConfig: zeroes the vector headers, allocates std::list/map heads (0x2c node), then ItemConfig::reset (00724f00); from Manager::constructor right after OptionsConfig::reset_defaults
0041c2a0 CellSpace::collide_self ? ECX=CellSpace: for every cell tests each entity pair inside that cell once (pair bit set like CellSpace::collide); twice from EntityList::rebuild_sublists between CellSpace::collide calls
009c14c0 Popup::hide Popup::set_state(3) calls it (DB note on set_state: 3 -> hide): unless already state 3, starts the closing tweens (vfuncs at +0xf0/+0x118 per style +0x58) and records GetTimeNs/1e6 start time at +0x138; also from the popup update 009c0960
009c12d0 Popup::show Popup::set_state(1) calls it (DB note: 1 -> show): unless already state 1, resets the child transforms (+0xc8 position, +0xf0 scale, +0x118 alpha) and starts the opening tweens by style +0x58 (slide from -320 for style 1); also from the popup update 009c0960
008569a0 std::vector<104byte>::assign range assign of 0x68-byte elements (max 0x2762762; shrink path FUN_00856ba0 copy + FUN_00856840 destroy tail); three times from InfoDisplayEntry::operator_assign for its vectors at +0x20/+0x2c/+0x38
004f84e0 std::vector<12byte>::_Emplace_reallocate grow (max 0x15555555) of the global NPC trail point vector (begin DAT_00c7f76c, end g_npcTrailPointsEnd, cap DAT_00c7f774) of 12-byte {Vector, float} points; three times from Entity_NPC::render_overlay when full
0060ca20 std::multimap<unsigned_int_20byte>::emplace red-black tree insert of a new 0x28-byte node (key uint at +0x10 compared with <, equal keys to the right, max size 0x6666666) holding a 24-byte value; from Entity_Effect::setup_loot_preview
0042f850 Shape::Shape ? copy constructor of the 0x38-byte DebugRenderer Shape (Index, type 5, vector<short>, vector<20byte>, +0x20 sub-copy FUN_0042f1a0, vector<std::string> +0x2c); only caller DebugRenderer::Get copies the stack Shape into the new list node
009e8010 std::basic_ofstream<char>::basic_ofstream builds basic_ios/basic_ostream/basic_filebuf, sets basic_ofstream vftable, then opens param_1 filename; caller save_screenshot
00721c80 History::merge ? ECX = History (Entity_Player+0x1dec, _isLocked +0xc checked first), param = other player's History; merges both sorted vector<28byte> HistoryItem lists by first int into this, then mark_all_slots_dirty; only caller Entity_Player::remove_twin
005150b0 room_grid_line_direction ? (EDX from, param_1 to, ECX out Vector): both in room and in the same grid row or column, walks the tiles between them and returns the unit step (-1/0/1 per axis) if none has grid collision or gridPath > 650, else zero vector; NpcAI::ENTITY_GUTS after Room::CheckLine
0069ec50 std::vector<28byte>::_Emplace_reallocate growth/max 0x9249249 by /0x1c, element {int, std::string}; caller load_bossportraits_xml
009ed3c0 Menu_Stats::reset_state ? Menu_Stats typed ECX: sets StatsMenuSprite "Idle", hides achievementsSprite layer 0, plays CursorLeft/CursorRight, randomizes _IconIDtoUseForAchievementID[0x282], zeroes the counters/selection, _achievementScrollInPosition = 275; tail of Menu_Stats::LoadGraphics
008f8d00 ModManager::RenderCustomCharacterMenu (CharacterId, Vector* RenderPos, Sprite* DefaultSprite) exactly as REPENTOGON: id bounds-checked against the 0x148-byte EntityConfig_Player vector, renders DefaultSprite layer 0 when no _moddedMenuBackgroundANM2 or !_renderCustomBackground, then the modded sprite with GetDisplayName; caller Menu_Character::render_wheel (the ZHL match at 00a54150 is wrong)
00558fe0 NpcHelper::min_min_spawn_willo Game::SpawnEx type 0x328 (808 ENTITY_WILLO) with spawner EDX, clears flag 4, sets +0xbb0/+0xbb4; param_1 == 0 -> state 6 + "UnderwaterSpawn", else "UnderwaterAttack"; only caller NpcAI::ENTITY_MIN_MIN
005cca10 std::map<unsigned_int_int>::insert _Find_lower_bound on the uint key, returns {existing node,false} or a new 0x18-byte node with key+value (8 bytes from param_2) and {node,true}; callers RoomSet::GetVariantSet and 2 others
00846ff0 PlayerHUD::RenderTrinket (TrinketSlot, Vector* pos, float unused, float scale, bool) as REPENTOGON: slot < 2 reads Entity_Player _trinketsID (+0x16c0) masking 0x7fff (id 75 TRINKET_ERROR tint) and 0x8000 golden shimmer shader; screen-shake offset; HUD::render_player_hud calls it per trinket slot
0069f110 std::vector<36byte>::_Emplace_reallocate growth/max 0x71c71c7 by /0x24, element {3 ints, std::string}; caller EntityConfig::LoadEntities
004f86d0 std::multimap<float_int>::emplace red-black tree insert of a 0x18-byte node (float key +0x10, value +0x14), descends with key < node key (multi, no uniqueness test), size check 0xaaaaaaa; callers NpcAI::ENTITY_GOAT (distance-sorted), 006dac00
00839380 list_anm2_state_assign ? operator= for a 0x124-byte struct {std::list, list iterator +8, ANM2 +0xc, float +0x120}: copies the list, re-finds the iterator position, ANM2 copy+swap, copies +0x120; Entity_Player::room_exit copies player+0x1b34 into +0x1c58 when +0x1c54 > +0x1d78
00a29d00 Multiplayer::leave_lobby ? (callback, userdata): if g_multiplayerLobbyPtr holds no lobby calls callback(0, empty ConstLobby, userdata) at once, else queues request type 3 with the callback (FUN_00a73100); caller NetplayManager::join_pending_lobby with callback 00908ce0
0082de80 std::list<92byte>::resize grows by allocating 100-byte list nodes (payload zero-init with an empty std::string at +0x1c) and splicing them at the end, shrinks otherwise; RoomConfig::MergeRoomsIntoGenerated resizes to count+1
006b99e0 Entity_NPC::compute_speed_multiplier ? Entity_NPC::Update stores its XMM0 result in _speedMultiplier right after: Room::GetTimeScale, then unless flag 0x20000000 Stopwatch (232) / Hourglass (66) TemporaryEffects slowdowns, vtable +0x4c check with effect 697
0063b070 FamiliarAI::sprinkler_spawn_knife ? ECX = familiar: Entity_Player::GetTearHitParams, random angle, Game::SpawnEx type 8 (Entity_Knife, dynamic_cast) at the familiar position; only caller FamiliarAI::sprinkler (Sprinkler + Mom's Knife)
006b7e00 std::map<unsigned_int_bool>::try_emplace _Find_lower_bound on uint key; returns existing or a new 0x18-byte node with key and value byte 0 plus inserted flag; caller _Entity::GetAncestorField
009ebfd0 std::set<int>::_Find_hint hinted-insert position search: compares key with hint node +0x10 and its neighbours (iterator ++/--), returns {node, child side, found}; caller std::set<int>::insert_range
008e5260 Menu_Online::enter ? MenuManager::SetState state 0x13 with ECX = MenuManager+0xda98 (Menu_Online): sets "Idle", +0x22c = 1 / +0x230 = 0, then if a pending ConstLobby is set in Manager calls online_lobby_join
00a79800 std::map<u64_ConnectionPtr>::erase erase(key): equal_range on the 64-bit key (+0x10/+0x14), counts, clears the whole tree via std::map<u64_ConnectionPtr>::_Erase_tree when the range is everything, else _Extract + release ConnectionPtr (g_connectionReleaseFn) + delete 0x20 node; returns count; caller Multiplayer::handle_member_status
00665ed0 Entity_Tear::~Entity_Tear sets Entity_Tear vftable, resets the tear's three ANM2s and AnimationStates, releases its EntityPtrs, then the Entity base; only caller Entity_Tear::Free (scalar deleting destructor)
00834dc0 std::vector<12byte>::_Emplace_reallocate growth/max 0x15555555 by /0xc, element built by FUN_008350d0; caller Game::LoadBossRushXml
007fa0e0 Room::clear_grid_for_pickup ? (float* gridIndex in/out): destroys the grid entity at the index (state 5 -> 2, vtable +0x14 Destroy), poop (type 14) gets gridPath 900, and if collision remains moves the index to Room::FindFreePickupSpawnPosition (or -1); Room::SpawnClearAward before spawning the reward
0067ed90 std::vector<24byte>::_Emplace_reallocate growth/max 0xaaaaaaa by /0x18, 24-byte POD element; caller GridEntity_Fire::Update
008cbfe0 Menu_OnlineMode::Update ? MenuManager::Update case 0x15 with ECX = MenuManager+0xedd8: fades +0x7e8 by 0.1 and pushes the queued menu +0x7ec, calls Menu_Online::update_mode_select / 008cd3f0, updates 6 mode entries (Idle_DailyMatch/Idle_FriendMatch...), then 008cc5e0
008c64e0 Menu_Bestiary::Update MenuManager::Update case 0xe with ECX = MenuManager+0xd4d0 (_menuBestiary, typed Menu_Bestiary): animation updates on even frames, page/cursor handling
00857c90 date_is_within_week ? two DateTime::set_from_yyyymmdd, _mkgmtime64/_gmtime64 normalize, returns (dayOfYear(b) + year wrap 365/366 - dayOfYear(a)) < 7; twin 00857e40 returns > 0; callers Leaderboard::render_scores, 008576c0
00731360 std::vector<224byte>::_Emplace_reallocate growth/max 0x1249249 by /0xe0; caller ItemConfig::LoadBombCostumes
00592050 NpcHelper::siren_familiar_orbit ? ECX = Siren (type 904, spawner of the familiar's player, flag 0x400000), param = charmed familiar: counts detached familiars in the follow chain, sets the familiar's velocity toward a slot on a 90-unit circle around the Siren (angle by index plus +0x334 * 3.5); only caller Entity_Familiar::FollowParent
00857e40 date_is_after ? twin of 00857c90 (same code) returning dayOfYear(b) + year wrap - dayOfYear(a) > 0; callers Leaderboard::render_scores, 008576c0
00823d10 Room::find_reachable_position ? (Vector* out, Vector* pos): if 00823be0 (pathable from the player's enter position) fails, spirals outward over the room grid up to 16 rings for the first tile centre that passes; else returns pos; Game::DevolveEnemy moves the new enemy there
004a1000 NpcHelper::chimera_render_child ? Entity_NPC::Render when type 0x38e (910 Chimera) variant 1 state 16: renders the child (+0x3c0) at sprite layer 2 frame position/scale (flipX-aware) via its vtable +0x14 Render, then restores its fields
00a93480 png_write_finish_row libpng: ++row_number; at num_rows, interlaced -> next pass using png_pass_start/inc tables (7 passes) and clears prev_row, else finishes the IDAT stream ("zlib error"); caller png_write_filtered_row
007dd4b0 std::bitset<32>::to_string builds a std::string of 32 chars from bit 31 down, '|' for set bits and '.' for clear (to_string('.', '|')); caller Game::render_debug_player_info
00426640 std::vector<104byte>::_Emplace_reallocate growth/max 0x2762762 by /0x68, 0x1a-dword POD copy; caller online_stats_add_user
00a153a0 std::vector<24byte>::_Emplace_reallocate growth/max 0xaaaaaaa by /0x18; caller std::vector<24byte>::push_back
0069f300 std::vector<124byte>::_Emplace_reallocate growth/max 0x2108421 by /0x7c, element via Color::copy_constructor_ext (Color + 3 strings); caller EntityConfig::load_boss_colors
00647170 Entity_Familiar::abyss_locust_eat ? KAGE_LogMessage "This should only be called on a locust" unless variant 0xe7 (231 Abyss Locust); dynamic_cast ExtraData -> AbyssLocustData, increments hunger byte +0x50 up to 25 and every 5 swaps the spritesheet "hungry_%d.png"; Entity_Pickup::HandleCollision
008d1d60 OnlineEmotes::init ? Game::LoadConfigXmls: resets state, resizes the 12-byte emote set vector to 2, fills set 0 with 0..19 and set 1 with 0x30..0x3a ("Invalid set index %d"), wheel angle 360/count, then OnlineEmotes::load_anm2
00a21630 std::vector<8byte>::_Emplace_reallocate growth/max 0x1fffffff by >>3, element via FUN_00902d60; callers KAGE::Input::Manager::update_devices, 00a20df0
00abb750 mdct_bitreverse libvorbis mdct.c: walks bitrev (+0xc) and trig (+8 + n*4) in groups of 4 with the 0.5 butterflies; callers mdct_forward and 00abb900 (mdct_backward)
00a6fe70 eos_user_info_process_pending ? KAGE::System::update right after EOS_Platform_Tick: under its mutex ("Invalid mutex object specified") walks pending queries (list of {vector<uint ids>, callback, ctx}), and when every id resolves to a cached SmartPointer<EpicUserInfoType> calls the callback and frees the 0x1c node
006da8e0 std::deque<4byte>::erase erase(first, last) by offsets: moves the shorter side (front backward or back forward) through the 4-per-block map, then pops; caller Entity_NPC::update_damage_history
0091f5d0 OnlineChat::apply_roll_command ? if the message starts with '/', parses it and replaces it with "Rolled a D20! Result = " + rand%20+1 or "Rolled a D6! Result = " + rand%6+1; first call in OnlineChat::broadcast_message
009c2e30 std::vector<48byte>::_Emplace_reallocate growth/max 0x5555555 by /0x30; callers std::vector<48byte>::push_back, 009c27c0
00693280 std::list<std::string>::resize resize specialized to 14: allocates 0x20-byte nodes with an empty std::string for 14 - size and splices them, else erases from the end; caller Console::FillOmnicomplete
00685000 std::operator<<_char ? ostream sentry (FUN_00414690), pads to width (left/right by flags 0x1c0) around a single sputc of '/' (constant-folded char); caller ResolveRelativePath
008f9cb0 Mod::load_menu_sprites ? ECX = Mod (ModManager::LoadModContent loops enabled mods +0xfd): for each path of the table at 00b240c0 (gfx/CharacterMenu.anm2, gfx/CharacterPortraits.anm2 ...) Mod::GetContentPath + FileSystem::ResolvePath, ANM2::Load into Mod+0x100 sprites
0084bfd0 text_image_cache_reset ? ECX = HUD+0x5c54 (same object as text_image_cache_clear, tail-called after it in HUD::unload_graphics): for two 0xcc-byte records at +0x128 zeroes the fields and sets four floats to 0.1
007e2a30 std::vector<52byte>::_Emplace_reallocate growth/max 0x4ec4ec4 by /0x34; caller Music::LoadConfig
008f4890 ModManager::LoadModBossPools for each enabled mod (+0xfd) Mod::GetContentPath("bosspools.xml"), FileSystem::ResolvePath, BossPool::load_xml; caller BossPool::init
008f46f0 ModManager::LoadModItemPools for each enabled mod (+0xfd) when g_game exists: Mod::GetContentPath("itempools.xml"), FileSystem::ResolvePath, ItemPool::load_pools(&g_game->_itemPool, path, 1); caller ItemPool::Init
00835160 std::vector<12byte>::insert_range insert(where, first, last) with /0xc and max 0x15555555, reallocates via FUN_00835020/_Allocate when short of capacity; caller Ambush::SpawnBossrushWave
008746b0 luabridge::LuaRef::call<pre_entity_spawn> LuaRef::push then 3 ints (FUN_0085bfd0), 2 uints (FUN_0085bff0), two Vector UserdataValue<KAGE::Math::Vector2>, Entity UserdataPtr or nil, uint, lua_pcallk 9 args 1 result, returns the result as a new LuaRef; only caller lua_callback_run_pre_entity_spawn
008f8a60 ModManager::RenderCustomGameOver ? (CharacterId, Vector* pos): EntityConfig_Player (0x148 stride) _moddedGameOverANM2, GetDisplayName, renders it; caller GameOver::Render (counterpart of RenderCustomCharacterMenu 008f8d00)
0049f870 NpcHelper::chimera_charge_begin ? sets "ChargeBegin" (rewind), state 10, SoundEffects::Play 0x12d with champion pitch, normalizes (target - pos) into the charge direction; only caller NpcAI::ENTITY_CHIMERA_body
00827550 Room::open_red_room_doors ? ECX = Room: for each slot allowed by the descriptor (+0x18) without a door, Room::MakeDoor, sets target index / GridEntity_Door::SetRoomTypes / LoadSprite / UpdateAnimation; then removes _redDoorOutlines[param_1] and plays sound 0x9c; Level::MakeRedRoomDoor when the new room is the current one
00572a70 NpcHelper::clutch_find_farthest_orbital ? QuerySublist of room entities: enemies with spawner (+0x3bc) == the Clutch, same friendliness, not its child, +0xbc4 != 99, not flag 0x10; returns the farthest one; only caller NpcAI::ENTITY_CLUTCH
00ad1d70 accumulate_fit libvorbis floor1.c accumulate_fit(flr ECX, mdct EDX, x0, x1, fits, n, info): zeroes the lsfit_acc, quantizes with vorbis_dBquant (x*7.3142857+1023.5) and sums xa/ya/x2a/y2a/xya; caller floor1_fit
00859100 leaderboard_render_label_value ? sprintf "%d" of param_3, Font::DrawString of the label and of the number right-aligned (get_string_width_n) in color 0xff362f2d, then advances pos.y by 15; caller Leaderboard::render_daily_score_breakdown
00ab8b30 seed_chase libvorbis psy.c seed_chase(seeds ECX, linesper EDX, n): alloca posstack/ampstack peak-chasing; caller _vp_tonemask (max_seeds inlined)
0064b920 Entity_Familiar::siren_charm ? ECX = familiar, (siren, player): remembers the original player (+0x414), set_player, timer +0xd4c = 45, spawns 0x3c6 (966 ENTITY_SIREN_HELPER) with spawner = Siren and parent = the familiar, counts it for the player, sets +0xef0 = 1 and the familiar's parent to the helper; NpcAI::ENTITY_SIREN_main
00908ce0 netplay_leave_lobby_callback ? callback passed to Multiplayer::leave_lobby by NetplayManager::join_pending_lobby: result 0 -> LobbyList::clear and fade the game out (fadeSpeed 0.08, target 3), else shows "#LOBBY_JOIN_FAILED" via FUN_0090ea90
00737cc0 std::vector<24byte>::_Emplace_reallocate growth/max 0xaaaaaaa by /0x18, 24-byte POD element; caller ItemPool::load_pools
005cc140 std::vector<24byte>::_Emplace_reallocate growth/max 0xaaaaaaa by /0x18, 24-byte POD element; caller Entity_Player::console_spawn
007de660 std::string::append_reversed ? appends the chars of [param_2, param_1) in reverse (reverse_iterator range) to ECX std::string, growing with the 0x7fffffff checks; caller Game::render_debug_player_info
00ae5e40 mi_manage_os_memory_ex mimalloc arena.c (start, size, is_committed, is_large, is_zero, numa_node, exclusive, arena_id*): size >> 22 blocks (MI_ARENA_BLOCK_SIZE 4MiB), allocates the arena with bitmaps from _mi_stats_main, registers it; callers mi_reserve_os_memory_ex and 00ae6300
007496a0 Level::get_rooms_within_two_doors ? (set<int>* out, roomIdx): for each door of the room (AllowedDoors) whose neighbour is a normal room or visited and not flag 1, inserts it and its own neighbours (except the start) into std::set<int>; Level::ChangeRoom on a 1-in-10 roll
006f72f0 Game::StartFromRerunState REPENTOGON Game::StartFromRerunState(GameState*): HUD::LoadGraphics, challenge/difficulty from the state, _isRerun = 1, Seeds copied from state+0x1e724 and reseeded, "Setting PersistentGameData ReadOnly to %s"; Manager::start_pending_game on the rerun flag (sibling of Game::Start/StartDebug/StartDailyChallenge)
00a1a2e0 window_get_current_monitor ? GLFW monitor.c asserts: walks the monitor list, getMonitorPos + video mode and returns the monitor containing ECX+0xd0/0xd4 (window position), else the primary monitor; callers OptionsConfig::set_vsync, 00a196b0
00709a30 std::_Copy_unchecked<EntitySaveState> copies [ECX, EDX) of 0x68-byte EntitySaveState field by field into param_1; caller std::vector<EntitySaveState>::assign
006d8990 Entity::is_valid_target ? false for non-enemy types (1 only in co-op), fire 33, shopkeeper 17, 292, 885 v10, 960, 965, 245, dead; resolves its root parent (ParentNPC for 222/281, chain for 868, DoesEntityShareStatus) and requires itself as root, not dead, +0x... == -1, no flag 0x2000; Entity_Player::Update target pick, PlayerManager::handle_coop_join
00686950 Console::Close ? state > 1 -> state 4 (closing), then when the debug console and enableSaveCommandHistory are on (no daily run) writes the history deque to <userdir>/cmd_history.txt or removes it when empty (REPENTOGON's SaveCommandHistory is probably inlined here; frame differs from its sig); caller Console::Update
00a63db0 png_write_flush libpng: if row_number < num_rows, png_compress_IDAT(NULL, 0, Z_SYNC_FLUSH) (inlined, "Call to NULL write function"/"zlib error"), flush_rows (+0x14c) = 0, output_flush_fn (+0x144); png_write_filtered_row when flush_rows >= flush_dist
006e0160 Entity_Pickup::~Entity_Pickup sets Entity_Pickup vftable, resets its ANM2/AnimationStates, releases the save state (g_entitySaveStateReleaseFn) and EntityPtrs, then the Entity base; only caller Entity_Pickup::Free
00865490 lua_callback_run_get_shader_params callback bit 0x200000 (21 MC_GET_SHADER_PARAMS) of the LuaEngine mask: runs the callback with the shader name string and returns the result as a table LuaRef (lua_type 5); caller Game::render_mod_shaders
00731980 std::vector<184byte>::_Emplace_reallocate growth/max 0x1642c85 by /0xb8, element via FUN_00731870; caller ItemConfig::LoadLocustConfig
00ab3690 alloc_small libjpeg jmemmgr.c alloc_small(cinfo, pool_id, sizeofobject): JERR_OUT_OF_MEMORY (0x38) over MAX_ALLOC_CHUNK 1000000000, JERR_BAD_POOL_ID (0xf) for pool >= 2, first_pool_slop/extra_pool_slop tables, small_list walk; callers jpeg_CreateDecompress and other jmem users
00a556c0 std::vector<KAGE::Network::Multiplayer::ConstLobby>::_Emplace_reallocate growth/max 0x15555555 by /0xc, element = ConstLobby vftable + shared_ptr assign; callers std::vector<ConstLobby>::push_back and 3 others
00752460 Level::get_door_neighbor_indices ? (set<int>* out): for each placed room (count +0x182cc, stride 0xb8) and each of 8 doors not usable to a normal unvisited room, LevelGenerator::get_door_target_position and inserts the 13x13 grid index (or -1); Level::place_special_rooms
00582f60 NpcHelper::scourge_whip ? walks the Scourge (909) variant 10 chain to its tail via child (+0x3c0) -> state 7, target zero; walks to the head via +0x3bc and plays "Whip1" (subtype 0) or "Whip2", SoundEffects::Play 0x48; only caller NpcAI::ENTITY_SCOURGE
004bb6b0 NpcHelper::hornfel_next_rail_index ? reads Room rail data at Hornfel's _targetPosition (+0x334) grid cell (bits 0x40/0x10/0x20 direction, low nibble), returns Room::GetGridIndex of the adjacent rail tile 40 units along it; Entity_NPC::Hornfel_UpdateAI
0088ca80 luabridge::Class<GridEntity_Pit>::addData_HasLadder luabridge addData clone with name/offset folded: __propget/__propset closures on member +0x154 (FUN_008c13d0/008c1430); LuaEngine::RegisterAPI GridEntityPit chain ("HasLadder",0x154,1)
0088cfb0 luabridge::Class<GridEntity_Rock>::addData_FrameCnt luabridge addData clone: "FrameCnt" getter/setter FUN_008c1620/008c1680 on offset 400; RegisterAPI GridEntityRock chain
0088d150 luabridge::Class<GridEntity_TNT>::addData_FrameCnt luabridge addData clone: "FrameCnt" on +0x154 (FUN_008c16e0/008c1740); RegisterAPI GridEntityTNT chain
0088d350 luabridge::Class<GridEntity_PressurePlate>::addData_TimerPlate luabridge addData clone: "TimerPlate" on +0x154 (FUN_008c17a0/008c1830); RegisterAPI GridEntityPressurePlate chain
0088d4d0 luabridge::Class<GridEntity_PressurePlate>::addData_NextGreedAnimation luabridge addData clone: "NextGreedAnimation" on +0x268 (FUN_008c1940/008c19c0); RegisterAPI GridEntityPressurePlate chain
0088d650 luabridge::Class<GridEntity_PressurePlate>::addData_GreedModeRNG luabridge addData clone: "GreedModeRNG" on +0x26c (FUN_008c1a50/008c1ae0); RegisterAPI GridEntityPressurePlate chain
0088d7f0 luabridge::Class<GridEntity_Spikes>::addData_Timeout luabridge addData clone: "Timeout" on +0x154 (FUN_008c1b70/008c1bd0); RegisterAPI GridEntitySpikes chain
0088df10 luabridge::Class<RoomEntry>::addData_Type luabridge addData clone: "Type" (DAT_00b6d1a4) on offset 0 (FUN_008c1c30/008c1c90); RegisterAPI RoomConfig.Entry chain
0088e200 luabridge::Class<RoomEntry>::addData_Weight luabridge addData clone: "Weight" on offset 8 (FUN_008c1db0/008c1e10); RegisterAPI RoomConfig.Entry chain
0088e6c0 luabridge::Class<RoomSpawn>::addData_EntryCount luabridge addData clone: "EntryCount" on offset 8 (FUN_008c1f40/008c1fa0); RegisterAPI RoomConfig.Spawn chain
0088e840 luabridge::Class<RoomSpawn>::addData_SumWeights luabridge addData clone: "SumWeights" on offset 0xc (FUN_008c2000/008c2060); RegisterAPI RoomConfig.Spawn chain
0088f5a0 luabridge::Class<RoomDescriptor>::addData_AllowedDoors luabridge addData clone: "AllowedDoors" on offset 0x18 (FUN_008c25a0/008c2630); RegisterAPI RoomDescriptor chain
0088fa00 luabridge::Class<RoomDescriptor>::addData_ClearCount luabridge addData clone: "ClearCount" on offset 0x4a (FUN_008c2730/008c2790); RegisterAPI RoomDescriptor chain
008922e0 luabridge::Class<Level>::addProperty_DungeonReturnPosition luabridge addProperty clone: "DungeonReturnPosition" getter Level::DungeonReturnPosition (closure FUN_00899670) and setter FUN_0057be60 (closure FUN_008995c0); RegisterAPI Level chain
008927f0 luabridge::Class<Level>::addProperty_GreedModeWave luabridge addProperty clone: "GreedModeWave" getter Level::GreedModeWave (closure FUN_00899560), setter FUN_00753800 (closure FUN_008994f0); RegisterAPI Level chain
00894c80 luabridge::Class<Game>::addProperty_ScreenShakeOffset luabridge addProperty clone: "ScreenShakeOffset" getter Game::ScreenShakeOffset (closure FUN_00899030), setter FUN_007e92e0 (closure FUN_00898f80); RegisterAPI Game chain
008952b0 luabridge::Class<Game>::addData_TimeCounter luabridge addData clone: "TimeCounter" on +0x264fc (FUN_008c2850/008c28b0, db/fields Game 0x264fc); RegisterAPI Game chain
0088c7c0 luabridge::Namespace::Class<GridEntity_Poop>::addData_UnderPlayer luabridge Class<GridEntity_Poop>::addData instance constant-folded to one call: registers Lua property "UnderPlayer" in __propget/__propset with member offset 0x170 (isWritable 1), closures ['FUN_008c1300', 'FUN_008c1360']; sole caller LuaEngine::RegisterAPI line in GridEntity_Poop beginClass block
0088c640 luabridge::Namespace::Class<GridEntity_Poop>::addData_StateAnimation luabridge Class<GridEntity_Poop>::addData instance constant-folded to one call: registers Lua property "StateAnimation" in __propget/__propset with member offset 0x158 (isWritable 1), closures ['FUN_008c1180', 'FUN_008c11f0']; sole caller LuaEngine::RegisterAPI line in GridEntity_Poop beginClass block
0088c4c0 luabridge::Namespace::Class<GridEntity_Poop>::addData_ReviveTimer luabridge Class<GridEntity_Poop>::addData instance constant-folded to one call: registers Lua property "ReviveTimer" in __propget/__propset with member offset 0x154 (isWritable 1), closures ['FUN_008c10c0', 'FUN_008c1120']; sole caller LuaEngine::RegisterAPI line in GridEntity_Poop beginClass block
0088c150 luabridge::Namespace::Class<GridEntity_Door>::addData_PreviousVariant luabridge Class<GridEntity_Door>::addData instance constant-folded to one call: registers Lua property "PreviousVariant" in __propget/__propset with member offset 0x39c (isWritable 1), closures ['FUN_008c0e10', 'FUN_008c0ea0']; sole caller LuaEngine::RegisterAPI line in GridEntity_Door beginClass block
0088bfd0 luabridge::Namespace::Class<GridEntity_Door>::addData_PreviousState luabridge Class<GridEntity_Door>::addData instance constant-folded to one call: registers Lua property "PreviousState" in __propget/__propset with member offset 0x398 (isWritable 1), closures ['FUN_008c0ce0', 'FUN_008c0d70']; sole caller LuaEngine::RegisterAPI line in GridEntity_Door beginClass block
0088bcd0 luabridge::Namespace::Class<GridEntity_Door>::addData_ExtraSprite luabridge Class<GridEntity_Door>::addData instance constant-folded to one call: registers Lua property "ExtraSprite" in __propget/__propset with member offset 0x27c (isWritable 1), closures ['FUN_008c0a70', 'FUN_008c0b00']; sole caller LuaEngine::RegisterAPI line in GridEntity_Door beginClass block
0088af40 luabridge::Namespace::Class<GridEntity>::addData_CollisionClass luabridge Class<GridEntity>::addData instance constant-folded to one call: registers Lua property "CollisionClass" in __propget/__propset with member offset 0x3c (isWritable 1), closures ['FUN_008c08f0', 'FUN_008c0950']; sole caller LuaEngine::RegisterAPI line in GridEntity beginClass block
0088ada0 luabridge::Namespace::Class<GridEntity>::addData_Desc luabridge Class<GridEntity>::addData instance constant-folded to one call: registers Lua property "Desc" in __propget/__propset with member offset 4 (isWritable 1), closures ['FUN_008c07b0', 'FUN_008c0850']; sole caller LuaEngine::RegisterAPI line in GridEntity beginClass block
0088ac20 luabridge::Namespace::Class<GridEntity>::addProperty_VarData luabridge Class<GridEntity>::addProperty instance constant-folded to one call: registers Lua property "VarData" in __propget/__propset with getter GridEntity::VarData setter FUN_00718ed0, closures ['FUN_0089a510', 'FUN_0089a4a0']; sole caller LuaEngine::RegisterAPI line in GridEntity beginClass block
0088a740 luabridge::Namespace::Class<GridEntity>::addProperty_State luabridge Class<GridEntity>::addProperty instance constant-folded to one call: registers Lua property "State" in __propget/__propset with getter EntityList::Size setter FUN_00665b70, closures ['FUN_0089a570', 'FUN_0089a4a0']; sole caller LuaEngine::RegisterAPI line in GridEntity beginClass block
0088a3e0 luabridge::Namespace::Class<GridEntityDesc>::addData_Initialized luabridge Class<GridEntityDesc>::addData instance constant-folded to one call: registers Lua property "Initialized" in __propget/__propset with member offset 0x18 (isWritable 1), closures ['FUN_008c06e0', 'FUN_008c0740']; sole caller LuaEngine::RegisterAPI line in GridEntityDesc beginClass block
00889960 luabridge::Namespace::Class<Entity_Knife>::addProperty_TearFlags luabridge Class<Entity_Knife>::addProperty instance constant-folded to one call: registers Lua property "TearFlags" in __propget/__propset with getter Entity_Knife::TearFlags setter FUN_005cd5c0, closures ['FUN_0089a810', 'FUN_0089a770']; sole caller LuaEngine::RegisterAPI line in Entity_Knife beginClass block
008897c0 luabridge::Namespace::Class<Entity_Laser>::addData_BounceLaser luabridge Class<Entity_Laser>::addData instance constant-folded to one call: registers Lua property "BounceLaser" in __propget/__propset with member offset 0x4e8 (isWritable 1), closures ['FUN_008c03c0', 'FUN_008c0460']; sole caller LuaEngine::RegisterAPI line in Entity_Laser beginClass block
00889640 luabridge::Namespace::Class<Entity_Laser>::addData_HomingType luabridge Class<Entity_Laser>::addData instance constant-folded to one call: registers Lua property "HomingType" in __propget/__propset with member offset 0x4d4 (isWritable 1), closures ['FUN_008c0290', 'FUN_008c0320']; sole caller LuaEngine::RegisterAPI line in Entity_Laser beginClass block
008894c0 luabridge::Namespace::Class<Entity_Laser>::addData_RotationDelay luabridge Class<Entity_Laser>::addData instance constant-folded to one call: registers Lua property "RotationDelay" in __propget/__propset with member offset 0x4c4 (isWritable 1), closures ['FUN_008c0230', 'FUN_008bfe50']; sole caller LuaEngine::RegisterAPI line in Entity_Laser beginClass block
00889340 luabridge::Namespace::Class<Entity_Laser>::addData_HomingLaser luabridge Class<Entity_Laser>::addData instance constant-folded to one call: registers Lua property "HomingLaser" in __propget/__propset with member offset 0x464 (isWritable 1), closures ['FUN_008c00b0', 'FUN_008c0140']; sole caller LuaEngine::RegisterAPI line in Entity_Laser beginClass block
008891c0 luabridge::Namespace::Class<Entity_Laser>::addData_SampleLaser luabridge Class<Entity_Laser>::addData instance constant-folded to one call: registers Lua property "SampleLaser" in __propget/__propset with member offset 0x45d (isWritable 1), closures ['FUN_008bff80', 'FUN_008c0010']; sole caller LuaEngine::RegisterAPI line in Entity_Laser beginClass block
00888ed0 luabridge::Namespace::Class<Entity_Laser>::addData_Timeout luabridge Class<Entity_Laser>::addData instance constant-folded to one call: registers Lua property "Timeout" in __propget/__propset with member offset 0x458 (isWritable 1), closures ['FUN_008bfdf0', 'FUN_008bfe50']; sole caller LuaEngine::RegisterAPI line in Entity_Laser beginClass block
00888d50 luabridge::Namespace::Class<Entity_Laser>::addData_TearFlags luabridge Class<Entity_Laser>::addData instance constant-folded to one call: registers Lua property "TearFlags" in __propget/__propset with member offset 0x428 (isWritable 1), closures ['FUN_008bfcd0', 'FUN_008bfd60']; sole caller LuaEngine::RegisterAPI line in Entity_Laser beginClass block
00888340 luabridge::Namespace::Class<Entity_Laser>::addProperty_TearFlags luabridge Class<Entity_Laser>::addProperty instance constant-folded to one call: registers Lua property "TearFlags" in __propget/__propset with getter Entity_Tear::TearFlags setter FUN_00456830, closures ['FUN_0089abf0', 'FUN_0089ab50']; sole caller LuaEngine::RegisterAPI line in Entity_Laser beginClass block
00887f70 luabridge::Namespace::Class<Entity_Bomb>::addProperty_IsFetus luabridge Class<Entity_Bomb>::addProperty instance constant-folded to one call: registers Lua property "IsFetus" in __propget/__propset with getter Entity_Bomb::IsFetus setter FUN_0060cdb0, closures ['FUN_0089aee0', 'FUN_0089ae70']; sole caller LuaEngine::RegisterAPI line in Entity_Bomb beginClass block
00887de0 luabridge::Namespace::Class<Entity_Bomb>::addProperty_Flags luabridge Class<Entity_Bomb>::addProperty instance constant-folded to one call: registers Lua property "Flags" in __propget/__propset with getter Entity_Bomb::Flags setter FUN_006a6910, closures ['FUN_0089aff0', 'FUN_0089af50']; sole caller LuaEngine::RegisterAPI line in Entity_Bomb beginClass block
00887ad0 luabridge::Namespace::Class<Entity_NPC>::addData_State luabridge Class<Entity_NPC>::addData instance constant-folded to one call: registers Lua property "State" in __propget/__propset with member offset 0xb64 (isWritable 1), closures ['FUN_008bf920', 'FUN_008bf610']; sole caller LuaEngine::RegisterAPI line in Entity_NPC beginClass block
00887950 luabridge::Namespace::Class<Entity_NPC>::addData_Pathfinder luabridge Class<Entity_NPC>::addData instance constant-folded to one call: registers Lua property "Pathfinder" in __propget/__propset with member offset 0x414 (isWritable 1), closures ['FUN_008bf670', 'FUN_008bf700']; sole caller LuaEngine::RegisterAPI line in Entity_NPC beginClass block
00887660 luabridge::Namespace::Class<Entity_NPC>::addProperty_EntityRef luabridge Class<Entity_NPC>::addProperty instance constant-folded to one call: registers Lua property "EntityRef" in __propget/__propset with getter Entity_NPC::EntityRef setter Entity_NPC::SetRef_bec, closures ['FUN_0089b140', 'FUN_0089b090']; sole caller LuaEngine::RegisterAPI line in Entity_NPC beginClass block
00886ff0 luabridge::Namespace::Class<Entity_NPC>::addProperty_Scale luabridge Class<Entity_NPC>::addProperty instance constant-folded to one call: registers Lua property "Scale" in __propget/__propset with getter Entity_NPC::Scale setter Entity_NPC::SetScale, closures ['FUN_0089b310', 'FUN_0089b280']; sole caller LuaEngine::RegisterAPI line in Entity_NPC beginClass block
00886b60 luabridge::Namespace::Class<Entity_NPC>::addProperty_CanShutDoors luabridge Class<Entity_NPC>::addProperty instance constant-folded to one call: registers Lua property "CanShutDoors" in __propget/__propset with getter Entity::CanShutDoors setter Entity::SetVisibleFlag, closures ['FUN_0089b5b0', 'FUN_0089b540']; sole caller LuaEngine::RegisterAPI line in Entity_NPC beginClass block
00886260 luabridge::Namespace::Class<Entity_Familiar>::addData_OrbitDistance luabridge Class<Entity_Familiar>::addData instance constant-folded to one call: registers Lua property "OrbitDistance" in __propget/__propset with member offset 0xd64 (isWritable 1), closures ['FUN_008bf3a0', 'FUN_008bf440']; sole caller LuaEngine::RegisterAPI line in Entity_Familiar beginClass block
00885990 luabridge::Namespace::Class<Entity_Familiar>::addProperty_Player luabridge Class<Entity_Familiar>::addProperty instance constant-folded to one call: registers Lua property "Player" in __propget/__propset with getter Entity_Familiar::Player setter Entity_Familiar::set_player, closures ['FUN_0089bac0', 'FUN_0089ba10']; sole caller LuaEngine::RegisterAPI line in Entity_Familiar beginClass block
00885790 luabridge::Namespace::Class<Entity_Effect>::addData_ParentOffset luabridge Class<Entity_Effect>::addData instance constant-folded to one call: registers Lua property "ParentOffset" in __propget/__propset with member offset 0x468 (isWritable 1), closures ['FUN_008bf0d0', 'FUN_008bf170']; sole caller LuaEngine::RegisterAPI line in Entity_Effect beginClass block
00885610 luabridge::Namespace::Class<Entity_Effect>::addData_IsFollowing luabridge Class<Entity_Effect>::addData instance constant-folded to one call: registers Lua property "IsFollowing" in __propget/__propset with member offset 0x464 (isWritable 1), closures ['FUN_008bf000', 'FUN_008bf060']; sole caller LuaEngine::RegisterAPI line in Entity_Effect beginClass block
00884ea0 luabridge::Namespace::Class<Entity_Pickup>::addData_State luabridge Class<Entity_Pickup>::addData instance constant-folded to one call: registers Lua property "State" in __propget/__propset with member offset 0x584 (isWritable 1), closures ['FUN_008bedb0', 'FUN_008bee10']; sole caller LuaEngine::RegisterAPI line in Entity_Pickup beginClass block
008840c0 luabridge::Namespace::Class<Entity_Player>::addData_QueuedItem luabridge Class<Entity_Player>::addData instance constant-folded to one call: registers Lua property "QueuedItem" in __propget/__propset with member offset 0x17c4 (isWritable 1), closures ['FUN_008bebc0', 'FUN_008bec60']; sole caller LuaEngine::RegisterAPI line in Entity_Player beginClass block
00883f40 luabridge::Namespace::Class<Entity_Player>::addData_BabySkin luabridge Class<Entity_Player>::addData instance constant-folded to one call: registers Lua property "BabySkin" in __propget/__propset with member offset 0x1aec (isWritable 1), closures ['FUN_008bea90', 'FUN_008beb20']; sole caller LuaEngine::RegisterAPI line in Entity_Player beginClass block
00883da0 luabridge::Namespace::Class<Entity_Player>::addData_CanFly luabridge Class<Entity_Player>::addData instance constant-folded to one call: registers Lua property "CanFly" in __propget/__propset with member offset 0x1570 (isWritable 1), closures ['FUN_008be9c0', 'FUN_008bea20']; sole caller LuaEngine::RegisterAPI line in Entity_Player beginClass block
00883ab0 luabridge::Namespace::Class<Entity_Player>::addData_TearFlags luabridge Class<Entity_Player>::addData instance constant-folded to one call: registers Lua property "TearFlags" in __propget/__propset with member offset 0x1488 (isWritable 1), closures ['FUN_008be780', 'FUN_008be810']; sole caller LuaEngine::RegisterAPI line in Entity_Player beginClass block
008837c0 luabridge::Namespace::Class<Entity_Player>::addProperty_FireDelay luabridge Class<Entity_Player>::addProperty instance constant-folded to one call: registers Lua property "FireDelay" in __propget/__propset with getter Entity_Player::FireDelay setter FUN_00782ab0, closures ['FUN_0089bea0', 'FUN_0089be10']; sole caller LuaEngine::RegisterAPI line in Entity_Player beginClass block
008830a0 luabridge::Namespace::Class<Entity_Player>::addProperty_SpriteScale luabridge Class<Entity_Player>::addProperty instance constant-folded to one call: registers Lua property "SpriteScale" in __propget/__propset with getter Entity_Player::SpriteScale setter FUN_0085e2a0, closures ['FUN_0089c000', 'FUN_0089bf70']; sole caller LuaEngine::RegisterAPI line in Entity_Player beginClass block
00882d50 luabridge::Namespace::Class<Entity_Player>::addProperty_FriendBallEnemy luabridge Class<Entity_Player>::addProperty instance constant-folded to one call: registers Lua property "FriendBallEnemy" in __propget/__propset with getter Entity_Player::FriendBallEnemy setter FUN_005cd7a0, closures ['FUN_0089c350']; sole caller LuaEngine::RegisterAPI line in Entity_Player beginClass block
00882650 luabridge::Namespace::Class<Entity_Player>::addProperty_ControlsCooldown luabridge Class<Entity_Player>::addProperty instance constant-folded to one call: registers Lua property "ControlsCooldown" in __propget/__propset with getter Entity_Player::ControlsCooldown setter FUN_005b17b0, closures ['FUN_0089c460', 'FUN_0089c3f0']; sole caller LuaEngine::RegisterAPI line in Entity_Player beginClass block
008824d0 luabridge::Namespace::Class<Entity_Player>::addProperty_ControlsEnabled luabridge Class<Entity_Player>::addProperty instance constant-folded to one call: registers Lua property "ControlsEnabled" in __propget/__propset with getter Entity_Player::ControlsEnabled setter FUN_005b17a0, closures ['FUN_0089c530', 'FUN_0089c4c0']; sole caller LuaEngine::RegisterAPI line in Entity_Player beginClass block
00881950 luabridge::Namespace::Class<Entity_Player>::addProperty_TearsOffset luabridge Class<Entity_Player>::addProperty instance constant-folded to one call: registers Lua property "TearsOffset" in __propget/__propset with getter Entity_Player::TearsOffset setter FUN_007792f0, closures ['FUN_0089c650', 'FUN_0089c5a0']; sole caller LuaEngine::RegisterAPI line in Entity_Player beginClass block
00880a00 luabridge::Namespace::Class<Entity_Tear>::addData_CanTriggerStreakEnd luabridge Class<Entity_Tear>::addData instance constant-folded to one call: registers Lua property "CanTriggerStreakEnd" in __propget/__propset with member offset 0x7e8 (isWritable 1), closures ['FUN_008be5e0', 'FUN_008be640']; sole caller LuaEngine::RegisterAPI line in Entity_Tear beginClass block
00880880 luabridge::Namespace::Class<Entity_Tear>::addData_StickTarget luabridge Class<Entity_Tear>::addData instance constant-folded to one call: registers Lua property "StickTarget" in __propget/__propset with member offset 0x478 (isWritable 1), closures ['FUN_008be4b0', 'FUN_008be550']; sole caller LuaEngine::RegisterAPI line in Entity_Tear beginClass block
0087ff40 luabridge::Namespace::Class<Entity_Tear>::addProperty_TearFlags luabridge Class<Entity_Tear>::addProperty instance constant-folded to one call: registers Lua property "TearFlags" in __propget/__propset with getter Entity_Tear::TearFlags setter Entity_Tear::SetTearFlags, closures ['FUN_0089c890', 'FUN_0089c7f0']; sole caller LuaEngine::RegisterAPI line in Entity_Tear beginClass block
0087ed10 luabridge::Namespace::Class<Entity>::addProperty_TargetPosition luabridge Class<Entity>::addProperty instance constant-folded to one call: registers Lua property "TargetPosition" in __propget/__propset with getter Entity::TargetPosition setter Entity::SetTargetPosition, closures ['FUN_0089db80', 'FUN_0089d800']; sole caller LuaEngine::RegisterAPI line in Entity beginClass block
0087ea40 luabridge::Namespace::Class<Entity>::addProperty_Size luabridge Class<Entity>::addProperty instance constant-folded to one call: registers Lua property "Size" in __propget/__propset with getter Entity::Size setter FUN_00871fa0, closures ['FUN_0089d930', 'FUN_0089d8b0']; sole caller LuaEngine::RegisterAPI line in Entity beginClass block
0087e6f0 luabridge::Namespace::Class<Entity>::addProperty_SortingLayer luabridge Class<Entity>::addProperty instance constant-folded to one call: registers Lua property "SortingLayer" in __propget/__propset with getter Entity::SortingLayer setter FUN_00565dd0, closures ['FUN_0089db20', 'FUN_0089dab0']; sole caller LuaEngine::RegisterAPI line in Entity beginClass block
0087e290 luabridge::Namespace::Class<Entity>::addProperty_SplatColor luabridge Class<Entity>::addProperty instance constant-folded to one call: registers Lua property "SplatColor" in __propget/__propset with getter Entity::SplatColor setter Color::assign, closures ['FUN_0089dd90', 'FUN_0089dd00']; sole caller LuaEngine::RegisterAPI line in Entity beginClass block
0087d920 luabridge::Namespace::Class<Entity>::addProperty_Color luabridge Class<Entity>::addProperty instance constant-folded to one call: registers Lua property "Color" in __propget/__propset with getter Entity::Color setter FUN_00871f70, closures ['FUN_0089df90', 'FUN_0089def0']; sole caller LuaEngine::RegisterAPI line in Entity beginClass block
0087d5d0 luabridge::Namespace::Class<Entity>::addData_Friction luabridge Class<Entity>::addData instance constant-folded to one call: registers Lua property "Friction" in __propget/__propset with member offset 0x36c (isWritable 1), closures ['FUN_008be110', 'FUN_008be170']; sole caller LuaEngine::RegisterAPI line in Entity beginClass block
0087d430 luabridge::Namespace::Class<ActiveItemDesc>::addData_PartialCharge luabridge Class<ActiveItemDesc>::addData instance constant-folded to one call: registers Lua property "PartialCharge" in __propget/__propset with member offset 0x18 (isWritable 1), closures ['FUN_008be040', 'FUN_008be0a0']; sole caller LuaEngine::RegisterAPI line in ActiveItemDesc beginClass block
0087bf10 luabridge::Namespace::Class<TemporaryEffect>::addData_Item luabridge Class<TemporaryEffect>::addData instance constant-folded to one call: registers Lua property "Item" in __propget/__propset with member offset 0 (isWritable 1), closures ['FUN_008bdc50', 'FUN_008bdcf0']; sole caller LuaEngine::RegisterAPI line in TemporaryEffect beginClass block
0087ba50 luabridge::Namespace::Class<QueueItemData>::addProperty_Touched luabridge Class<QueueItemData>::addProperty instance constant-folded to one call: registers Lua property "Touched" in __propget/__propset with getter QueueItemData::Touched setter FUN_0085e1d0, closures ['FUN_0089e220', 'FUN_0089e1b0']; sole caller LuaEngine::RegisterAPI line in QueueItemData beginClass block
0087b8d0 luabridge::Namespace::Class<QueueItemData>::addData_Charge luabridge Class<QueueItemData>::addData instance constant-folded to one call: registers Lua property "Charge" in __propget/__propset with member offset 4 (isWritable 1), closures ['FUN_008bdb90', 'FUN_008bdbf0']; sole caller LuaEngine::RegisterAPI line in QueueItemData beginClass block
0087b750 luabridge::Namespace::Class<QueueItemData>::addData_Item luabridge Class<QueueItemData>::addData instance constant-folded to one call: registers Lua property "Item" in __propget/__propset with member offset 0 (isWritable 1), closures ['FUN_008bda60', 'FUN_008bdb00']; sole caller LuaEngine::RegisterAPI line in QueueItemData beginClass block
0087b440 luabridge::Namespace::Class<TearParams>::addData_TearFlags luabridge Class<TearParams>::addData instance constant-folded to one call: registers Lua property "TearFlags" in __propget/__propset with member offset 0x38 (isWritable 1), closures ['FUN_008bd870', 'FUN_008bd900']; sole caller LuaEngine::RegisterAPI line in TearParams beginClass block
0087b2c0 luabridge::Namespace::Class<TearParams>::addData_TearColor luabridge Class<TearParams>::addData instance constant-folded to one call: registers Lua property "TearColor" in __propget/__propset with member offset 8 (isWritable 1), closures ['FUN_008bd750', 'FUN_008bd7b0']; sole caller LuaEngine::RegisterAPI line in TearParams beginClass block
00879e90 luabridge::Namespace::Class<ItemConfig_Costume>::addData_SkinColor luabridge Class<ItemConfig_Costume>::addData instance constant-folded to one call: registers Lua property "SkinColor" in __propget/__propset with member offset 0x24 (isWritable 1), closures ['FUN_008bd560', 'FUN_008bd5f0']; sole caller LuaEngine::RegisterAPI line in ItemConfig_Costume beginClass block
00879ba0 luabridge::Namespace::Class<ItemConfig_Costume>::addData_Anm2Path luabridge Class<ItemConfig_Costume>::addData instance constant-folded to one call: registers Lua property "Anm2Path" in __propget/__propset with member offset 4 (isWritable 1), closures ['FUN_008bd310', 'FUN_008bd380']; sole caller LuaEngine::RegisterAPI line in ItemConfig_Costume beginClass block
00879730 luabridge::Namespace::Class<ItemConfig_Item>::addData_Tags luabridge Class<ItemConfig_Item>::addData instance constant-folded to one call: registers Lua property "Tags" in __propget/__propset with member offset 0xb8 (isWritable 1), closures ['FUN_008bd190', 'FUN_008bd1f0']; sole caller LuaEngine::RegisterAPI line in ItemConfig_Item beginClass block
008795b0 luabridge::Namespace::Class<ItemConfig_Item>::addData_ChargeType luabridge Class<ItemConfig_Item>::addData instance constant-folded to one call: registers Lua property "ChargeType" in __propget/__propset with member offset 0xac (isWritable 1), closures ['FUN_008bd130', 'FUN_008bcd50']; sole caller LuaEngine::RegisterAPI line in ItemConfig_Item beginClass block
00879050 luabridge::Namespace::Class<ItemConfig_Item>::addData_CacheFlags luabridge Class<ItemConfig_Item>::addData instance constant-folded to one call: registers Lua property "CacheFlags" in __propget/__propset with member offset 0x54 (isWritable 1), closures ['FUN_008bcf30', 'FUN_008bcd50']; sole caller LuaEngine::RegisterAPI line in ItemConfig_Item beginClass block
008787a0 luabridge::Namespace::Class<ItemConfig_Pill>::addData_GreedModeAllowed luabridge Class<ItemConfig_Pill>::addData instance constant-folded to one call: registers Lua property "GreedModeAllowed" in __propget/__propset with member offset 0x38 (isWritable 1), closures ['FUN_008bca90', 'FUN_008bcaf0']; sole caller LuaEngine::RegisterAPI line in ItemConfig_Pill beginClass block
00878620 luabridge::Namespace::Class<ItemConfig_Pill>::addData_Name luabridge Class<ItemConfig_Pill>::addData instance constant-folded to one call: registers Lua property "Name" in __propget/__propset with member offset 8 (isWritable 1), closures ['FUN_008bc910', 'FUN_008bc980']; sole caller LuaEngine::RegisterAPI line in ItemConfig_Pill beginClass block
00878270 luabridge::Namespace::Class<ItemConfig_Card>::addData_AnnouncerVoice luabridge Class<ItemConfig_Card>::addData instance constant-folded to one call: registers Lua property "AnnouncerVoice" in __propget/__propset with member offset 0x5c (isWritable 1), closures ['FUN_008bc7f0', 'FUN_008bc4e0']; sole caller LuaEngine::RegisterAPI line in ItemConfig_Card beginClass block
008780f0 luabridge::Namespace::Class<ItemConfig_Card>::addData_CardType luabridge Class<ItemConfig_Card>::addData instance constant-folded to one call: registers Lua property "CardType" in __propget/__propset with member offset 0x58 (isWritable 1), closures ['FUN_008bc7f0', 'FUN_008bc4e0']; sole caller LuaEngine::RegisterAPI line in ItemConfig_Card beginClass block
00877f70 luabridge::Namespace::Class<ItemConfig_Card>::addData_PickupSubtype luabridge Class<ItemConfig_Card>::addData instance constant-folded to one call: registers Lua property "PickupSubtype" in __propget/__propset with member offset 0x54 (isWritable 1), closures ['FUN_008bc790', 'FUN_008bc4e0']; sole caller LuaEngine::RegisterAPI line in ItemConfig_Card beginClass block
00877de0 luabridge::Namespace::Class<ItemConfig_Card>::addData_GreedModeAllowed luabridge Class<ItemConfig_Card>::addData instance constant-folded to one call: registers Lua property "GreedModeAllowed" in __propget/__propset with member offset 0x50 (isWritable 1), closures ['FUN_008bc6c0', 'FUN_008bc720']; sole caller LuaEngine::RegisterAPI line in ItemConfig_Card beginClass block
00876b30 luabridge::Namespace::Class<ProjectileParams>::addData_Color luabridge Class<ProjectileParams>::addData instance constant-folded to one call: registers Lua property "Color" in __propget/__propset with member offset 0x2c (isWritable 1), closures ['FUN_008bbf50', 'FUN_008bbfb0']; sole caller LuaEngine::RegisterAPI line in ProjectileParams beginClass block
00876840 luabridge::Namespace::Class<ProjectileParams>::addData_GridCollision luabridge Class<ProjectileParams>::addData instance constant-folded to one call: registers Lua property "GridCollision" in __propget/__propset with member offset 0 (isWritable 1), closures ['FUN_008bbdb0', 'FUN_008bbe10']; sole caller LuaEngine::RegisterAPI line in ProjectileParams beginClass block
008763b0 luabridge::Namespace::Class<EntityRef>::addData_Entity luabridge Class<EntityRef>::addData instance constant-folded to one call: registers Lua property "Entity" in __propget/__propset with member offset 0x24 (isWritable 1), closures ['FUN_008bbbc0', 'FUN_008bbc60']; sole caller LuaEngine::RegisterAPI line in EntityRef beginClass block
008760c0 luabridge::Namespace::Class<EntityRef>::addData_Position luabridge Class<EntityRef>::addData instance constant-folded to one call: registers Lua property "Position" in __propget/__propset with member offset 0x10 (isWritable 1), closures ['FUN_008bba80', 'FUN_008bbb20']; sole caller LuaEngine::RegisterAPI line in EntityRef beginClass block
00875f40 luabridge::Namespace::Class<EntityRef>::addData_SpawnerType luabridge Class<EntityRef>::addData instance constant-folded to one call: registers Lua property "SpawnerType" in __propget/__propset with member offset 8 (isWritable 1), closures ['FUN_008bba20', 'FUN_008bb960']; sole caller LuaEngine::RegisterAPI line in EntityRef beginClass block
00875c50 luabridge::Namespace::Class<EntityRef>::addData_Type luabridge Class<EntityRef>::addData instance constant-folded to one call: registers Lua property "Type" in __propget/__propset with member offset 0 (isWritable 1), closures ['FUN_008bb900', 'FUN_008bb960']; sole caller LuaEngine::RegisterAPI line in EntityRef beginClass block
00875960 luabridge::Namespace::Class<Sprite>::addProperty_Color luabridge Class<Sprite>::addProperty instance constant-folded to one call: registers Lua property "Color" in __propget/__propset with getter Sprite::Color setter Sprite::SetColor, closures ['FUN_0089e740', 'FUN_0089e6b0']; sole caller LuaEngine::RegisterAPI line in Sprite beginClass block
00894950 luabridge::Namespace::Class<Game>::addProperty<int> luabridge Class<Game>::addProperty template instance (takes name param): rawget __propget/__propset, newuserdata(4*2) holds getter/setter, pushcclosure getter ['FUN_00899140', 'FUN_008990d0']; getter closure uses Stack<int>::push 0085bfd0 (CDQ); RegisterAPI calls it for BossRushParTime BlueWombParTime Challenge
008920c0 luabridge::Namespace::Class<Level>::addProperty<int> luabridge Class<Level>::addProperty template instance (takes name param): rawget __propget/__propset, newuserdata(4*2) holds getter/setter, pushcclosure getter ['FUN_00899710', 'FUN_008994f0']; getter uses Stack<int>::push 0085bfd0; RegisterAPI calls it for EnterDoor LeaveDoor DungeonReturnRoomIndex
0088fb80 luabridge::Namespace::Class<RoomDescriptor>::addData<short> luabridge Class<RoomDescriptor>::addData template instance (takes name param): rawget __propget/__propset, newuserdata(4) holds member offset, pushcclosure getter ['FUN_008c27f0', 'FUN_008c2790']; getter pushes *(short*); offsets 0xac/0xae 2 apart; RegisterAPI calls it for PoopCount ShopItemIdx ShopItemDiscountIdx
0088f890 luabridge::Namespace::Class<RoomDescriptor>::addProperty<bool> luabridge Class<RoomDescriptor>::addProperty template instance (takes name param): rawget __propget/__propset, newuserdata(4*2) holds getter/setter, pushcclosure getter ['FUN_008998c0', 'FUN_00899850']; getter pushes boolean; RegisterAPI calls it for Clear PressurePlatesTriggered SacrificeDone ChallengeDone SurpriseMiniboss HasWater NoReward
0088f720 luabridge::Namespace::Class<RoomDescriptor>::addData<unsigned_int> luabridge Class<RoomDescriptor>::addData template instance (takes name param): rawget __propget/__propset, newuserdata(4) holds member offset, pushcclosure getter ['FUN_008c26d0', 'FUN_008c2410']; getter uses Stack<unsigned_int>::push 0085bff0 (high dword 0); RegisterAPI calls it for DisplayFlags Flags VisitedCount DecorationSeed SpawnSeed AwardSeed
0088f430 luabridge::Namespace::Class<RoomDescriptor>::addData<RoomConfigRoom_ptr> luabridge Class<RoomDescriptor>::addData template instance (takes name param): rawget __propget/__propset, newuserdata(4) holds member offset, pushcclosure getter ['FUN_008c2470', 'FUN_008c2510']; getter wraps UserdataPtr (nil if null); RegisterAPI calls it for &DAT_00b7365c OverrideData
0088f2c0 luabridge::Namespace::Class<RoomDescriptor>::addData<int> luabridge Class<RoomDescriptor>::addData template instance (takes name param): rawget __propget/__propset, newuserdata(4) holds member offset, pushcclosure getter ['FUN_008c23b0', 'FUN_008c2410']; getter uses Stack<int>::push 0085bfd0; RegisterAPI calls it for GridIndex SafeGridIndex ListIndex PitsCount DeliriumDistance
0088e450 luabridge::Namespace::Class<RoomSpawn>::addData<short> luabridge Class<RoomSpawn>::addData template instance (takes name param): rawget __propget/__propset, newuserdata(4) holds member offset, pushcclosure getter ['FUN_008c1e80', 'FUN_008c1ee0']; getter pushes *(short*); X=0 Y=2; RegisterAPI calls it for &DAT_00b6a748 &DAT_00b6d134
0088e090 luabridge::Namespace::Class<RoomEntry>::addData<unsigned_short> luabridge Class<RoomEntry>::addData template instance (takes name param): rawget __propget/__propset, newuserdata(4) holds member offset, pushcclosure getter ['FUN_008c1cf0', 'FUN_008c1d50']; getter uses Stack<unsigned_short>::push 0085c010 (MOVZX DX); offsets 4/6; RegisterAPI calls it for Variant Subtype
0088ce40 luabridge::Namespace::Class<GridEntity_Rock>::addData<std::string> luabridge Class<GridEntity_Rock>::addData template instance (takes name param): rawget __propget/__propset, newuserdata(4) holds member offset, pushcclosure getter ['FUN_008c14a0', 'FUN_008c1510']; getter lua_pushlstring; RegisterAPI calls it for &DAT_00b7343c RubbleAnim
0088c2d0 luabridge::Namespace::Class<GridEntity_Door>::addData<std::string> luabridge Class<GridEntity_Door>::addData template instance (takes name param): rawget __propget/__propset, newuserdata(4) holds member offset, pushcclosure getter ['FUN_008c0f40', 'FUN_008c0fb0']; getter lua_pushlstring; RegisterAPI calls it for OpenAnimation CloseAnimation LockedAnimation OpenLockedAnimation
0088be50 luabridge::Namespace::Class<GridEntity_Door>::addData<bool> luabridge Class<GridEntity_Door>::addData template instance (takes name param): rawget __propget/__propset, newuserdata(4) holds member offset, pushcclosure getter ['FUN_008c0c10', 'FUN_008c0c70']; getter pushes boolean; offsets 0x390/0x391; RegisterAPI calls it for ExtraVisible Busted
0088bb60 luabridge::Namespace::Class<GridEntity_Door>::addData<int> luabridge Class<GridEntity_Door>::addData template instance (takes name param): rawget __propget/__propset, newuserdata(4) holds member offset, pushcclosure getter ['FUN_008c09b0', 'FUN_008c0a10']; getter uses Stack<int>::push 0085bfd0; RegisterAPI calls it for CurrentRoomType TargetRoomType Direction TargetRoomIndex
008024f0 Room::update_pressure_plates ECX=Room: scans grid (+0x24, w*h) for type 0x14 GRID_PRESSURE_PLATE, counts variant 0 plates and unpressed ones (state 0), variant 9 pressed; sets Room+0x7229 = any plates; when all pressed sets descriptor Flags(+0x44) bit 2 (PressurePlatesTriggered) and morphs fireplaces (type 0x21) variant 1->0 and 3->2 in the room entity list; called once per frame from Room::Update before update_door_transitions
007de4e0 std::vector<8byte>::insert_range MSVC vector range insert(pos, first, last) for 8-byte elements (1.5x growth, _Xlen at 0x1fffffff, memmove tail); Entity_Player::remove_twin calls it right after std::vector<4byte>::insert_range to append the twin's +0x1760..0x1764 vector into this player's
0063aef0 Entity_Familiar::sprinkler_shoot_laser ? ECX=the familiar (MOV ECX,EDI in FamiliarAI::sprinkler); Entity_Laser::ShootAngle(variant 2, this+0x33c pos, angle XMM1, timeout 3, offset (cos,sin)*dist-32), laser+0x515=1, Entity_Player::GetTearHitParams(weapon 3) copied into laser tear flags/color, spectral -> grid collision 6 else 3; sprinkler calls it for its Technology shots (extra for Mom's Eye 0x37, Monstro's Lung 0xe5, multishot)
004355c0 std::deque<120byte>::resize constant-folded resize(16): ECX={?,map +4,mapsize +8,off +0xc,size +0x10}, grows by allocating 0x78-byte single-element blocks (operator_new(0x78)) and zeroing them, then shrinks size back to 16; MSVC deque layout; caller Entity_Familiar::ai_umbilical_baby
0067a770 Entity_Tear::find_nearest_linkable_tear ? ECX=tear: EntityList::QuerySublist over room tears (Room+0x1218), skips self, keeps tears whose TearFlags (+0x428..0x434) intersect a flag mask and whose +0x494 link is null or not a tear (type 2), returns the nearest within 40; Entity_Tear::Update then calls FUN_0067ae30 to link this+0x494/0x498 with it (multiset EntityPtr refs)
0084d8b0 segment_intersect line segment p1(XMM0,XMM1)-p2(XMM2,XMM3) vs q1(param_1,param_2)-q2(param_3,param_4): denominator cross product, |d|>1e-5, both t,u in [0,1]; writes the hit x to *ECX and y to *EDX when non-null and returns 1; Entity_Laser::update_laser uses the result to clip _endPoint
007084c0 Game::recreate_render_targets called from Game::Render only when this->_triggerWindowResize != 0 (then cleared): resets ~18 KAGE::SmartPointer<RenderTargetBase>, init_room_render_surfaces, recenters a HUD element from g_screenWidth/Height, Game::create_render_surfaces, ModManager::create_shader_render_targets
00423310 std::vector<20byte>::_Emplace_reallocate MSVC vector grow+insert, 0x14-byte elements, max 0xccccccc, 1.5x growth, copies 5 dwords then memmoves halves; caller BossPool::load_xml
00a77bf0 KAGE::Network::Multiplayer::ServiceBase::ServiceBase constructor: stores ServiceBase::vftable, builds three std::list/map sentinels each guarded by a KAGE::Mutex (vftable at +0x10,+0x24,+0x38), sets g_multiplayerRelease; Multiplayer::set_service_provider calls it on operator_new(0x74/0xb0/0x68) before storing ServiceLocalhost/ServiceSteam/ServiceEOS vftables
007deaf0 std::vector<28byte>::_Resize_reallocate MSVC resize(n, val) growth path, 0x1c-byte elements, max 0x9249249, fills new tail via FUN_007de2f0 then moves old elements; sole caller vector28_resize
0065b500 Entity_Projectile::update_height_collision ECX=projectile: from height (+0x410) sets sprite offset Y (+0x350), _entityCollisionClass (+0x188) and _entityGridCollisionClass (+0x184) by ProjectileFlags (+0x438/+0x43c); fixed height -5.1 in room type 16 (crawlspace); called twice from Entity_Projectile::Update
006be7e0 NpcHelper::is_target_valid NpcAI::ENTITY_BABY_BEGOTTEN attack gate: a player target not invisible (Entity_Player::IsInvisible), or with npc flag 0x100 a vulnerable enemy without flag 0x20000000 (pass7_i6.md)