| 1 | # address | Qualified::Name | note (evidence; who/what found it) |
|---|
| 2 | # Forced renames: they beat ZHL, vtable, Lua and NpcTable names. Anything in NpcAI:: is typed __fastcall(Entity_NPC *npc), |
| 3 | # so put helpers that take other arguments in NpcHelper:: instead. Apply: scripts/apply_db.py (dump, instant), build.sh --db (Ghidra). |
| 4 | # |
| 5 | # NPC dispatch targets that carry wrong ZHL/ICF names (npc_ai.tsv column 4 shows the wrong name) |
| 6 | 005111b0 | NpcAI::ENTITY_HOST | type 27 + 859 Floating Host; sig matched as Entity::TeleportToRandomPosition |
| 7 | 0045fc00 | NpcAI::ENTITY_GATE | type 263; was MinimapConfig::Render |
| 8 | 00547b60 | NpcAI::ENTITY_LEPER | type 310; was GameOver::Show |
| 9 | 005492c0 | NpcAI::ENTITY_MR_MINE | type 311; was Entity_Familiar::Render (ICF); strs DigIn/DigOut/Shoot |
| 10 | 004f8df0 | NpcAI::ENTITY_BOMB_GRIMACE | type 809; was GridEntity_Fire::Update |
| 11 | 004dd7f0 | NpcAI::ENTITY_GASBAG | type 856; was FXLayers::AddPoopFx; strs Attack/Shoot/Sound |
| 12 | 00561a20 | NpcAI::ENTITY_FARTIGAN | type 874 (gas dwarf); was Entity_NPC::moms_heart_mausoleum_death |
| 13 | 00503af0 | NpcAI::ENTITY_DUST | type 882; was PlayerHUD::RenderActiveItem |
| 14 | # |
| 15 | # Bosses: real AI bodies the dispatcher reaches through a stub, or wrong names |
| 16 | 0057bec0 | NpcAI::ENTITY_ROTGUT_face | Rotgut face phase; was REPENTOGON Backdrop::pre_render_walls; strs Munch/FallIn/Attack1Begin |
| 17 | 004b1210 | NpcHelper::gideon_choose_attack | Gideon; was Console::SubmitInput; strs Attack2Start/Attack4Start |
| 18 | 0058aed0 | NpcAI::ENTITY_SINGE_body | Singe main AI; strs Blast/SuperFart/JumpBlast |
| 19 | 0058d8b0 | NpcAI::ENTITY_SINGE_ball | npc_ai.tsv names this ENTITY_SINGE but it is the ball (singe_ball.png, RollHori) |
| 20 | 0059a2d0 | NpcAI::ENTITY_TUFF_TWINS | strs ButtAttack/GutsAttack/AttackHead* |
| 21 | 005af800 | NpcAI::ENTITY_WORMWOOD_main | strs HeadBackStunned/HeadFrontStunned |
| 22 | 0049d130 | NpcAI::ENTITY_CHIMERA_body | strs RunHoriHeadless/Brimstone*/Leap |
| 23 | 005864b0 | NpcAI::ENTITY_SCOURGE_main | strs BroccoliAttack/Slice*/TrapDown |
| 24 | 0058ec70 | NpcAI::ENTITY_SIREN_main | strs Attack1*/Attack2B*/Recall/Revive |
| 25 | 0058e680 | NpcHelper::siren_pick | Siren helper (salvage siren_pick.c); verify |
| 26 | 004cca10 | NpcAI::ENTITY_MEGA_SATAN_hand | strs Smash/SmashHand1/Hiding/Reveal |
| 27 | 004830e0 | NpcHelper::the_lamb_pattern | The Lamb bullet pattern (salvage fb_lambpat.c) |
| 28 | 005ab4d0 | NpcAI::ENTITY_VISAGE_mask | strs ChargeBegin%s/LeftEye/RightEye/Break |
| 29 | # |
| 30 | # Enemy variant handlers reached from a shared type routine |
| 31 | 004da590 | NpcAI::ENTITY_ROTTEN_GAPER | 10.3, from NpcAI::ENTITY_GAPER |
| 32 | 004ddf00 | NpcAI::ENTITY_MAMA_FLY | 61.4, from NpcAI::ENTITY_FLY |
| 33 | 0054bca0 | NpcAI::ENTITY_BULB | 61.5/61.6, from NpcAI::ENTITY_FLY; strs Dash/FlyLit |
| 34 | 0054fa80 | NpcAI::ENTITY_WRINKLY_BABY | 38.3, from NpcAI::ENTITY_BABY |
| 35 | 005581b0 | NpcHelper::willo_orbit | Willo helper |
| 36 | 005583d0 | NpcHelper::willo_attack | Willo helper; str Shoot |
| 37 | 00557f70 | NpcHelper::willo_slot | Willo helper |
| 38 | 004b7e30 | NpcHelper::hornfel_charge | Hornfel; strs Charge*/Idle* |
| 39 | 004b8ca0 | NpcHelper::hornfel_attack | Hornfel; strs Attack1Double/Attack1Left... |
| 40 | # |
| 41 | # Player / familiar |
| 42 | 0064e0c0 | Entity_Familiar::ai_blood_clot | strs Float/Walk*; salvage c4_clot.c (Tainted Eve) |
| 43 | 007d5170 | Entity_Player::bag_of_crafting_collect | salvage c5_bag.c; str Collect |
| 44 | 007d6670 | Entity_Player::poop_spell_roll | salvage spellq.c (Tainted ???); weighted pick; verify |
| 45 | # |
| 46 | # Imported from src/anm2 and src/rooms decompile labels (hand-verified there) |
| 47 | 0082c720 | RoomConfig::GetRoomByStageTypeAndVariant | src/rooms labels; ZHL said ResetRoomWeights |
| 48 | 004a5cf0 | Sprite::GetDefaultAnimationName | src/anm2 labels (lua_GetDefaultAnimationName); ZHL said Config::GetNullItems |
| 49 | 00407170 | Color::Color | src/anm2 decompile labels (Color::Color()) |
| 50 | 004071f0 | Color::operator_assign | src/anm2 decompile labels (Color::operator=(const&)) |
| 51 | 00407690 | ANM2::ANM2 | src/anm2 decompile labels (ANM2::ANM2(copy)) |
| 52 | 00407a60 | LayerState::~LayerState | src/anm2 decompile labels (LayerState::~LayerState) |
| 53 | 00407e90 | ANM2::operator_assign | src/anm2 decompile labels (ANM2::operator=(ANM2)) |
| 54 | 00407f10 | ANM2::Reset | src/anm2 decompile labels (ANM2::Reset) |
| 55 | 00408170 | ANM2::~ANM2 | src/anm2 decompile labels (ANM2::~ANM2) |
| 56 | 004081d0 | LayerState::LayerState | src/anm2 decompile labels (LayerState::LayerState) |
| 57 | 00408310 | LayerState::Init | src/anm2 decompile labels (LayerState::Init(LayerInfo*)) |
| 58 | 00408590 | LayerState::GetTexture | src/anm2 decompile labels (LayerState::GetTexture) |
| 59 | 00408640 | LayerState::SetTexture | src/anm2 decompile labels (LayerState::SetTexture) |
| 60 | 004086e0 | AnimationState::AnimationState | src/anm2 decompile labels (AnimationState::AnimationState(owner,copy)) |
| 61 | 004087a0 | AnimationState::~AnimationState | src/anm2 decompile labels (AnimationState::~AnimationState) |
| 62 | 00408830 | AnimationState::SetAnimationData | src/anm2 decompile labels (AnimationState::SetAnimationData) |
| 63 | 00408970 | AnimationState::ChangeAnimationKeepFrame | src/anm2 decompile labels (AnimationState::ChangeAnimationKeepFrame) |
| 64 | 00408b90 | AnimationState::AdvanceLayerPosition | src/anm2 decompile labels (AnimationState::AdvanceLayerPosition(idx,xmm2 frame)) |
| 65 | 00408c10 | AnimationState::AdvanceNullLayerPosition | src/anm2 decompile labels (AnimationState::AdvanceNullLayerPosition(idx,xmm2 frame)) |
| 66 | 00408c90 | AnimationState::FireTriggersAtCurrentFrame | src/anm2 decompile labels (AnimationState::FireTriggersAtCurrentFrame) |
| 67 | 00408e00 | AnimationState::SetFrameFloat | src/anm2 decompile labels (AnimationState::SetFrameFloat(xmm1)) |
| 68 | 00408ef0 | AnimationState::SetLayerFrame | src/anm2 decompile labels (AnimationState::SetLayerFrame(layer,frame)) |
| 69 | 00408f70 | AnimationState::GetLayerFrameIdx | src/anm2 decompile labels (AnimationState::GetLayerFrameIdx(layer)) |
| 70 | 00408fc0 | AnimationState::SetNullLayerFrame | src/anm2 decompile labels (AnimationState::SetNullLayerFrame(null,frame)) |
| 71 | 00409030 | AnimationState::Update | src/anm2 decompile labels (AnimationState::Update) |
| 72 | 0040a1b0 | AnimationState::Rewind | src/anm2 decompile labels (AnimationState::Rewind) |
| 73 | 0040a220 | AnimationState::GetLayerFrame | src/anm2 decompile labels (AnimationState::GetLayerFrame(layer)->AnimationFrame*) |
| 74 | 0040a5d0 | ANM2::SetAnimation | src/anm2 decompile labels (ANM2::SetAnimation(cstr,reset)) |
| 75 | 0040add0 | AnimationState::IsEventTriggered | src/anm2 decompile labels (AnimationState::IsEventTriggered(name)) |
| 76 | 0040ae70 | AnimationState::WasEventTriggered | src/anm2 decompile labels (AnimationState::WasEventTriggered(name)) |
| 77 | 0040bea0 | ANM2::Reload | src/anm2 decompile labels (ANM2::Reload) |
| 78 | 0040c000 | ANM2::LoadGraphics | src/anm2 decompile labels (ANM2::LoadGraphics) |
| 79 | 0040c1e0 | LayerAnimation::LayerAnimation | src/anm2 decompile labels (LayerAnimation::LayerAnimation()) |
| 80 | 0040ca70 | memcmp_eq | src/anm2 decompile labels (memcmp_eq(ecx,edx,n)) |
| 81 | 0040cae0 | str_eq | src/anm2 decompile labels (str_eq(ecx,edx=len,s2,len2)) |
| 82 | 0040d240 | AnmCache::~AnmCache | src/anm2 decompile labels (AnmCache::~AnmCache) |
| 83 | 0040d4c0 | AnmCache::LogMemoryUsage | src/anm2 decompile labels (AnmCache::LogMemoryUsage) |
| 84 | 0040d850 | AnmFileData::Clear | src/anm2 decompile labels (AnmFileData::Clear) |
| 85 | 0040db90 | AnmCache::Load | src/anm2 decompile labels (AnmCache::Load(path,ANM2*)) |
| 86 | 0040e110 | AnmCache::AddRef | src/anm2 decompile labels (AnmCache::AddRef) |
| 87 | 0040e2b0 | AnmCache::RemoveRef | src/anm2 decompile labels (AnmCache::RemoveRef) |
| 88 | 0040e470 | AnmCache::Clear | src/anm2 decompile labels (AnmCache::Clear) |
| 89 | 0040e520 | TextureCache::Add | src/anm2 decompile labels (TextureCache::Add) |
| 90 | 0040e5d0 | TextureCache::Has | src/anm2 decompile labels (TextureCache::Has) |
| 91 | 0040e740 | TextureCache::Release | src/anm2 decompile labels (TextureCache::Release) |
| 92 | 0040e910 | TextureCache::Purge | src/anm2 decompile labels (TextureCache::Purge) |
| 93 | 0040ea10 | TextureCache::Preload | src/anm2 decompile labels (TextureCache::Preload) |
| 94 | 0040ea50 | AnmCache::Preload | src/anm2 decompile labels (AnmCache::Preload) |
| 95 | 0040ed50 | AnmCache::ParseFile | src/anm2 decompile labels (AnmCache::ParseFile(path,key)) |
| 96 | 00413bf0 | xml_node::first_attribute | src/anm2 decompile labels (xml_node::first_attribute(name)) |
| 97 | 00413c70 | xml_node::first_node | src/anm2 decompile labels (xml_node::first_node(name)) |
| 98 | 00414e00 | InterpolateNullFrames | src/anm2 decompile labels (InterpolateNullFrames(ecx=buf,edx=&count,scratch)) |
| 99 | 00415170 | InterpolateLayerFrames | src/anm2 decompile labels (InterpolateLayerFrames(ecx=buf,edx=&count,scratch)) |
| 100 | 00440e50 | set_PlaybackSpeed | src/anm2 decompile labels (set_PlaybackSpeed) |
| 101 | 00499d20 | fmodf | src/anm2 decompile labels (fmodf) |
| 102 | 0067f670 | ResolveRelativePath | src/anm2 decompile labels (ResolveRelativePath(out,anmPath,edx=rel)) |
| 103 | 006828b0 | LerpAngleDeg | src/anm2 decompile labels (LerpAngleDeg(xmm0 a,xmm1 b,xmm2 t)) |
| 104 | 006832e0 | Color::Lerp | src/anm2 decompile labels (Color::Lerp(out,a,b,t)) |
| 105 | 00a112c0 | KAGE_LogMessage | src/anm2 decompile labels (KAGE_LogMessage(level,fmt,...)) |
| 106 | 00a16060 | FileSystem::GetMountPrefixes | src/anm2 decompile labels (FileSystem::GetMountPrefixes) |
| 107 | 00a17180 | FileSystem::ResolvePath | src/anm2 decompile labels (FileSystem::ResolvePath) |
| 108 | 00a68490 | GetTimeNs | src/anm2 decompile labels (GetTimeNs) |
| 109 | 004288a0 | std::set<int>::find_node | src/rooms decompile labels (std::set<int>::find_node) |
| 110 | 006da750 | std::bitset<8>::any | src/rooms decompile labels (std::bitset<8>::any) |
| 111 | 006ef3e0 | RoomConfigRoom::dtor | src/rooms decompile labels (RoomConfigRoom::dtor (name only)) |
| 112 | 006f3c00 | Game::ReloadStagesXmlOnLuaReset | src/rooms decompile labels (Game::ReloadStagesXmlOnLuaReset) |
| 113 | 006f4740 | Game::LoadConfigXmls | src/rooms decompile labels (Game::LoadConfigXmls(stages,curses,...)) |
| 114 | 006f9400 | Seeds::GetForcedCurses | src/rooms decompile labels (Seeds::GetForcedCurses?) |
| 115 | 006f95a0 | Seeds::GetPreventedCurses | src/rooms decompile labels (Seeds::GetPreventedCurses?) |
| 116 | 00744940 | Level::Init | src/rooms decompile labels (Level::Init) |
| 117 | 00751650 | Level::GenerateHome | src/rooms decompile labels (Level::GenerateHome?) |
| 118 | 00752c30 | std::bitset<8>::to_string | src/rooms decompile labels (std::bitset<8>::to_string(out)) |
| 119 | 007e9080 | RNG::RandomFloat | src/rooms decompile labels (RNG::RandomFloat) |
| 120 | 007e90f0 | RNG::Next | src/rooms decompile labels (RNG::Next) |
| 121 | 007ec100 | Room::TransformEntry | src/rooms decompile labels (Room::TransformEntry?(out,gridIdx,seed)) |
| 122 | 007ed310 | Room::SpawnEntry | src/rooms decompile labels (Room::SpawnEntry(gridIdx,Entry*,seed,b,b) ret14) |
| 123 | 007f2800 | Room::Init | src/rooms decompile labels (Room::Init(cfgRoom,desc)) |
| 124 | 00828b60 | RoomConfigMode::ctor | src/rooms decompile labels (RoomConfigMode::ctor) |
| 125 | 00828c00 | RoomConfigMode::Clear | src/rooms decompile labels (RoomConfigMode::Clear) |
| 126 | 00828f00 | RoomConfigStage::ctor | src/rooms decompile labels (RoomConfigStage::ctor) |
| 127 | 00829260 | RoomConfigMode::dtor | src/rooms decompile labels (RoomConfigMode::dtor?) |
| 128 | 00829290 | VariantRanges::Insert | src/rooms decompile labels (VariantRanges::Insert(variant)->bool newlyInserted) |
| 129 | 00829500 | RoomConfigStage::GetDisplayName | src/rooms decompile labels (RoomConfigStage::GetDisplayName) |
| 130 | 00829710 | RoomConfig::LoadRoomFromXmlFile | src/rooms decompile labels (RoomConfig::LoadRoomFromXmlFile(ecx=Room*,edx=path) (--load-room)) |
| 131 | 00829af0 | RoomConfigRoom::ParseXml | src/rooms decompile labels (RoomConfigRoom::ParseXml(node)) |
| 132 | 0082a9c0 | RoomConfig::ResetStageWeights | src/rooms decompile labels (RoomConfig::ResetStageWeights(stageId,mode) ret8) |
| 133 | 0082aa40 | RoomConfig::LoadStageBinary | src/rooms decompile labels (RoomConfig::LoadStageBinary(stageId,mode) thiscall ret8) |
| 134 | 0082aea0 | RoomConfig::ReadRoom | src/rooms decompile labels (RoomConfig::ReadRoom(ecx=mode,edx=idx,stack:stageId,File*)) |
| 135 | 0082b2f0 | RoomConfig::LoadStagesXml | src/rooms decompile labels (RoomConfig::LoadStagesXml(path) thiscall ret4) |
| 136 | 0082bd60 | RoomConfigStage::operator_assign | src/rooms decompile labels (RoomConfigStage::operator=(const&)) |
| 137 | 0082bf00 | RoomConfig::LoadCursesXml | src/rooms decompile labels (RoomConfig::LoadCursesXml(path,flag)?) |
| 138 | 0082cdd0 | RoomConfig::GetRandomRoomWithFallbackStage | src/rooms decompile labels (RoomConfig::GetRandomRoomWithFallbackStage? ret34) |
| 139 | 0082ce40 | RoomConfig::CollectRooms | src/rooms decompile labels (RoomConfig::CollectRooms(out vector<Room*>,stageId,type,shape,minVar,maxVar,minDiff,maxDiff,doors*,subtype,mode) ret2c) |
| 140 | 0082d000 | RoomConfig::GetStageDisplayName | src/rooms decompile labels (RoomConfig::GetStageDisplayName(out,stageId,?)) |
| 141 | 0082d100 | RoomConfig::GetStageIdByName | src/rooms decompile labels (RoomConfig::GetStageIdByName?(std::string*)) |
| 142 | 0082d320 | RoomConfig::ClearGeneratedRooms | src/rooms decompile labels (RoomConfig::ClearGeneratedRooms) |
| 143 | 0082d4a0 | RoomConfig::MergeRoomsIntoGenerated | src/rooms decompile labels (RoomConfig::MergeRoomsIntoGenerated?(roomA,roomB,shape)) |
| 144 | 0082d880 | RoomConfig::GetRandomSplitRoom | src/rooms decompile labels (RoomConfig::GetRandomSplitRoom (Curse of Giant) ret30) |
| 145 | 008f8040 | ModManager::LoadModRooms | src/rooms decompile labels (ModManager::LoadModRooms(stageId,mode) ret8) |
| 146 | 008f86c0 | ModManager::LoadModCurses | src/rooms decompile labels (ModManager::LoadModCurses) |
| 147 | 008f99c0 | Mod::GetContentPath | src/rooms decompile labels (Mod::GetContentPath(out,name) (content-dlc3/ then content/)) |
| 148 | 00a0f4e0 | operator_new_tracked | src/rooms decompile labels (operator_new_tracked) |
| 149 | 00a178d0 | FileSystem::Open | src/rooms decompile labels (FileSystem::Open) |
| 150 | 0x0059e730 | NpcHelper::UltraGreed_Smash | shockwave+blast+door lasers (ultra greed port) |
| 151 | 0x0059e630 | NpcHelper::UltraDoor_Opposite | door slot -> opposite door entity |
| 152 | 0x0059e2a0 | NpcHelper::UltraGreed_Heal | hp += mhp*.00125*n, i2+=n |
| 153 | 0x00801ee0 | Room::UpdateGreedWave | greed timer, stage 7 boss trigger |
| 154 | 0x006bf120 | NpcHelper::ChampionDrop | champion death drop, off in greed |
| 155 | # |
| 156 | # Lua registration beats a short REPENTOGON sig that matched the wrong function (game's own Lua table names these) |
| 157 | 007fb250 | Room::SpawnClearAward | Lua Room:SpawnClearAward; ZHL sig said Entity_Bomb::Update; called from Room::TriggerClear |
| 158 | 006ae0a0 | Entity::AddFear | Lua Entity:AddFear; ZHL sig said Entity_Familiar::RemoveFromPlayer |
| 159 | 006d0ca0 | Entity_NPC::QueryNPCsSpawnerType | Lua EntityNPC:QueryNPCsSpawnerType; ZHL sig said PersistentGameData::SaveLocally |
| 160 | 00780560 | Entity_Player::GetBombFlags | Lua EntityPlayer:GetBombFlags; ZHL sig said GridEntity_Pit::Update |
| 161 | 007ab380 | Entity_Player::AnimateCollectible | Lua EntityPlayer:AnimateCollectible; ZHL sig said HasCollectible (real one 007706e0) |
| 162 | 007bf1a0 | Entity_Player::FireDelayedBrimstone | Lua EntityPlayer:FireDelayedBrimstone; ZHL sig said Entity_NPC::MakeBloodSplash |
| 163 | 007e6300 | PathFinder::MoveRandomly | Lua PathFinder:MoveRandomly; ZHL said NPCAI_Pathfinder::MoveRandomlyBoss |
| 164 | # |
| 165 | # Most-called unnamed helpers of gameplay code (subagent review of body + strings, 2026-10-24); check the evidence before relying on one |
| 166 | 006eef60 | Random | global MT19937 genrand (624-word state, tempering) with rand() fallback; ZHL `unsigned int Random()`; result used as spawn seed |
| 167 | 004cf210 | std::multiset<unsigned_int>::erase | tree equal_range by key, counts and erases nodes; used to unregister EntityPtr slot before reassigning |
| 168 | 00435c70 | EntityRef::EntityRef | zeroes type/variant/spawner, pos/vel = zero vector, flags/entity 0; EntityRef layout 0x28 |
| 169 | 00431310 | EntityRef::constructor | fills EntityRef from Entity* (type 0x28, variant 0x2c, pos 0x33c, vel 0x360, charm/friendly flags); ZHL EntityRef::constructor(Entity*) |
| 170 | 0040b090 | ANM2::WasEventTriggered | null-checks anim state at +0x34 then AnimationState::WasEventTriggered |
| 171 | 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 |
| 172 | 004073d0 | Sprite::SetColor | copies 0x2c-byte Color into ANM2+0xa8 (Lua Sprite.Color getter returns this+0xa8) |
| 173 | 0067f260 | vector_to_direction | returns LEFT 0/UP 1/RIGHT 2/DOWN 3 from dominant axis sign of a Vector |
| 174 | 0040a6e0 | ANM2::SetFrame | SetAnimation(name) then AnimationState::SetFrameFloat and clears playing flag; ZHL ANM2::SetFrame(anim, frame) |
| 175 | 00417170 | BitSet128::operator_and | ANDs four dwords of two 128-bit masks (entity flag sets) |
| 176 | 004e45c0 | std::set<int>::insert | find_node, allocates 0x14 node with key, returns pair<iterator,bool> |
| 177 | 007ca7c0 | Entity_Player::ClampGoldenHearts | caps golden hearts (0x194c) to heart containers count; called from AddMaxHearts/AddHearts/AddSoulHearts/RemoveBlackHeart |
| 178 | 009be6b0 | PlayerManager::FirstTrinketOwner | iterates player list, GetTrinketMultiplier, prefers player with Mom's Box (439); REPENTOGON PlayerManager::FirstTrinketOwner shape |
| 179 | 00930220 | TemporaryEffects::AddEffect | merges/pushes 16-byte {ItemConfig*,count,cooldown} entry, ORs item cache flags (+0x54), AddCostume on owning player |
| 180 | 006a9360 | Entity::SetSpawnerEntity | EntityPtr assign to this+0x3c8 (Lua Entity.SpawnerEntity getter reads 0x3c8): unregister old, register new |
| 181 | 006a9140 | Entity::GetPlayerAncestor | walks Parent (0x3bc) then SpawnerEntity (0x3c8) chains with cycle-guard set, returns first entity of type 1 (player) |
| 182 | 00431450 | Entity::AddVelocity | velocity(0x360) += vec * (ignoreFriction ? 1 : friction 0x39c); Lua Entity:AddVelocity |
| 183 | 006a9ba0 | Entity::GetCollisionCapsule | Capsule::constructor(pos+offset, size 0x374, ...); ZHL Entity::GetCollisionCapsule(Vector*) |
| 184 | 0041cb60 | std::min<int> | returns pointer to smaller of two ints |
| 185 | 00956110 | input_is_action_pressed | game-level wrapper: Lua hook, then each controller vfunc or Input::IsActionPressed callback FUN_00a20940 |
| 186 | 009561e0 | input_is_action_triggered | same wrapper as input_is_action_pressed but with IsActionTriggered callback FUN_00a209e0 |
| 187 | 0042f430 | std::vector<Vector>::_Emplace_reallocate | growth 1.5x of 8-byte elements, length_error at 0x1fffffff |
| 188 | 0040d0e0 | Color::Color | sets tint r,g,b,a, zero colorize, offsets r,g,b (11-float Color layout) |
| 189 | 00435a50 | sqrtf | float sqrt wrapper calling libm_sse2_sqrt_precise for negatives |
| 190 | 00aef15c | operator_delete | thunk to free-like; called with (ptr,size) from string _Tidy |
| 191 | 00499d60 | atan2f | float wrapper around _CIatan2 |
| 192 | 0040d040 | std::string::_Tidy_deallocate | frees heap buffer if cap>15, resets size 0 cap 15 |
| 193 | 00aef29d | _Init_thread_header | MSVC thread-safe static init guard with critical section/_Init_thread_wait |
| 194 | 0040c340 | std::string::string_from_cstr | strlen then assign; init cap 15 |
| 195 | 00417840 | std::vector::size | (end-begin)>>2, ICF-folded |
| 196 | 00a10450 | Vector::operator_add_assign | adds x,y in place |
| 197 | 00a10540 | Vector::operator_mul_assign | scales x,y by float in place |
| 198 | 00435c20 | BitSet128::operator_or | ors four dwords of two 128-bit sets |
| 199 | 00682740 | normalize_angle_degrees | fmod by 360 when |a|>360, compare against 180 |
| 200 | 006d0300 | Entity_NPC::SetBossColorIdx | writes _bosscoloridx, reloads graphics and reapplies animation |
| 201 | 0041d520 | sin | tail-calls libm_sse2_sin_precise |
| 202 | 00956780 | seed_fart_sound_override | if SEED_FART_SOUNDS(7) active, replaces sound id with 37 (fart) or 1/20 301 |
| 203 | 00a10630 | Vector::operator_ne | compares two float pairs, returns 1 if different |
| 204 | 00a0f4c0 | operator_new | allocator used by std::_Allocate; calls FUN_00a648b0(size,0) |
| 205 | 0067f170 | Vector::ToCardinal | snaps vector to dominant axis unit vector (+-1,0)/(0,+-1) |
| 206 | 0040cf00 | std::_Allocate | MSVC allocate with >=0x1000 32-byte alignment path (+0x23, store raw ptr at -4) |
| 207 | 0040cf50 | std::string::string | copy ctor: SSO copy if <16 else allocate+memcpy |
| 208 | 00435a80 | Color::Color | writes 11 floats: rgb, a=1, colorize/offset zeroed (Color struct layout) |
| 209 | 00aef253 | _Init_thread_footer | increments epoch under critical section, __Init_thread_notify |
| 210 | 006b6470 | play_sound_with_fart_seed | applies fart-seed override then SoundEffects::Play |
| 211 | 00aefca0 | __ftoui3 | float->uint conversion, AVX512 vcvttss2usi fast path |
| 212 | 004171b0 | BitSet128::IsNonZero | true if any of four dwords nonzero (tear-flag style 128-bit set) |
| 213 | 00592230 | BitSet128::IsZero | true if all four dwords zero |
| 214 | 0041cb80 | std::max<int> | returns pointer to larger of two ints |
| 215 | 004f8940 | PlayerManager::AnyoneHasCollectible | FirstCollectibleOwner(id,..,1) != null |
| 216 | 004171d0 | Vector::operator_mul | float scalar times vector |
| 217 | 004a11c0 | std::vector<8byte>::_Emplace_reallocate | grow 1.5x, insert 8-byte element, memmove halves |
| 218 | 00428590 | std::vector<4byte>::_Emplace_reallocate | grow 1.5x, insert 4-byte element, memmove halves |
| 219 | 00435ad0 | Color::Color | rgb,a floats plus int offsets /255 into Color struct |
| 220 | 0067f0d0 | RandomVector | RNG xorshift(3,1,14) float*2pi -> cos,sin unit vector |
| 221 | 0044bcc0 | std::deque<int>::resize | grows map blocks of 4 via operator_new(0x10), shrinks size |
| 222 | 006f0090 | EntityFactory::Create | pool alloc by type (1000 -> effect ring of 0x400), strings 'EntityFactory cannot spawn Entity_Player' |
| 223 | 0041d540 | cos | thunk to libm_sse2_cos_precise |
| 224 | 004e4690 | pow | thunk to libm_sse2_pow_precise |
| 225 | 0040b030 | Sprite::IsEventTriggered | null-checks anm data (+0x34) then AnimationState::IsEventTriggered |
| 226 | 0040b1d0 | Sprite::GetNullFrame | null-checks anm data then AnimationState::GetNullFrame(this+0x30) |
| 227 | 0040b200 | Sprite::GetLayer | thunk to ANM2::GetLayer on same this |
| 228 | 00a10600 | Vector::operator_eq | compares x and y floats of two vectors |
| 229 | 00a0fe90 | Vector::Vector | stores XMM1/XMM2 into x,y |
| 230 | 0041cb70 | std::max<float> | returns pointer to larger of two floats |
| 231 | 004238f0 | Color::Color | sets 4 tint floats, zeroes colorize+offset (0x2c struct) |
| 232 | 0042cfd0 | Color::Color | tint rgb + alpha 1.0, colorize 0, 3 offset params (0x2c struct) |
| 233 | 00435b50 | Color::Color | all 11 fields of 0x2c Color struct from args |
| 234 | 004071c0 | Color::operator_assign | copies 0x2c-byte (11 dword) Color struct |
| 235 | 00709c40 | GridEntity::GridEntity | writes GridEntity vftable and constructs ANM2 member |
| 236 | 006b5b50 | EntityPtr::SetReference | release old ref (004cf210), store entity, add ref (004cdcf0) |
| 237 | 006a92e0 | Entity::SetChild | EntityPtr set on Entity+0x3c0 (_child) |
| 238 | 006a9320 | Entity::SetTarget | EntityPtr set on Entity+0x3c4 (_target) |
| 239 | 009e24a0 | std::map<unsigned_long_long>::find | lower_bound + 64-bit key compare, returns end() on miss |
| 240 | 007fa920 | RoomClear_PickVariant | room clear award variant: Smelter 1/50 trinket, Guppy's Tail chests (items sweep 10) |
| 241 | 006ddcd0 | Pickup_PickVariant | random pickup variant/subtype picker; Daemon's Tail reroll (items sweep 10) |
| 242 | # |
| 243 | 007cd950 | Entity_Player::Teleport | TeleportUp/TeleportDown strings; recurses for twin at +0x1e68; ZHL put the name on 008c99b0 |
| 244 | 0085e680 | Entity::IsVulnerableEnemy_lua | Lua glue; the logic is 006ac560 |
| 245 | 004cdcf0 | std::multiset<unsigned_int>::insert | wraps tree insert; pairs with multiset::erase in EntityPtr setters |
| 246 | 006d82d0 | Entity_NPC::GetControllerInput | reads input actions 0-3/4-7 for NPC _controllerID 0xf1c; confusion/mirror-world flip |
| 247 | 004175b0 | EntityList_Query::~EntityList_Query | ?frees query result buffer (tracked free) after ENTITY_MASK-folded room query |
| 248 | 006a92a0 | Entity::SetParent | unregister/re-register EntityPtr at Entity+0x3bc (_parent) |
| 249 | 0042c920 | std::vector<unsigned_int>::_Emplace_reallocate | MSVC vector grow+insert, 4-byte elems |
| 250 | 006ac7e0 | Entity::CountRelatedEntities | ?room query by partition, counts/collects entities passing Entity::IsRelatedTo; friendly spawn caps |
| 251 | 0040a550 | ANM2::IsFinishedImpl | body of Sprite::IsFinished thunk; animData null/!isPlaying + name compare |
| 252 | 006d7d60 | Entity::IsHostileTo | ?compares FLAG_CHARM 0x100/FLAG_FRIENDLY 0x20000000 vs other's type player/bomb/familiar |
| 253 | 00706940 | Game::GetChallengeParams | returns Game+0x26640 daily params if _dailyChallenge else Manager table[Game::_challenge] |
| 254 | 004073b0 | AnimationState::IsLoopingAnimation | _animData(+4)->_loop(+0x34) per zhl AnimationData |
| 255 | 00791320 | Entity_Player::GetActiveMaxCharge | slot->item/varData, slot 3 returns 0; calls per-item max charge 007911f0 |
| 256 | 007dd3b0 | Vector::operator_assign | ?8-byte copy (ICF-foldable) |
| 257 | 00431640 | EntityList::HitListContains | ?binary_search of Entity::GetHitListIndex in sorted uint vector |
| 258 | 006d0c20 | Entity_NPC::SetRef_bec | ?EntityPtr setter for Entity_NPC+0xbec (unknown ref, used in segmented bosses) |
| 259 | 00440e30 | AnimationState::GetAnimationLength | _animData(+4)->_length(+0x30) |
| 260 | 009be530 | PlayerManager::GetRandomPlayer | ?xorshift-random pick among players variant 0, not coop ghost (0x20a9), not 0x202c, 0x17e0>2 |
| 261 | 006e21f0 | Entity_Pickup::UpdateSprite | ?per-variant spritesheet swaps (chest coinslot, IsaacBed_Barren, blind collectible) |
| 262 | 00456570 | ShockwaveParams::ShockwaveParams | defaults (-150,0,0,0.01,0.1,0,5) passed to Room shockwave setter 0081df10 |
| 263 | 00a0fe80 | EntityPtr::clear | ?zero two dwords (ICF) |
| 264 | 008279a0 | Room::IsGravityDungeon | ?RoomConfig stage 0x23 type 16 (dungeon); projectiles/tears fall |
| 265 | 007ca2d0 | Entity_Player::BreakGoldenHearts | ?count>0: plays sound, spawns coins 5.20 + midas freeze, UltraGreedCoins anm2, CrumbleNoDebris |
| 266 | 006acd10 | Entity::IsDamageSourceFriendly | ?EntityRef source vs FLAG_FRIENDLY/charm; tear/projectile collision skip |
| 267 | 00a115c0 | copy_20_bytes | ?5-dword struct copy (ICF) |
| 268 | 007dd380 | scale_for_hard_difficulty | returns ECX*8 when g_game+0x26614 (difficulty) >= 2, else ECX |
| 269 | 006a2030 | Entity_Bomb::IsRocket | ?variant 19/20 (BOMB_ROCKET/ROCKET_GIGA in Rep+); used in bomb update/collision |
| 270 | 004997f0 | std::string::append | MSVC basic_string append(ptr,len) |
| 271 | 00435cf0 | set_field_358 | ?trivial +0x358 setter, ICF-foldable; this unclear |
| 272 | 0042c880 | std::vector<unsigned_int>::_Reallocate | reserve: allocate, memmove, change_array |
| 273 | 00417860 | Game::GetPlayerManager | returns Game+0x1baa8 _playerManager |
| 274 | 0040c550 | KAGE::SmartPointer::operator_assign | ?refcounted ptr assign via vtable +4/+0xc (LayerState::GetTexture, ANM2::LoadGraphics) |
| 275 | 006fe410 | Game::SpawnEx | Game::Spawn (lua) is a thunk passing all args plus trailing 0 flag |
| 276 | 006ac760 | Entity::GetIntervalTicks | ? (prev+off)/interval vs (cur+off)/interval tick count, 0 if paused or flag 0x4000 |
| 277 | 006d8260 | Entity_NPC::IsControllerActionPressed | input_is_action_pressed on _controllerID 0xf1c |
| 278 | 0040a940 | ANM2::PlayOverlay | Sprite::PlayOverlay wrapper; compares current overlay name, force flag |
| 279 | 006d9050 | Entity_NPC::UpdateControllerMovement | reads controller move vector into 0xf20/0xf24, zero if _controllerID -1 |
| 280 | 00682a50 | approach_angle | steps angle toward target by max delta with 360 wrap |
| 281 | 004565e0 | Room::SetGridPath | grid idx<448, writes room+0x76c[idx] if current <951; called (GetGridIndex,900) |
| 282 | 006d8240 | Game::IsHardMode | Game _difficulty 0x269c8 == 1 or 3 |
| 283 | 0074f690 | Level::GetRoomStageType | ? per-room stage type lookup tables; returns _stageType by default; challenge 0x2c path |
| 284 | 007c9ea0 | Entity_Player::UpdateHeartDependentEffects | ? called after every heart change; Whore of Babylon/Crown of Light effects, rotten clamp |
| 285 | 00665c60 | Game::IsInTimedSet | ? std::set<int> lookup with value<=param check, Game+0x1bbd8 end |
| 286 | 007abe90 | Entity_Player::PlayExtraAnimation | swaps player anm2, SetAnimation, sets 0x1398=0 0x139a=1; used by AnimatePickup/Collectible |
| 287 | 00638e30 | spawn_blue_spider | ? spawns familiar 3.73 (blue spider) toward pos, random near free spot if zero |
| 288 | 0096ce90 | Entity_NPC::SetAimAngle | ? sets 0x418/0x41c (prev to 0x420) and 0xec=angle-90; Pin/Vis/Raglich |
| 289 | 006d8290 | Entity_NPC::IsControllerActionTriggered | input_is_action_triggered on _controllerID 0xf1c |
| 290 | 00425ac0 | Player_stats_add | ? adds float to per-player stat slot <0x16; Entity::Kill uses ids 0x11/0x14/0x15 |
| 291 | 009595e0 | Manager::IsGameplayInputActive | ? Manager state checks (pause/menus), callers Game::Start, AddCharmed |
| 292 | 00703ab0 | Game::GetNearestPlayerEx | ? nearest player loop with bool filters (hologram), next to GetNearestPlayer |
| 293 | 0067efe0 | random_float | ? tail-calls Random, result used as 0..1 float (ICF-foldable) |
| 294 | 009e5c00 | award_fly_kill_points | ? called on fly kills; spawns ENTITY_TEXT 9001 with points, adds to this+0x54 |
| 295 | 007a6300 | Entity_Player::ShootCandle | Red Candle 0x268 / Blue Candle 0x1ef, random pick if both |
| 296 | 00683060 | apply_sprite_shader_params | ? sets ColorOffset/Colorize/ClipPlane/PixelationAmount/TextureSize uniforms |
| 297 | 00499410 | std::deque<int>::_Growmap | doubling map realloc with memmove (deque growth) |
| 298 | 00409120 | AnimationLayer::RenderFrame | ? layer render with ChampionColor, GetSourceQuad, shader params |
| 299 | 00417850 | Game::GetField26614 | ? returns &Game+0x26614 (counter compared <2 in many places) |
| 300 | 00a648b0 | tracked_alloc | malloc/free with byte counter in global (mode 0 alloc,1 free,2 merge) |
| 301 | 006cae60 | Entity_NPC::IsTargetInAttackRange | controlled->input nonzero; else player target dist<range + Room::CheckLine |
| 302 | 006d85a0 | Entity_NPC::GetControllerMovementInput | reads input actions 0-7 for _controllerID 0xf1c, normalizes, mirror on flipped stage |
| 303 | 009568e0 | SoundEffects::PlayWithFartOverride | ? seed_fart_sound_override then SoundEffects::Play |
| 304 | 0040ccd0 | std::string::assign | assign(ptr,len) with SSO grow |
| 305 | 006d8b20 | Entity_NPC::SpawnControlTarget | controlled npc spawns effect 1000.30 target at 0xf28 using controller input |
| 306 | 0060b890 | Entity::SpawnFollowingEffect198 | ? spawns effect 1000.198, FollowParent, SetColor, timeout |
| 307 | 00a0f550 | KColor::SetFromARGB | unpacks ARGB uint into 0-1 floats |
| 308 | 006a8fa0 | Entity::IsDescendantOf | walks _parent 0x3bc and _spawnerEntity 0x3c8 chains for target |
| 309 | 007079c0 | Entity::RemoveWithPoof | spawns effect 1000.15 poof with color then vtable Remove |
| 310 | 00499190 | std::deque::push_back | 8-byte elements, 2 per block map growth |
| 311 | 004a5d10 | ANM2::LoadDeliriumForm | ? reloads entity anm2, rewrites layer paths to Bosses/AfterbirthPlus/DeliriumForms |
| 312 | 0074e9b0 | Level::IsMausoleumHeartStage | ? effective stage 6 (labyrinth adj) alt path + GameStateFlag 0x2e |
| 313 | 00431570 | sorted_vector_insert_unique | binary search lower_bound then insert uint if absent |
| 314 | 00791530 | Entity_Player::GetActiveMaxCharge | slot active item ItemConfig +0xac maxcharges, special-case item 35 |
| 315 | 004d6ee0 | invoke_pending_callbacks | ? calls global fnptrs if objects at +0x70/+0x68 report ready |
| 316 | 00420a80 | sprintf | (buf,fmt,...) via vsprintf |
| 317 | 00956940 | SoundEffects::PlayWithFartOverride2 | ? seed_fart_sound_override then Play, extra arg variant |
| 318 | 006d88b0 | Entity_NPC::TransferControl | moves _controllerID 0xf1c to new npc, repoints players 0x3c4 |
| 319 | 004e47c0 | std::vector::clear | clear(isFree): reset end or deallocate |
| 320 | 009a8970 | HUD::mark_all_slots_dirty | ECX is the HUD (Game+0x1da04) |
| 321 | 0070ee40 | GridEntity_Door::UpdateAnimation | door anm2 states Hidden/Idle/KeyOpen/GoldenKeyOpen |
| 322 | 00675fc0 | Entity_Projectile::SetHeight | ? sets 0x410 height and 0x350 offset, room-type 16 clamp |
| 323 | 004561b0 | str_eq_cstr | strlen then str_eq |
| 324 | 004172f0 | Entity::SetPositionOffset | writes _posOffset 0x34c |
| 325 | 00812f50 | Room::GetClampedPositionImpl | only callee GetLRoomAreaDesc; clamps vec to room bounds, wrapped by Room::GetClampedPosition |
| 326 | 0041a790 | EntityList::QueryRadius | (result,pos,partitions) radius xmm3; callers iterate result list of entities |
| 327 | 006ac560 | Entity::IsVulnerableEnemy | only gameplay callee of Lua IsVulnerableEnemy glue 0085e680; type 10..999, not friendly/dead/collisionclass0 |
| 328 | 0040a4d0 | ANM2::IsPlaying | compares name vs animState._animData name, checks _isPlaying (0x44); wrapped by Sprite::IsPlaying |
| 329 | 006d8d30 | Entity_NPC::GetAimTargetPosition | ? returns pos of entity at npc+0xf28 else own pos; shooter AIs |
| 330 | 009e0680 | trigger_set_dispatch | ? reentrancy-guarded loop over set<uint> ids calling 009e14b0 (UseActiveItem/Spawn/Fart effect runner) |
| 331 | 00676150 | Entity_Tear::SetTearFlags | called after BitSet128 or/and on tear flags; loads per-flag effect anm2s (TearHalo, DarkMatter...) |
| 332 | 00865340 | lua_callback_run_get_card | MC_GET_CARD-style: (rng,card,playing,runes,onlyRunes) after ItemPool::GetCard, returns int override |
| 333 | 008646e0 | lua_callback_run_pre_entity_spawn | args type,variant,pos,vel,spawner,subtype,seed; returns table override |
| 334 | 004567b0 | Entity::IsFriendly | flags & 0x20000000 (FLAG_FRIENDLY); tiny, ICF-foldable |
| 335 | 0075bf00 | Entity_Player::UpdateCostumes | rebuilds costume sprites; called by AddCostume/RemoveCostume/EvaluateItems, costume skin alt strings |
| 336 | 00499380 | std::deque<ptr>::_Tidy | clears elements (size 0x10 blocks), frees map |
| 337 | 006b9740 | Entity::IsPlayerInRadius | ? not friendly; any player within xmm2 radius of pos, or QueryRadius finds familiar variant 0x3e |
| 338 | 00a114d0 | BlendMode::SetMode | fills 5 blend factor ints for mode 0/1/2; used on ANM2::GetLayer results |
| 339 | 00708250 | PlayerManager::GetGFuelCount | ? only if SEED_G_FUEL (79) active; sums FUN_007db860 over main players |
| 340 | 004cdd80 | Room::RaiseGridPathAtPos | ? pos->grid idx (40px grid, y-120), raises room+0x76c[idx]%1000 path value, max 0x3b7 |
| 341 | 0040b1a0 | ANM2::GetLayerFrame | null animData guard then AnimationState layer frame lookup (0x54 stride) |
| 342 | 00945470 | Capsule::Collide | static ecx/edx capsules, retHit param; sqrt, next to Capsule::constructor |
| 343 | 007cacb0 | Entity_Player::ClampHeartsToLimit | ? called by all Add*Hearts; trims hearts above GetHeartLimit |
| 344 | 006b31b0 | spawn_gibs | (gibFlags*,entity,color/pos,vel,scale) spawns effects 0x3b,0x3a,4,5,0x23,0xa3 with Random; damage/death callers |
| 345 | 00417620 | std::vector<int>::operator_index | returns begin+i*4; tiny, ICF-foldable |
| 346 | 009303f0 | TemporaryEffects::RemoveEffect | finds effect by ItemConfig, decrements count, TriggerEffectRemoved; called from ClearTemporaryEffects |
| 347 | 006fed60 | Game::DamageRadius | ? QueryRadius, TakeDamage players/enemies with source/flags, ApplyTearFlagEffects; Mom/Mega Fatty stomps |
| 348 | 00612af0 | Entity_Familiar::IsLilithBirthrightIncubus | ? player Lilith (0x20) + Birthright (0x26b), subtype 0xf |
| 349 | 0043ee80 | Sprite::SetRotation | writes ANM2 0xa4 _rotation; tiny, ICF-foldable |
| 350 | 0042d9b0 | Entity::SetSpriteScale | writes Entity 0xe4 (SpriteScale getter returns +0xe4); tiny |
| 351 | 00420170 | Sprite::SetScale | writes ANM2 0x9c _scale; tiny |
| 352 | 0040c780 | std::min<float> | returns ptr to smaller of ecx/edx floats |
| 353 | 0x00579770 | NpcHelper::ReapCreep_CountOtherEnemies | room enemy count without bosses, Reap Creep summon/dash gates (monster-fidelity-6) |
| 354 | 0x005797b0 | NpcHelper::ReapCreep_ThinLaser | Attack3 thin beam: laser variant 1, timeout 100, SetActiveRotation after 30 ticks (monster-fidelity-6) |
| 355 | # |
| 356 | # fidelity-leftovers pass (2026-10-24) |
| 357 | 004db3c0 | NpcHelper::twitchy_jump_target | Twitchy: Isaac + vel*.1*dist, +40 overshoot, free cell, capped 200 from it |
| 358 | 00548720 | NpcHelper::leper_flesh_ai | Leper 310.1 body (called from NpcAI::ENTITY_LEPER with ECX = npc); death aimed shot at 10 |
| 359 | 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 |
| 360 | 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) |
| 361 | 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 |
| 362 | 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) |
| 363 | 004be670 | NpcHelper::query_nearest_other | nearest entity of a query list to a point, not the given one; Hush Fly spacing (boss_approx_2) |
| 364 | 0058e490 | NpcHelper::siren_familiar_counts | counts Isaac's charmable familiars: free, charmed (flag 0x100), total (boss_approx_2) |
| 365 | 0058e590 | NpcHelper::siren_charmed_count | charmed familiars following this Siren (boss_approx_2) |
| 366 | 00642cb0 | FamiliarAI::tinytoma | Entity_Familiar::Update case 0xd8/0xd9 (Tinytoma, items sweep 12) |
| 367 | 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) |
| 368 | 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) |
| 369 | 007729d0 | Entity_Player::take_damage_impl | player damage: hallowed ground 50% block (RandomInt(2)), then LuaEngine::EntityTakeDamage (characters-8) |
| 370 | 007db330 | Game::damage_cooldown_scale | returns ticks, or ticks>>3 (min 1) when game field 0x26614 >= 2 (characters-8) |
| 371 | # |
| 372 | # NpcTable takes the first call in a dispatcher case; for these two that call is a shared helper, not the AI (157/146 callers) |
| 373 | 0043ef30 | ProjectileParams::ProjectileParams | inits scale 1, TargetPosition Vector at +0x68 (Lua ProjectileParams field+0x68); Gemini case builds params first |
| 374 | 0041af60 | EntityList::QuerySublist | ? EL: copy/push_back strings, 157 callers on Room+0x1218; Mask case calls it first (Mask AI not identified) |
| 375 | # |
| 376 | 007cf8c0 | Entity_Player::IsLocalPlayer | true when no netplay else NetplayManager::IsIdxLocalPlayer(this+0x1618) |
| 377 | 00705b90 | Game::AttractEntities | loops room entities in radius, pulls velocity toward pos with optional filter callback; Game::UpdateStrangeAttractor(pos,0,0) |
| 378 | 006827a0 | angle_difference | takes no t: returns the shortest signed difference to - from (xmm0, xmm1 -> xmm0) |
| 379 | 0060dc40 | Entity_Familiar::apply_tear_modifiers | ? checks collectibles 247/248 (BFFS/Hive Mind) and trinket 89 when familiar fires tears |
| 380 | 004cf1d0 | EntityPtr::Set | swaps held entity pointer, erase/insert into refcount multiset |
| 381 | 00436220 | Entity::SetVisibleFlag | ? sets this+0xc3c=1 unless arg false or flag 0x20000000 (FLAG_FRIENDLY/charmed) |
| 382 | 00428910 | Entity::SetVelocity | copies Vector to this+0x360/0x364 (velocity) |
| 383 | 00417160 | sinf_wrapper | ? body only calls sin(); ICF-foldable |
| 384 | 00a10d00 | render_quad_set_uniform_color | ? fills quad vertex struct with same color (5 dwords per corner); Game/Room render |
| 385 | 009bea40 | PlayerManager::get_total_luck | sums _luck (+0x156c) over the PlayerManager players, returns it in xmm0 |
| 386 | 00959130 | Game::DeleteSaveState | non-netplay: GameState::Delete(manager+0xfa4), clears flag; called from End/Exit/FinishChallenge |
| 387 | 00780ec0 | Entity_Player::check_bomb_tearflags | ? HasCollectible 106 (Mr Mega) / 420 or tearflags mask test |
| 388 | 00707370 | Game::GetNearestEnemy | ? scans room entities for nearest valid vulnerable target in radius, skipping friendly/descendants; used by GetPlayerTarget |
| 389 | 006b68c0 | spawn_rock_particles | spawns 8-13 EffectVariant 99 particles around pos scaled by dir, if room flag >0.2; Fissure/Big Horn |
| 390 | 006a89d0 | Entity::GetLastSpawner | walks this+0x3c8 (_spawnerEntity) chain to root |
| 391 | 00665c20 | Entity_Player::get_laser_color_copy | copies the 0x2c-byte _laserColor ColorMod at +0x14c4 into the out pointer |
| 392 | 00557b00 | std::set<int>::find | set find_node, returns end if not found; used by HasCollectible |
| 393 | 004bb830 | NpcHelper::hornfel_set_anim | ? if state==3 sets/rewinds animation DAT_00b1d644 if not current |
| 394 | 004561a0 | std::iterator_copy | ? *out=*this, ICF-foldable |
| 395 | 00435db0 | Entity::GetHitPointsLost | ? (int)maxHP(0x3a4) - (int)HP(0x3a0) |
| 396 | 0042a250 | Entity::IsFamiliar | type (this+0x28)==3 ENTITY_FAMILIAR |
| 397 | 0040bbf0 | AnimationState::copy_assign | ? 0x40+ byte struct copy; used by Effect/Laser render |
| 398 | 00a1af90 | Font::DrawString | ? builds text layout then draws with color param_2; Console::RenderHistory |
| 399 | 009f7930 | Weapon::TriggerTearEffects | ? spawns synergy tears/candles/coins/flies per tick along dir; Brimstone::Fire and other weapons |
| 400 | 009adaf0 | RoomDescriptor::Init | ? sets defaults (-1 grid arrays, 0x900000005 rng shifts); Level::generate_dungeon |
| 401 | 009680d0 | Entity_Knife::SetAttackAnimation | ? picks AttackUp/Down/Left/Right / Swing by rotation (this+0x440) for variants 10/11 |
| 402 | 009305c0 | TemporaryEffects::has_item_effect | walks the 0x10-stride entries for an ItemConfig_Item*, checks _disabled at +0x11 |
| 403 | 00866060 | Entity::ReleaseLuaRef | luaL_unref of entity's lua object on remove when lua enabled |
| 404 | 007ef420 | Entity_Pickup::RestoreState | applies saved pickup data (charge, price, shopItemId, touched); Room::RestoreState |
| 405 | 007df690 | Music::SetPitchAll | ? sets pitch float on main + 6 layer tracks if playing; Music::ResetPitch |
| 406 | 007cbb90 | Entity_Player::GetGreedDonationJamChance | ? from greed donation count *0.023, capped 100; Slot::Update, GetGreedDonationBreakChance |
| 407 | 00772260 | Entity_Player::TryRemoveSmeltedTrinket | Removing smelted trinket %d (%s) from player %d (%s) |
| 408 | 007596a0 | Entity_Player::SyncConsumables | copies coins/keys/bombs/golden key/bomb/soul charge from shared source by mask bits |
| 409 | 0074c540 | Level::GetNeighborRoomIdx | ? computes neighbour room index for door slot, -1 if door not allowed; generate_greed |
| 410 | 006f0070 | Game::IsRoomTransitionActive | ? returns this[0]!=0 && this[0x8e]!=0 |
| 411 | 006dae40 | Entity_Pickup::GetChestLoot | chest content picker with trinket modifiers (0x16,0x2d,0x2c), WeightedOutcomePicker; TryOpenChest |
| 412 | 006d8cf0 | Entity_NPC::ClearChild | kills/clears EntityPtr at this+0xf28; Para-Bite, Baby |
| 413 | 006c15c0 | NpcHelper::charger_update_move_anim | sets move animation by velocity direction (Charger L2, Revenant) |
| 414 | 006b82b0 | Entity::SetColor | copies KColor (0x2c bytes) to this+0xd4 |
| 415 | 006a0d30 | std::vector<int>::reserve_clear | vector reallocate (clears and allocates capacity) |
| 416 | 006836c0 | pop_render_target | PopRenderTarget: stack is empty! |
| 417 | 006668c0 | Entity_Tear::apply_wiggle | ? sinusoidal offset perpendicular to velocity (wiggle worm style), flag 0x450&1 phase |
| 418 | 00651990 | map_find_value | ? returns found node +0x14 (map value) |
| 419 | 006393a0 | spawn_dip_at | ? spawns friendly dip (via FUN_00639000) with jump velocity toward pos, random pos if null; Poop, ThrowFriendlyDip |
| 420 | 0062a8f0 | Entity_Familiar::CanPlayerFire | ? player not dead/frozen and room flag clear; Blood Clot, Familiar::Update |
| 421 | 005cd460 | Entity::AddFlagsLow | ? this+0x110 |= flags, ICF-foldable |
| 422 | 00589f90 | Room::CanSpawnObstacleAtPos | converts pos to grid xy (40px, top 120) and calls Room::CanSpawnObstacleAtPosition; Singe, Wormwood |
| 423 | 00505b50 | set_byte_0x101 | ? ICF-foldable setter this+0x101 |
| 424 | 004cee90 | NpcHelper::minecart_break | plays sound 481, spawns particles, clears EntityPtr at +0x3c0; Minecart/Hornfel |
| 425 | 00499da0 | Entity::ToPlayer | returns this if type==1 else null |
| 426 | 00447720 | set_field_0x37c | ? ICF-foldable setter this+0x37c |
| 427 | 00435e40 | Entity::ToTear | returns this if type==2 else null |
| 428 | 00431540 | Entity::IsProjectile | type==9 check |
| 429 | 0042b560 | ItemPool::ReplaceBlacklistedPickup | ? for pickup variant 300/350 rerolls card/trinket until not blocked; SpawnEx, Pickup::Morph |
| 430 | 0041d030 | std::map::destroy_subtree | recursive red-black tree node free |
| 431 | 0040cdd0 | std_min_ptr | min of two uint pointers, ICF-foldable |
| 432 | 00945130 | ring_buffer_push | circular buffer of 8-byte elems, overwrites oldest |
| 433 | 006e17c0 | Entity_Pickup::UpdateLootPreview | Guppys Eye 665 on chest/sack, CreateLootPreview at +0x590 |
| 434 | 005cc070 | RNG::Shuffle | Fisher-Yates over int range with xorshift RNG in ECX |
| 435 | 004b0f50 | std::deque<Vector>::push_back | deque 8-byte elems, _Growmap |
| 436 | 004360f0 | _get_index_plus_one_if_kind_4_5 | ? ? returns [0]+1 when [1] is 4 or 5 |
| 437 | 004288f0 | Entity::SetPosition | writes Vector to +0x33c (_pos) |
| 438 | 00407380 | _string_holder_c_str | ? c_str of std::string* at +4 or empty fallback |
| 439 | 00a105d0 | Vector::__div_assign | divides x,y in place by float |
| 440 | 009ba000 | PlayerManager::RemoveCoPlayer | ZHL name; 'Clearing player color assignment', removes from player list ECX[0x34], baby skins |
| 441 | 00816250 | _Room::ResolveHeartSubType | ? ? remaps negative pseudo heart subtypes by health type/Keeper/trinket multiplier; pickup Init/Morph |
| 442 | 0075e320 | Entity_Player::IncrementPlayerFormCounter | ZHL sig shape; +0x17dc[16] form counts, form costumes, TryUnlock |
| 443 | 007069a0 | Game::GetNearestTargetPlayer | ? iterates players, decoys/friendly checks; used by Entity_NPC::GetPlayerTarget |
| 444 | 006b66a0 | Entity::MakeGroundPoofAtSelf | MakeGroundPoof(this,&this->_pos,arg) |
| 445 | 00684b90 | hsv_to_rgb | hue/60 sextant switch, chroma*value |
| 446 | 00652a90 | _has_flag_0x110 | ? ? (this+0x110 & mask)!=0 |
| 447 | 00505b80 | _Entity_NPC::GetColorWithFlash | ? ? copies Color, multiplies when +0xc>0; NPC ResetColor/Update |
| 448 | 004b6a90 | std::deque<int>::push_front | 4-per-block deque front insertion |
| 449 | 00452be0 | _ptr_deref_or_minus1 | ? ? returns *ptr or -1 |
| 450 | 00435d60 | Entity::SetTargetPosition | writes +0x334/+0x338 (_targetPosition) |
| 451 | 00426980 | std::vector<Vector>::_Tidy | frees 8-byte element vector |
| 452 | 0040a7c0 | _empty_check_0x34 | ? ? empty body, ICF |
| 453 | 00a19180 | _glfw_context_reset | ? ? GLFW context.c, resets hints |
| 454 | 009f5a30 | Weapon::GetOwnerLaserOffset | owner player GetLaserOffset or familiar(type 3) variant |
| 455 | 009bfa00 | PlayerManager::GetNumAlivePlayers | ? counts main non-ghost non-twin players without +0x20a9 |
| 456 | 009a90b0 | _player_hud_set_heart_anim_state | ? ? finds player in 8 entries stride 0x6dc, sets byte 4 |
| 457 | 00980430 | std::vector<Vector>::_Insert_n | grow/insert 8-byte elems; laser render |
| 458 | 00967180 | Entity_Knife::UpdateHomingPath | ? knife homing path, InitHomingPath, spawns |
| 459 | 0092aea0 | PersistentGameData::TryAddBestiaryEncounter | ? GetBestiaryConfig, encounter set, Steam achievement |
| 460 | 00857220 | ScoreSheet::LoadAnm2 | ? loads ScoreMenu/LeaderboardMenu anm2 in LoadConfigXmls |
| 461 | 0082c310 | Game::LoadMinibossesXml | ? 'minibosses'/'miniboss' xml parse |
| 462 | 007eeeb0 | Entity_Pickup::CanFlip | ? flip validity checks, used by TryFlip/HandleCollision |
| 463 | 007dc2d0 | _Entity_Player::SpawnTrinketRandomPickup | ? ? trinket RNG +0x177c, random of 5 variants, SpawnEx pickup |
| 464 | 007d2000 | Entity_Player::InitTwin | SpawnCoPlayer, sets _otherTwin +0x1e68, offsets positions +-20 |
| 465 | 007c8050 | Entity_Player::AddImmaculateConceptionCounter | Immaculate Conception 413 counter +0x1930, spawn heart |
| 466 | 007716c0 | is_trinket_unpickable_id | ? trinket id&0x7fff ==41 or 135 |
| 467 | 007525e0 | std::vector<int>::assign | memmove copy-assign 4-byte vector |
| 468 | 0074bae0 | _RoomDescriptor::GetShapeGridCount | ? ? greed mode check, shape 4/5 branches |
| 469 | 0070c000 | Entity::DestroyRockGridAt | ? rubble anm, RegisterRockDestroyed, PlayBreakSound; tear/projectile |
| 470 | 006eed30 | Entity_Pickup::AssignOptionsIndex | ? max +0x528 over pickups +1 |
| 471 | 006dac30 | log_precise | libm log wrapper |
| 472 | 006d81c0 | Entity_NPC::ClearDequeRefs | ? clears EntityPtr deque at +0xbf0 |
| 473 | 006baa70 | _NpcHelper::spider_load_graphics | ? ? load_graphics + anm path redirect, spider AIs |
| 474 | 006b7d20 | _Entity::GetAncestorField | ? ? lookup +0x14 |
| 475 | 0069f990 | Color::copy_constructor_ext | ? copies Color + 3 strings; ICF-ish |
| 476 | 0067a720 | Entity::GetRootParent | walks +0x3c8 parent chain, checks type 1 |
| 477 | 006518f0 | set_iterator_post_increment | tree iterator ++ |
| 478 | 00634a40 | Entity_Familiar::ResolveOrbitConflict | ? +0xda4 orbit, compares +0x410 |
| 479 | 0060d180 | Entity_Familiar::GetPlayerSlot | ? matches player +0x1618 controller in 4 slots |
| 480 | 00499270 | _range_to_span | ? ? builds {start,0,count} |
| 481 | 004476a0 | Color::Color | sets white then copies tint |
| 482 | 00435d20 | Entity::SetField380 | ? stores +0x380 |
| 483 | 00431530 | Entity::IsTear | type==2 |
| 484 | 00428940 | Seeds::Init3 | ? draws seeds into +0x58.. via xorshift |
| 485 | 0041c770 | shared_ptr::assign | refcount vtable acquire/release |
| 486 | 00407320 | _get_name_string | ? ? copies std::string at *this+8 |
| 487 | 007bc740 | Entity_Player::InitPostLevelInitStats | own log string names it; challenge/daily starting items |
| 488 | 0067d1f0 | get_tear_flags_from_player | ? builds TearFlags from bitmasks, Dead Eye-ish 0x97 chance, ancestor player |
| 489 | 004bb550 | NpcHelper::hornfel_get_rail_direction | Room rail byte grid +0x746c -> direction vector |
| 490 | 00505b40 | pow_wrapper | calls pow |
| 491 | 00a10e70 | render_quad_set_rect | 4 verts from pos+size, 3x5 color floats |
| 492 | 0085bed0 | EntitySpawner::Spawn | advances RNG then Game::Spawn with stored type/variant; shopkeeper/fireplace/chest loot |
| 493 | 007911f0 | Entity_Player::GetCollectibleMaxCharge | per-item charge overrides then ItemConfig MaxCharges; caller GetActiveMaxCharge |
| 494 | 006da850 | std::deque<LootEntry>::clear | deque of 0x14 blocks freed |
| 495 | 0064bb70 | Entity::convert_shot_for_enemy_owner | ? if owner chain has flag 0x100, respawns tear as projectile/attack fly/spider |
| 496 | 005cbd20 | std::vector<CostumeSprite>::erase | 0x130-byte ANM2 elements, costume add/remove |
| 497 | 004b0e40 | std::deque<Vector>::assign | 8-byte element deque copy |
| 498 | 00a1d710 | render_color_quad | KAGE_ColorShader, KColor::SetFromARGB |
| 499 | 00a10510 | Vector::Mul | out = a * this componentwise |
| 500 | 009b9480 | PlayerManager::count_main_players | ? skips players whose +0x1e68 sibling has lower controller idx |
| 501 | 008151e0 | Room::GetShopItemPrice | log string |
| 502 | 00753da0 | Entity_Player::constructor | sets Entity_Player vftable |
| 503 | 006eee10 | EntitySaveStateRef::Set | ReferenceCount<EntitySaveState> alloc |
| 504 | 006b5f10 | Entity::GetDebugShape | DebugRenderer::Get(this+0x20) |
| 505 | 00682f50 | KColor::FromRGBA255 | ints * 1/255 |
| 506 | 006470c0 | Entity_Familiar::get_item_config_entry | ? calls ItemConfig collectible 0xd0 vector lookup |
| 507 | 004f88a0 | rng_pair_init | ? two 0x16a9de81 seeds |
| 508 | 00499230 | std::deque<Vector>::front | deque index math |
| 509 | 004174c0 | buffer_init | ? alloc param bytes |
| 510 | 00a55d60 | std::vector<12byte>::clear | stride 0xc |
| 511 | 00a18300 | KAGE_Graphics::SetRenderTarget | glBindFramebuffer + status logs |
| 512 | 009f4280 | Weapon::UpdateHeadChargeAnimation | ? HeadDownCharge/FloatChargeSide anim names |
| 513 | 009bea10 | entity_vector_set_flag_410 | sets byte +0x410 on each element |
| 514 | 009a3410 | PlayerHUD::show_pill_name | ? pill use / pickup, netplay branch |
| 515 | 009803e0 | std::vector<Vector>::erase | 8-byte elements |
| 516 | 009666c0 | Entity_Knife::GetRootParent | walks +0x3bc while type 8 |
| 517 | 009294f0 | PersistentGameData::Save | no filename supplied |
| 518 | 00838380 | VictoryRunPrompt::Load | ? Prompt_VictoryRun.png, LoadConfigXmls |
| 519 | 007ebe20 | ItemPool::get_pool_from_room_entities | ? GetPoolForRoom, scans room spawns |
| 520 | 007dbd70 | Entity_Player::ModelingClay_roll | seeded collectible stored +0x1fb8, costume; trinket added/new room |
| 521 | 007cf8f0 | Entity_Player::IsLocalPlayer | ? NetplayManager::IsIdxLocalPlayer |
| 522 | 007c2d50 | get_tear_trinket_multiplier | ? tear variant -> trinket multiplier |
| 523 | 00771200 | Entity_Player::IsInnateCollectible | player-type specific item ids; caller HasCollectible |
| 524 | 007523e0 | Level::boss_count_adjust | ? stage-type based counters; extra boss room |
| 525 | 0070bf80 | is_grid_type_floor_special | ? grid types 17/18/20/23 |
| 526 | 006eea30 | Entity_Pickup::MakeShopItem | sets ShopItemId +0x53c, Price +0x534 via GetShopItemPrice |
| 527 | 006d9320 | Entity_NPC::apply_controller_movement | GetControllerInput velocity; hopper/fat sack |
| 528 | 006d5400 | Entity_NPC::trigger_kill_item_effects | ? Contagion/Athame/Friendly Ball/Book of Virtues owners |
| 529 | 006b84e0 | std::deque<LootEntry>::push_back | 0x14 entries, shopkeeper/fireplace loot |
| 530 | 006b7250 | Entity::GetLastParent | walks +0x3c8 |
| 531 | 0069dac0 | std::vector<12byte>::_Tidy | stride 0xc free |
| 532 | 00678060 | Entity_Tear::is_not_familiar_spawned | ? +0x3bc type != 2... returns true |
| 533 | 00665b00 | Entity_Tear::GetRootPlayer | walks +0x3c8, returns if type 1 |
| 534 | 00651810 | apply_forgotten_lullaby | trinket 141 divides fire delay |
| 535 | 00634260 | Entity_Familiar::UpdateFollowPosition | ? follower +0xd90..0xda4, GetFollowerPriority |
| 536 | 0060d140 | Entity_NPC::set_entity_ptr_f54 | ? multiset EntityPtr at +0xf54; cage/tarboy |
| 537 | 0060c620 | Entity_Effect::ExtraDataRef::Set | ReferenceCount<Entity_Effect::ExtraData> |
| 538 | 00558070 | NpcHelper::willo_get_target_pos | parent pos or player average |
| 539 | 004f84a0 | str_ne | !str_eq |
| 540 | 004b8a30 | NpcHelper::hornfel_ride_minecart | SetMinecartPosVel, state 10 |
| 541 | 0041ab50 | EntityList::query_player_capsule_hits | ? Capsule::Collide over players |
| 542 | 00a104b0 | Vector::operator__ | body: this.xy -= arg.xy |
| 543 | 00833420 | Ambush::StartChallenge | closes doors unless Door Stop, plays challenge/bossrush music, room types 11/17 |
| 544 | 007592a0 | Entity_Player::UpdateBlackHeartMask | repacks _blackHearts bitmask 0x1350 against _soulHearts 0x134c |
| 545 | 006d7df0 | Entity_NPC::FollowParentSegment | ? worm segment: follows ParentNPC position history deque 0xc04, pushes own pos (max 64) |
| 546 | 0063b4a0 | Entity_Familiar::GetFollowTargetPosition | ? out vec; orbit pos if 0xd70>=0, variant 120 free pickup spawn pos |
| 547 | 004e8fa0 | Entity_NPC::UpdateCordChain | ? Evis/Vis Fatty/Dogma/Peeper Fatty cord points deque 0xc08 |
| 548 | 00499960 | EntityRef::operator_ | ? copies 10 dwords; used by TakeDamage/AddBleeding/AddBaited |
| 549 | 00a10350 | Vector::FromAngle | deg*pi/180 -> cos,sin |
| 550 | 00a1aec0 | Font::DrawStringScaled | ? builds string, draws at scale 1,1 with KColor |
| 551 | 009a1a30 | HUD::LoadGraphics | loads ui_hearts/hudpickups/chargebar anm2 and fonts |
| 552 | 007db860 | is_achievement_79_unlocked | ? std::set find key 0x4f, byte vec 0x1fd4[0x8f]; called by GFuel/EvaluateItems |
| 553 | 0074b830 | Level::IsStageWithinEnd | ? stage < 8 in greed, challenge EndStage 0x40, shovel 550/552 checks |
| 554 | 006ee750 | Entity_Pickup::RemoveOtherOptions | pickups with same OptionsPickupIndex 0x528 poof (1000.15) and vanish |
| 555 | 00682b90 | string_scramble_seeded | ? std::string by value + RNG; used by curse name, UsePill, pickup collision |
| 556 | 00639000 | Entity_Familiar::ThrowDip | own assert string; spawns 3.201 dip |
| 557 | 004d8b50 | spawn_small_maggot | Game::Spawn 853 at this pos, sets height/velocity |
| 558 | 00498fd0 | std::deque<Vector>::erase | deque of 8-byte elems range erase |
| 559 | 0097baa0 | Entity_Laser::UpdateHits | ? laser Update/Interpolate: QueryRadius, IsVulnerableEnemy, flag bitset tests |
| 560 | 006b2210 | Entity::IsCollisionIgnored | ? player vs type 9 projectile with effect 625, collectible 276, null 59, PlayerType 35 |
| 561 | 0043eca0 | std::vector<int>::copy_constructor | alloc+memmove of 4-byte elems |
| 562 | 00a288a0 | std::shared_ptr::assign | ? swap two dwords then release old via vfunc 0xc |
| 563 | 00a18230 | RenderTarget::Clear | glClear 0x4100 with clear color |
| 564 | 009f41c0 | Weapon::GetMultiShotParams | player/familiar owner -> Entity_Player::GetMultiShotParams else default |
| 565 | 009be990 | NpcHelper::big_horn_is_any_hole_busy | ? scans entity ptr vector for field 0x3fc not 0/3; Big/Little Horn |
| 566 | 00960a20 | Entity_Knife::GetBaseVariant | maps variant 2/3/4/8/9->1, 5->0, 11->10 |
| 567 | 007b9f60 | Entity_Player::GetMouseAimTarget | ? NetInputDevice cursor 0x398 or GetFocusEntity pos |
| 568 | 0075e050 | Entity_Player::SetQueuedItem | FlushQueueItem then writes QueuedItem fields 0x17c4..0x17d4 |
| 569 | 0074f820 | Level::InitStageSeeds | ? requires Game Start Seed; stage seed table 0x1bb9c; Init/RestoreGameState |
| 570 | 007376c0 | ItemPool::GetCardImpl | ? RNG; Pickup::Init and AddItemCard |
| 571 | 00708e20 | std::vector<RoomEntry>::_Tidy | ? frees vector of 0x78 elems; RoomDescriptor dtor, reset_room_list |
| 572 | 006e84d0 | Entity_Pickup::CollectTrinket | ? param player; 0x534 trinket id, Trinket ID out of bounds |
| 573 | 006d90e0 | Entity_NPC::UpdateChildEffectPosition | ? effect at 0xf28 (type 1000) placed relative to npc size 0x38c.. |
| 574 | 006d4e00 | Entity_NPC::PlayDeathEffects | ? gfuel, layer-frame pos, death sfx; NPC Update and Rock Spider |
| 575 | 006b6810 | Entity::MakeBloodPoofAtPos | MakeBloodPoof(this,&_pos,arg) |
| 576 | 0069ba90 | EntityConfig::PreloadResources | AnmCache::Preload + Preload sound %d |
| 577 | 00676be0 | Entity_Tear::apply_death_flag_effects | the dying tear's flag effects (called by Entity_Tear::Update and HandleCollision): SPLIT 0xc34850 pieces, BONE 0xc348f0 shards (tears_brokenbone.png), JACOBS 0xc34900 spawn_chain_lightning(damage x0.5), RIFT 0xc34970 effect 1000.180 (damage x0.5, timeout 60, SOUND 1088 at 0.5); parity_tears.md |
| 578 | 00665500 | Entity_Slot::SetPrizeType | ? writes 0x540, reloads graphics per variant 15/16 |
| 579 | 0064bab0 | Entity_Familiar::RemoveFromPlayer | ? clears owner 0x414/0x410 slots, Siren/ClearReferences |
| 580 | 00634000 | Entity_Familiar::TryFireTear | ? Forgotten Lullaby 127 multiplier |
| 581 | 006075a0 | TearParams::operator_ | struct copy; Brimstone/ApplyTearFlagEffects |
| 582 | 0059bed0 | Entity_NPC::RenderSegmentLink | ? NPC Render/RenderShadowLayer, parent 0x3c0 I2 checks |
| 583 | 00557ce0 | collect_npcs_with_same_parent | ? npcs with matching 0x3bc parent; Min-Min/Willo |
| 584 | 004f83a0 | std::deque<int>::resize | Growmap/new(0x10) loop |
| 585 | 004b39b0 | std::vector<Vec16>::_Emplace_reallocate | 16-byte element realloc |
| 586 | 00435bf0 | BitSet128::operator__ | 4 dword OR |
| 587 | 0042f150 | std::vector<Vector>::operator__ | ? base+i*8 |
| 588 | 00421680 | std::string::concat | alloc + 2 memcpy |
| 589 | 00417630 | EntityList_EL::push_back | EL: not enough space for push_back |
| 590 | 009292c0 | Manager::BackupSaveFile | %s/save_backups/ + time-stamped name; Game::Exit, ChangeRoom |
| 591 | 007eb870 | Level::UpdateBackwardsPathStages | ? Invalid backwards path stage ID; stage bitmask |
| 592 | 007dbc80 | Entity_Player::AddRandomMomItemEffect | ? RNG pick from list 29,30,31,55,110,114,217,228,355,508,732 |
| 593 | 007ce270 | Entity_Player::GetMainPlayer | ? parent 0x3bc if player else player 0 for variant 1 |
| 594 | 00838210 | is_screen_transition_active | ? 0x34!=0 && byte 0x44; Game::Update/IsPaused |
| 595 | 00a101c0 | vector_lerp | out=a+(b-a)*t, optional clamp t to [0,1] |
| 596 | 00813460 | Room::get_random_pickup_position | ? random point in rect +0x14..0x20 then FindFreePickupSpawnPosition |
| 597 | 0071f600 | Level::filter_curses | ~prevented & (forced|game|level curses) & mask |
| 598 | 006cb2a0 | Entity_NPC::fire_projectile_from_params | ? calls FUN_006cb010 with fields 0x168/0x16c, per-projectile loop in FireProjectiles |
| 599 | 00612b50 | Entity_Familiar::get_incubus_umbilical_whip | Lilith birthright incubus, dyncast Weapon_UmbilicalWhip, returns entity type 3 |
| 600 | 004e46d0 | Color::apply_to_kcolor | tint*kcolor, colorize via luma 0.2126/0.7152/0.0722, add offset |
| 601 | 00a14050 | shader_cache_find | ? path hash lower_bound lookup, sets current shader global |
| 602 | 00a0f690 | KColor::KColor | r,g,b in xmm, a param, ECX[4]=0 |
| 603 | 00732d00 | ItemPool::is_collectible_available | bitsets 0x67c/0x68c removed/blocked, trinket No! (88) blocks actives |
| 604 | 0067d430 | tear_flags_area_apply | QueryRadius, damage vulnerable enemies, ApplyTearFlagEffects |
| 605 | 006348d0 | Entity_Familiar::reset_follow_target | ? resets 0xd90..0xda4 to zero vector, 0xda4=0xff |
| 606 | 004d3130 | EntitySaveState::copy | field-by-field copy + two vector copies; Pickup TryFlip/Level::Init |
| 607 | 00456380 | Color::assign | 11-dword copy into +0x1e4 (entity color) with self check |
| 608 | 004362a0 | ItemConfig::get_wisp_config | collectible+0xcc or modded table, error Book of Virtues missing default wisp |
| 609 | 0042c850 | std::vector<unsigned_int>::push_back | emplace_reallocate fallback |
| 610 | 0040d0c0 | std::string::c_str | SSO cap<16 check |
| 611 | 00a26af0 | StringTable::get_string | returns StringTable::InvalidCategory on miss |
| 612 | 009f33e0 | Weapon::get_aim_direction | Marked (394) target override for player/familiar owner else default dir |
| 613 | 009b7650 | is_single_player | ? player vector at 0x4b3d8 size<=1 |
| 614 | 0090ac70 | InputManager::GetDeviceByPlayerEntity | log string |
| 615 | 00802670 | Room::update_door_targets | MakeDoor for each slot bit, set target room idx + room types |
| 616 | 007e86b0 | std::vector<8byte>::reserve | _Xlen guard |
| 617 | 007dbba0 | Entity_Player::add_random_drug_item_effect | ? picks one of 13,14,240,70,143,345,493,496, TemporaryEffects::AddEffect |
| 618 | 0075a2b0 | Weapon::is_held_item | ? compares held item 0x114 vs Brimstone 118 / trinket 162 cases |
| 619 | 006d8e10 | is_local_player_owned | netplay idx 0xf1c IsIdxLocalPlayer, Effect/Game render |
| 620 | 006b8410 | Room::has_room_config_flag | descriptor->config+0x4c & mask |
| 621 | 006a80f0 | LuaRef::push | lua_rawgeti registry ref ECX+4 |
| 622 | 009960b0 | Game::start_poop_cloud_screen_effect | ? loads gfx/backdrop/pooclouds.png, called from UsePill/bomb tearflags with colors |
| 623 | 007bebb0 | Entity_Player::update_player_skin | NiceLilith/ghost spritesheet replace + costumes, after ANM2 load in ChangePlayerType |
| 624 | 006e2570 | Entity_Pickup::update_price_sprite | ShopIdle/NumbersRed/Hearts/SummonPayment, called with _price in Init/Morph |
| 625 | 006a9c90 | Entity::CollideWithGrid | GetGridCollision, bridges, clamped position, from Interpolate |
| 626 | 00993a70 | Camera::Update | ? LerpAngleDeg/atan2, Room::Update and generate_greed |
| 627 | 00973c60 | Entity_Laser::update_laser | Droplets/Fade, non variant 1-3 path in Update |
| 628 | 0095a7b0 | PlayerManager::unlock_completion_mark | ? param ending id (14 mega satan/3 ...), TryUnlock per player |
| 629 | 007cc200 | Entity_Player::SwapForgottenForm | the Forgotten/Soul form swap, REPENTOGON SwapForgottenForm(bool, bool); RET 8 |
| 630 | 006e83a0 | Entity_Pickup::can_player_buy | price 0x534 vs coins, -10 free, health type checks, coop ghost rejects |
| 631 | 006470f0 | ItemConfig::get_wisp_entry | ? collectible+0xd0 vector of 0xb8 entries indexed by EDX, default item fallback |
| 632 | 006c20e0 | LootList::LootList | ? zeroes 5 dwords + list sentinel; shopkeeper/fireplace get_loot |
| 633 | 00435f80 | TemporaryEffect::TemporaryEffect | {config,0,config+0x78,0}, same layout as AddEffect arg |
| 634 | 007afc20 | Entity_Player::try_trigger_astral_projection | ? zero-hearts check, collectible effect 677, AddNullEffect |
| 635 | 0074d920 | Level::update_treasure_room_doors_for_trinket | ? trinket 146 check over treasure rooms, door LoadSprite, from trinket add/remove |
| 636 | 00737380 | ItemPool::GetCollectibleFromList | REPENTOGON GetCollectibleFromList: same 6 arguments, returns one item id; the last bool skips active items (ItemConfig type 3) |
| 637 | 006f8d60 | GameState::copy_room_list | ? memmove vector copy, SaveBackwardsStage/RestoreGameState |
| 638 | 006856c0 | std::vector::resize | ? memset/memmove realloc |
| 639 | 00666ba0 | Entity_Tear::update_wiggle | sin/cos lateral offset over frame count, Update/Interpolate |
| 640 | 00663aa0 | Entity_Slot::spawn_break_drops | RNG pickups/spiders/gibs, Slot Update/TakeDamage |
| 641 | 00631850 | Entity_Familiar::move_to_parent_offset | pos = parent pos + offset, velocity capped 100 |
| 642 | 00557bd0 | std::string::find | memchr substring search |
| 643 | 004e9b10 | Entity_NPC::render_overlay | ? called from NPC Render/RenderShadowLayer, static init |
| 644 | 004357e0 | Entity_Familiar::set_extra_data | ReferenceCount<Entity_Familiar::ExtraData> |
| 645 | 00417540 | EntityList::sublist_init | EL: invalid sublist |
| 646 | 009bfae0 | PlayerManager::revive_player_ghosts | loops players, RevivePlayerGhost if player+0x20a9 set; room clear/slot callers |
| 647 | 007db8d0 | Entity_Player::get_seeded_variant | ? switch on FUN_007db860 (set<int> 79 + player vec byte 0x8f) else seed-derived 2..5 |
| 648 | 00705ee0 | Game::save_rewind_state | ? two 0x8198-stride state slots, frame<15 guard; room/stage transition, door callers |
| 649 | 006ac8d0 | Entity::get_velocity_direction | returns 0..3 dir from velocity 0x360/0x364 |
| 650 | 00612890 | Entity_Familiar::is_detached_from_follow | ? per-variant checks (0x3b,0x19,0x68,0x82...) used by FollowParent |
| 651 | 004d8910 | spawn_small_maggot_jump | Game::Spawn(853 SMALL_MAGGOT) toward target, sets grid; Mama Fly/Pustule/Scourge |
| 652 | 0042eef0 | push_shape_points | ? appends Vector pairs into vector at +0x24; Big Horn/Bumbino/Whipper |
| 653 | 00417220 | Entity::IsType | compares type/variant/subtype with -1 wildcards |
| 654 | 00a13510 | set_blend_mode | BlendMode::SetMode result copied to +0x20..0x30 |
| 655 | 009f3bd0 | Weapon::get_owner_position | owner(+4)->_pos or zero vector |
| 656 | 0096ce30 | Entity_Laser::is_thick_variant | ? variants 1,3,6,9,11-15 true; laser update/render |
| 657 | 007910f0 | Entity_Player::GetTotalActiveCharge | charge+battery of slot plus Bethany soul/blood charge 0x1da8/0x1dac |
| 658 | 00722140 | std::vector<HistoryItem>::erase | 28-byte elem erase; History::RemoveHistoryItemByIndex |
| 659 | 006dae20 | Game::IsChallengeOrDaily | Game _challenge 0x26584 or _dailyChallenge 0x26630 nonzero |
| 660 | 006a8f20 | Entity::is_valid_boss_enemy | ? type 10..999 active, not 866, no flag 0x20000000; Hush/Mega Satan/Ultra Greed |
| 661 | 0067a080 | Entity_Projectile::Deflect | clears flags, sets velocity, new spawner multiset; ButterBeanFart/familiar collision |
| 662 | 00612330 | Entity_Familiar::get_orbit_parent | ? Init/Kill/RecalculateOrbitOffset; type 0x2b/0xce special |
| 663 | 00456240 | ColorParams::set_from_bytes | ints *1/255 into tint/offset floats |
| 664 | 00a10dd0 | set_quad_corner_colors | ? copies 5-dword color into 4 corners; Laser render |
| 665 | 009e04b0 | collectible_set_has | ? set<int> find with count>0; HasCollectible |
| 666 | 009b5840 | PauseScreen::Init | loads PauseScreen/Death Screen anm2; LoadConfigXmls |
| 667 | 0098b5e0 | Minimap::refresh_room_icons | Icon* room strings; Minimap::Refresh |
| 668 | 0093da00 | Backdrop::load_details | gfx/backdrop *_details anm2; Backdrop::Init/Dogma |
| 669 | 008ef560 | RevivePlayerMenu::Init | gfx/ui/Menu_RevivePlayer.anm2 |
| 670 | 0082ee40 | RoomTransition::start | __thiscall on RoomTransition (Game+0x1b83c), 5 args, only from Game::StartRoomTransition; sets +4/+8/+0x10..+0x24/+0x238; the log message is its first statement |
| 671 | 007f20e0 | room_shape_get_door_grid_index | ? shape/slot -> grid index; greed gen, UncoverHiddenDoor |
| 672 | 007e31a0 | PathFinder::Init | sets owner, Reset; NPC/Familiar constructors |
| 673 | 007d9b70 | Entity_Player::reset_body_sprite | loads entity 1.0.0 anm2, replaces sheets per player type |
| 674 | 007cbcd0 | Entity_Player::init_forgotten_twin | ? player types 16/17, allocs 0x2f00 sub-player at 0x1d98 |
| 675 | 007911c0 | Entity_Player::GetActiveItemSlot | scans 4 active slots at 0x1580 stride 0x20 |
| 676 | 00759950 | Entity_Player::restore_curse_mist_backup | restores consumables; Add/RemoveCurseMistEffect |
| 677 | 0074cb50 | Level::get_door_neighbor_room | ? neighbor room by door; CanSpawnDoorOutline/MakeRedRoomDoor |
| 678 | 007307b0 | ItemConfig_Item::is_mom_item | ids 29,30,31,55,110,114,199,200,217,228,355,508,732 |
| 679 | 006f43b0 | Game::reset_run_state | zeroes Game fields + ResetState; LoadConfigXmls/Exit |
| 680 | 006e1e90 | Entity_Pickup::load_collectible_gfx | questionmark.png, collectible gfx; UpdateSprite |
| 681 | 006d8d80 | Entity_NPC::is_controller_input_idle | controller input zero via 0xf28 player |
| 682 | 006c1870 | Entity_NPC::anim_walk_frame_4dir | 4 anim names by velocity, threshold; Gutted/Peeper Fatty |
| 683 | 006b8320 | EntityList::assign | EL: not enough space for copy |
| 684 | 00684f30 | std::deque::back | deque back element |
| 685 | 00666a00 | Entity_Tear::apply_wiggle | sin/cos offset perpendicular to velocity; Update/Interpolate |
| 686 | 0065b490 | TearParams::copy | ? 0x64-byte struct copy; Tear/Projectile Update |
| 687 | 0062e620 | Entity_Familiar::update_weapon | Create/DestroyWeapon matching player weapon 0xdc4 |
| 688 | 00547040 | npc_distribute_orbit_angles | spreads V1 angles 2pi/n among siblings; Matriarch/Fistuloid |
| 689 | 004cf350 | std::set::clear | tree erase+reset |
| 690 | 004aab30 | std::vector::assign_0x38 | 0x38-elem vector assign; Delirium/Kill |
| 691 | 00414870 | std::string::append_n | append n chars (memset) |
| 692 | 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 |
| 693 | 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) |
| 694 | 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) |
| 695 | 007abf80 | Entity_Player::active_used_post | after UseActiveItem: Book of Virtues, M trinket active reroll (quality weights 0xb6bc60), Butter!/drop (trinkets-cards) |
| 696 | 007a6c50 | Entity_Player::room_enter | per-player new room setup: The Twins roll, enter position, greed wave clamp (trinkets-cards) |
| 697 | 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) |
| 698 | 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) |
| 699 | # room features pass (rooms_pending, 2026-10-24): notes/systems/room_features.md |
| 700 | 0074eaf0 | Level::raise_mineshaft_rail | rail plate (PressurePlate::Reward variant 3): raises the mineshaft entrance's next button rail, HasAbandonedMineshaft only (room-features) |
| 701 | 009833c0 | GridEntity_PressurePlate::update_press | player within 30 presses it (Switched, state 3) then Reward; trap plate sets room+0x11ec = 10 (room-features) |
| 702 | 00823080 | Room::TriggerOutput | REPENTOGON Room.zhl TriggerOutput(group): output cells' grids react (FUN_00823150), group's 1000.120 Spawners release, callbacks (room-features) |
| 703 | 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) |
| 704 | 00822cf0 | Room::add_trigger_output_index | group < 10: insert the grid index in the output set (room+0x7328) (room-features) |
| 705 | 00822d60 | Room::hold_trigger_output_entities | after spawning: each entity on an output cell becomes a Spawner 1000.120 of its group (room-features) |
| 706 | 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) |
| 707 | 00823150 | GridEntity::trigger_output | TNT explodes, plate Switched, event rock breaks, event pit fills, teleporter toggles (room-features) |
| 708 | 00718ac0 | GridEntity_Poop::get_giga_part | (variant 7-10, create): the giga poop part of that variant by tile table 0xb690f0 (room-features) |
| 709 | 007178c0 | GridEntity_Poop::spawn_drops | the poop drop table by variant (0/2/3/6 roll), not MenuManager::Render (room-features) |
| 710 | 00716760 | GridEntity_Poop::spawn_hit_gibs | poop gib particles 1000.58 by variant on a damage stage (room-features) |
| 711 | 00716b10 | GridEntity_Poop::destroy_effects | break sound 0xed (giga: half pitch), 1000.43 splat, tinted by variant (room-features) |
| 712 | 0056cd60 | NpcAI::ENTITY_MOTHER_2 | 912.10 by the 912 variant table at 006c4964 (boss_approx_3) |
| 713 | 00565e00 | NpcAI::ENTITY_MOTHER_worm | 912.30 by the 912 variant table (boss_approx_3) |
| 714 | 00566810 | NpcAI::ENTITY_MOTHER_ball | 912.100 by the 912 variant table (boss_approx_3) |
| 715 | 004bc460 | NpcHelper::hornfel_room_controller | effect 1000.152 update (Entity_Effect::Update case 005da269): passing carts (boss_approx_3) |
| 716 | 004bb350 | NpcHelper::hornfel_free_door | a random 967 rail door free of carts (boss_approx_3) |
| 717 | # |
| 718 | # No standalone AI exists for these types: their dispatcher case is inline code (Entity_NPC_UpdateAI_dispatch 006c2990) |
| 719 | # 93 ENTITY_MASK case 006c2d98: finds a Heart (type 92) in the room and parents itself to it |
| 720 | # 79 ENTITY_GEMINI case 006c2a45: builds ProjectileParams and fires |
| 721 | 00a08700 | Weapon_MonstrosLung::FireBurst | fires N burst tears around a velocity (items sweep 12) |
| 722 | # |
| 723 | # Tier 3: the 575 largest unnamed functions (1500+ bytes anywhere, or 600+ bytes called once from gameplay); 8 subagents |
| 724 | 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 |
| 725 | 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 |
| 726 | 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 |
| 727 | 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) |
| 728 | 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) |
| 729 | 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 |
| 730 | 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 |
| 731 | 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 |
| 732 | 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 |
| 733 | 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/ |
| 734 | 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 |
| 735 | 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 |
| 736 | 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 |
| 737 | 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 |
| 738 | 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 |
| 739 | 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) |
| 740 | 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 |
| 741 | 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 |
| 742 | 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 |
| 743 | 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) |
| 744 | 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 |
| 745 | 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 |
| 746 | 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 |
| 747 | 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 |
| 748 | 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 |
| 749 | 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 |
| 750 | 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 |
| 751 | 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) |
| 752 | 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 |
| 753 | 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 |
| 754 | 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) |
| 755 | 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 |
| 756 | 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 |
| 757 | 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 |
| 758 | 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 |
| 759 | 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 |
| 760 | 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 |
| 761 | 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 |
| 762 | 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 |
| 763 | 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 |
| 764 | 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 |
| 765 | 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 |
| 766 | 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 |
| 767 | 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 |
| 768 | 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 |
| 769 | 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 |
| 770 | 0078b640 | Entity_Player::Render | virtual: Entity::Render then RenderBody/RenderHead/RenderTop/RenderGlow, IsHeadless/IsHologram/IsInvisible/IsFullSpriteRendering, _Overlay layers, IsIdxLocalPlayer |
| 771 | 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 |
| 772 | 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 |
| 773 | 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 |
| 774 | 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 |
| 775 | 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 |
| 776 | 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 |
| 777 | 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 |
| 778 | 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 |
| 779 | 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 |
| 780 | 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 |
| 781 | 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 |
| 782 | 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) |
| 783 | 00924440 | OptionsConfig::Load | REPENTOGON OptionsConfig::Load(path): reads options.ini keys (Fullscreen, MusicVolume, EnableMods, AcceptedPublicBeta_%s, OnlineInputDelay ...), calls OptionsConfig::Save; from 00952410 |
| 784 | 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 |
| 785 | 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 |
| 786 | 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 |
| 787 | 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) |
| 788 | 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 |
| 789 | 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 |
| 790 | 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) |
| 791 | 0061bd50 | Entity_Familiar::ai_daddy_longlegs | Entity_Familiar::Update case variant 16: StompArm/StompLeg anims (shared only with NpcAI::ENTITY_DADDYLONGLEGS), PickEnemyTarget, ANM2::GetFrame |
| 792 | 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 |
| 793 | 00615d80 | Entity_Familiar::ai_blue_fly | Entity_Familiar::Update case variant 43 BLUE_FLY: GetOrbitPosition/RecalculateOrbitOffset/get_orbit_parent orbit then PickEnemyTarget attack |
| 794 | 0061c150 | Entity_Familiar::ai_orbital_variant_50 | ? Entity_Familiar::Update case variant 50: GetOrbitPosition/RecalculateOrbitOffset orbit, PickEnemyTarget, FUN_00652210 (set insert) |
| 795 | 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 |
| 796 | 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) |
| 797 | 009997c0 | GameOver::Show | ECX = Game+0x1d520 (Game::_gameOver) (was DeathScreen::Show) |
| 798 | 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 |
| 799 | 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*) |
| 800 | 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 |
| 801 | 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 |
| 802 | 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 |
| 803 | 008e8240 | Menu_OnlineLobby::Update | MenuManager::Update case 0x11: #Online/MATCH_ENDED, NO_CONNECTION_TO_HOST; render 008e8af0 (GAME_STARTING_COUNTDOWN, RUN_STARTING) |
| 804 | 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 |
| 805 | 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..) |
| 806 | 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 |
| 807 | 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 |
| 808 | 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) |
| 809 | 00842230 | PlayerHUD::Update | zhl PlayerHUD::Update; loads gfx/ui/hud_*.png active item overrides, Costume pngs; called from HUD::PostUpdate |
| 810 | 004ae4d0 | NpcAI::ENTITY_DOGMA_angel | dispatcher case type 950 variant 2; strs NukeStart/NukeLoop/RingLoop/SpreadAttack/Fizzle (Dogma phase-2 angel form) |
| 811 | 005983f0 | NpcAI::ENTITY_POLYCEPHALUS_the_pile | called from NpcAI::ENTITY_POLYCEPHALUS when npc->_variant==1 (The Pile); strs GoUnder/ComeUp/DirtShrink/Summon |
| 812 | 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 |
| 813 | 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 |
| 814 | 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 |
| 815 | 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 |
| 816 | 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) |
| 817 | 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 |
| 818 | 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 |
| 819 | 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 |
| 820 | 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) |
| 821 | 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) |
| 822 | 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 |
| 823 | 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 |
| 824 | 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 |
| 825 | 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 |
| 826 | 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 |
| 827 | 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 |
| 828 | 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 |
| 829 | 008db8f0 | Menu_OnlineLobby::render_player_slots | ? sub-render of the online lobby menu 0x8ddae0: layers Box10..Box20, Idle/Idle_Daily, BackButton/BackKey |
| 830 | 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) |
| 831 | 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 |
| 832 | 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 |
| 833 | 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 |
| 834 | 004a2ce0 | NpcHelper::colostomia_pick_dive_target | ? called from NpcAI::ENTITY_COLOSTOMIA right before playing GoUnder; GetNearestPlayer, Room::GetRandomPosition/FindFreePickupSpawnPosition/GetGridCollision/IsPositionInRoom |
| 835 | 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 |
| 836 | 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 |
| 837 | 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 |
| 838 | 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 |
| 839 | 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 |
| 840 | 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 |
| 841 | 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 |
| 842 | 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 |
| 843 | 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 |
| 844 | 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 |
| 845 | 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 |
| 846 | 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) |
| 847 | 00ad60a0 | jpeg_idct_6x6 | libjpeg: case 6 of the start_pass 00acae00 IDCT switch, between 5x5 and 7x7 (was theora_oc_state_frag_recon) |
| 848 | 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 |
| 849 | 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) |
| 850 | 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 |
| 851 | 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) |
| 852 | 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 |
| 853 | 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 |
| 854 | 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 |
| 855 | 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) |
| 856 | 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 |
| 857 | 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 |
| 858 | 0044c070 | NpcAI::ENTITY_BEAST_ultra_war | 951.30 (Beast case variant switch 0x1e); strs ChaseLoop/DashStart/LungeBomb/ThrowBomb/QuickBurst/Shockwave, BombExplosionEffects |
| 859 | 00443e50 | NpcAI::ENTITY_BEAST_ultra_death_scythe | 951.41 (Beast case variant switch 0x29); strs Rotate3-6, QueryRadius, normalize_angle_degrees |
| 860 | 004b0200 | NpcAI::ENTITY_DOGMA_10 | ? 950.10 (Dogma case, variant 10); strs Appear/DashStart/DashUp/DashDown/DashRight, DamageRadius, ShakeScreen, CalcTargetPosition |
| 861 | 0063c1c0 | Entity_Familiar::ai_minisaac | Entity_Familiar::Update case 0xe4 (FamiliarVariant.MINISAAC 228); Head*/Walk*/Fly* dir anims, Transform/TransformFlying, Poof_Small |
| 862 | 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 |
| 863 | 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 |
| 864 | 00a65190 | KAGE::Graphics::ImageJpg::load | slot 14 of the KAGE::Graphics::ImageJpg vtable (0xba0020); loads a JPEG image (was image_load_jpeg) |
| 865 | 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 |
| 866 | 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 |
| 867 | 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 |
| 868 | 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 |
| 869 | 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 |
| 870 | 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 |
| 871 | 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 |
| 872 | 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 |
| 873 | 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 |
| 874 | 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 |
| 875 | 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 |
| 876 | 009ee2a0 | Menu_Stats::update_achievements | called from Menu_Stats::Update when _isAchievementScreenVisible; Icon%dLocked/Unlocked(Selected) spritesheets, Achievement_Locked.png, Appear/Dissapear |
| 877 | 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 |
| 878 | 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 |
| 879 | 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) |
| 880 | 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) |
| 881 | 007a6680 | Entity_Player::room_exit | ? (bool): per player from Game::ChangeRoom, the player update, 009bd150, 009bee80; RemoveCompassEffect, ClearTemporaryEffects, FlushQueueItem, ResetItemState, RemoveCoPlayer, TemporaryEffects::RemoveEffect/RemoveNullEffect |
| 882 | 0044b6f0 | NpcAI::ENTITY_BEAST_ultra_pestilence_maggot | 951.22 (Beast case variant switch 0x16); strs Maggot/MaggotBack/ShootPos, Entity_NPC::ParentNPC, spawn_blood_explosion |
| 883 | 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 |
| 884 | 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 |
| 885 | 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 |
| 886 | 0043a5e0 | Entity_Familiar::wisp_take_damage | Entity_Familiar::TakeDamage for variants 0xce/0xed (WISP 206, ITEM_WISP 237): GetLastSpawner, AddFear, AddErasedEnemy/ShouldEraseEnemy, RemoveWithPoof, HasInvincibility |
| 887 | 0054f670 | NpcHelper::needle_render | Entity_NPC::Render calls it for type 0x371 (881 Needle/Pasty): ANM2::GetLayer + distance math (burrow render) |
| 888 | 004a2940 | NpcHelper::colostomia_pick_target | (out Vector*, out bool*) -> Vector*: NpcAI::ENTITY_COLOSTOMIA stores the result as _targetPosition; EntityList::QuerySublist, GetPlayerTarget |
| 889 | 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) |
| 890 | 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 |
| 891 | 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) |
| 892 | 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 |
| 893 | 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 |
| 894 | 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 |
| 895 | 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 |
| 896 | 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 |
| 897 | 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 |
| 898 | 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*) |
| 899 | 00431be0 | FamiliarAI::umbilical_baby | Entity_Familiar::Update case 0xf0 (FamiliarVariant 240 UMBILICAL_BABY); allocates UmbilicalBabyData extra data, CreateWeapon/aim |
| 900 | 009688d0 | Entity_Knife::UpdateSwingHits | called from Entity_Knife::Update when _isSwinging && !_isFlying; QueryRadius, HitListContains, AddKnockback/AddBurn, Reflect projectiles, GetTearHitParams; Swing/Swing2/SwingEnd anims |
| 901 | 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 |
| 902 | 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) |
| 903 | 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) |
| 904 | 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) |
| 905 | 009c79a0 | GameState::Clear | called by GameState::Delete and the SteamCloud/local GameState load paths; constructs RoomDescriptor, GameStatePlayer::Init, memset; zhl GameState::Clear() |
| 906 | 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 |
| 907 | 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 |
| 908 | 00948200 | Menu_Character::LoadGraphics | called from MenuManager::LoadGraphics (00988d80); loads gfx/ui/main menu/CharacterMenu*.anm2, DifficultyWidget, SeedEntry, SeedWidget, WinStreakWidget, PageSwapWidget |
| 909 | 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) |
| 910 | 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) |
| 911 | 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 |
| 912 | 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 |
| 913 | 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 |
| 914 | 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 |
| 915 | 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 |
| 916 | 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 |
| 917 | 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 |
| 918 | 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 |
| 919 | 00444cc0 | NpcAI::ENTITY_BEAST_ultra_famine | dispatcher case for The Beast (951) variant 10 (ULTRA_FAMINE); DashStart/DashLoop/DashEnd, Summon, HeadLoop, Reverse, Transition anims |
| 920 | 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 |
| 921 | 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) |
| 922 | 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 |
| 923 | 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 |
| 924 | 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 |
| 925 | 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 |
| 926 | 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) |
| 927 | 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) |
| 928 | 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 |
| 929 | 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 |
| 930 | 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 |
| 931 | 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 |
| 932 | 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 |
| 933 | 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) |
| 934 | 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 |
| 935 | 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 |
| 936 | 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 |
| 937 | 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 |
| 938 | 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 |
| 939 | 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 |
| 940 | 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 |
| 941 | 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 |
| 942 | 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) |
| 943 | 0064f860 | FamiliarAI::cube_baby | ? Entity_Familiar::Update case 0xef (FamiliarVariant 239, entities2 3.239 Cube Baby); 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 |
| 944 | 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' |
| 945 | 00635390 | FamiliarAI::sprinkler | Entity_Familiar::Update case 0x78 (120 SPRINKLER); 'Loki Appear' with 0x57, 'MomsEye Appear' with 0x37; FireTear/FireBomb/FireTechXLaser spin |
| 946 | 004386f0 | Entity_Familiar::fire_wisp_projectile | only caller Entity_Familiar::FireProjectile for variant 0xce/0xed (Wisp/Item Wisp); get_wisp_config, AddBlueFlies, FireBrimstone |
| 947 | 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 |
| 948 | 007dfaf0 | Music::LoadConfig | ZHL Music::LoadConfig(xmlpath, ismod): 'Could not find root node music in %s', layer/layerintro/layermode attrs, ModManager::TryRedirectPath |
| 949 | 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 |
| 950 | 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 |
| 951 | 00728cc0 | ItemConfig::load_wisp_node | ? wisps.xml entry attrs coreColor/flameColor/tearColor/procChance/damageMultiplier; caller 0072a1b0 is likely LoadWispConfig |
| 952 | 00722cb0 | ItemConfig::parse_tags | 'invalid tag: %s' with tag names angel/devil/battery/quest/offensive/nolostbr... |
| 953 | 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 |
| 954 | 0041e960 | BeamRenderer::End | 'Beam renderer needs per-vertex colors for Dogma'; RenderSegmentLink calls Begin, 5x 0041e720 (Add) then this; draws quads via shader |
| 955 | 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 |
| 956 | 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 |
| 957 | 00acebf0 | mapping0_forward | libvorbis: the forward slot of the mapping0 table; calls mdct_forward, _vp_noisemask, floor1_fit, oggpack_write; the real mapping0_inverse is 00acf890 (was mapping0_inverse) |
| 958 | 0062f7f0 | FamiliarAI::bumbo | Entity_Familiar::Update case 0x58 (88 BUMBO); Level1Float/Level2Idle..Level4Walking anims, PickEnemyTarget, FindFreePickupSpawnPosition |
| 959 | 00618b00 | FamiliarAI::gb_bug | Entity_Familiar::Update case 0x5d (93 GB_BUG); Collide/Float anims, Entity_Pickup::Morph + IsChest on hit pickups, FollowParent |
| 960 | 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 |
| 961 | 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 |
| 962 | 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 |
| 963 | 00735a30 | ItemPool::load_pools | ZHL ItemPool::load_pools(xmlpath, ismod): 'Could not find root node ItemPools', 'Pool %s not found', Item/Weight/DecreaseBy/RemoveOn |
| 964 | 0072b230 | ItemConfig::load_locust_node | ? locusts.xml entry attrs locustFlags/mutexFlags/shootGfx/overlayGfx/procChance; caller 0072ba80 has 'Could not find root node locusts' (= LoadLocustConfig) |
| 965 | 009a6fe0 | HUD::render_player_hud | ? HUD::Render calls it per player index; this+idx*0x6dc PlayerHUD, draws hearts (00843df0), RenderSpellQueue, coop ghost alpha |
| 966 | 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 |
| 967 | 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) |
| 968 | 0060bae0 | Entity_Effect::setup_loot_preview | only caller CreateLootPreview, right after spawning 1000.191; questionmark.png, Pickup_PickVariant, ItemConfig::GetCollectible, forced/prevented curses |
| 969 | 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 |
| 970 | 00a8a090 | TheoraVideoManager::TheoraVideoManager | theoraplayer ctor log 'Initializing Theoraplayer Video Playback Library (', '- libtheora version:', '- libvorbis version:' |
| 971 | 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 |
| 972 | 009efdb0 | rich_text_render | ? renders lines from 009f0290 with inline heart/pickup/collectible icons; used by PlayerHUD::RenderHearts and item info pages |
| 973 | 00616770 | FamiliarAI::bobs_brain | Entity_Familiar::Update case 0x30 (48 BOBS_BRAIN); WalkDown/WalkHori/WalkVert, PickEnemyTarget, FindGridPath, SpawnEx explosion |
| 974 | 0062e9c0 | FamiliarAI::lost_fly | Entity_Familiar::Update case 0x55 (85 LOST_FLY); QueryRadius + IsVulnerableEnemy + Entity_NPC::TryForceTarget (distracts enemies), CheckLine |
| 975 | 00638170 | FamiliarAI::mystery_egg | ? Entity_Familiar::Update case 0x7c (124); 'Crack' event -> SpawnEx enemy, MakeChampion, AddCharmed, BloodExplode; FollowParent |
| 976 | 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) |
| 977 | 0061c3f0 | FamiliarAI::variant_66 | ? Entity_Familiar::Update case 0x42 (66); 'Walking', PathFinder, shoots (apply_tear_modifiers/convert_shot_for_enemy_owner), SpawnEx(3,0x49) |
| 978 | 0064fd40 | FamiliarAI::blood_puppy | ? Entity_Familiar::Update case 0xf1 (241, entities2 3.241 Blood Puppy); Idle/Move Down/Hori/Up, PickEnemyTarget, FindGridPath, MakeSplat, AddPersistentEntity, cap 5 (10 with Mom's Wig 217) |
| 979 | 00644780 | FamiliarAI::variant_204 | ? Entity_Familiar::Update case 0xcc (204); spawns child effect 1000.166 at +0x3c0 (scale .6, tinted), GetOrbitPosition, HasEntityFlags |
| 980 | 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) |
| 981 | 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 |
| 982 | 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 |
| 983 | 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 |
| 984 | 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) |
| 985 | 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 |
| 986 | 006f9000 | Game::store_game_state | ? (GameState*) mirror of 006f8140: ItemPool::StoreGameState, Seeds copy, 009bd150; callers Game::save_rewind_state, 009172f0, 00958ed0 |
| 987 | 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) |
| 988 | 00904050 | make_timestamp_string | sprintf_s(global,0x40,'%02d_%02d_%d__%02d_%02d_%02d'); caller 009047f0 appends it to 'online_logs/desyncs/' |
| 989 | 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!' |
| 990 | 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) |
| 991 | 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 |
| 992 | 0097fe60 | Entity_Laser::update_sample_points | ? update_laser helper: walks +0x480 8-byte vector, angle +0x41c deg->rad, normalize_angle_degrees/atan2 |
| 993 | 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 |
| 994 | 0097f820 | Entity_Laser::spawn_impact_effect | loads gfx/1000.050_brimstoneimpact_static.anm2, Spawn; callers update_laser and 009704a0 |
| 995 | 00417930 | Room::init_render_buffers | ? Room::constructor helper: allocates 4 buffers (0x4000/0x100/0x800/0x4000 entries), EntityList::Reset, Manager::LoadImage gfx/shadow.png |
| 996 | 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) |
| 997 | 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 |
| 998 | 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) |
| 999 | 009446e0 | Camera::update_follow | Camera::DoUpdate non-override branch: computes target, ring_buffer_push ('Cannot erase from empty buffer'), Camera::ClampedToRoom |
| 1000 | 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 |
| 1001 | 00581430 | NpcAI::rotgut_fire_projectiles | ENTITY_ROTGUT calls on Shoot event; ProjectileParams + Entity_NPC::FireBossProjectiles toward GetPlayerTarget |
| 1002 | 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 |
| 1003 | 005911b0 | NpcAI::siren_release_stolen_items | ENTITY_SIREN_main state 0x12: 'Death', AnimateCollectible 'Pickup'/'PlayerPickupSparkle' on owner +0xf40, RemoveCollectible 0x51/0xb, Spawn 0x388 |
| 1004 | 00a13750 | kage_graphics_flush | ? compares global render state DAT_00c79900.., 00a670c0/00a66e30 submit; called from Entity::PostRender after shader set and 00a11080 |
| 1005 | 00824800 | Room::update_ambient_spawns | ? Room::Update tail: Room::GetTimeScale, random SpawnEx(1000,0x87) at clamped positions |
| 1006 | 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 |
| 1007 | 009c6860 | load_preloads_xml | 'Could not find root node preloads in %s', preload nodes; Game::LoadConfigXmls |
| 1008 | 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 |
| 1009 | 008d5f70 | render_item_info_text | ? shared by 008d5440 (CollectibleDesc/Title/ItemPools), 008d5640 (TrinketDesc), 008d57f0 (PocketDesc): string_table_translate + rich_text_render 009efdb0, Game::GetPlayer |
| 1010 | 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 |
| 1011 | 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 |
| 1012 | 009fa450 | Weapon_Bone::Fire | Weapon_Bone vftable slot 3 (Fire); gfx/tears_brokenbone.png, TryForgottenThrow, Entity_Knife::Shoot |
| 1013 | 00a0a720 | Weapon_Tears::Fire | Weapon_Tears vftable slot 3 (Fire); gfuel promo casing/muzzle_flash anm2, GetMultiShotParams, TriggerTearEffects |
| 1014 | 00800500 | Room::update_ambient_sounds | this=Room; averages player positions, then SFXManager::SetAmbientSound x8 smoothing volumes stored at Room+0x7084..; called from Room::Update |
| 1015 | 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 |
| 1016 | 00a052b0 | Weapon_Laser::Fire | Weapon_Laser vftable slot 3 (Fire) |
| 1017 | 00a0e630 | Weapon_UrnOfSouls::Fire | Weapon_UrnOfSouls vftable slot 3 (Fire) |
| 1018 | 0078ca00 | Entity_Player::Render | Entity_Player vftable slot 5 (Entity::Render); IsInvisible, GetFlyingOffset, Font::DrawString |
| 1019 | 009b31c0 | Menu_Options::Render | option label layer names (Fullscreen, Gamma, HUDOffset, MapOpacity...), called from menu render dispatcher FUN_0098a040 beside Menu_DailyChallenge::Render |
| 1020 | 008f06e0 | Menu_SpecialSeeds::Render | PaperTop/PaperMiddle/PaperBottom, NoAchievement, {numseeds}, Seeds::CanAddSeedEffect, string_scramble_seeded; called from menu render dispatcher FUN_0098a040 |
| 1021 | 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) |
| 1022 | 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) |
| 1023 | 0054a350 | NpcAI::ENTITY_SKINNY_crispy | called from NpcAI::ENTITY_SKINNY when type 0xe2 variant 2 (Crispy); strs HeadAngry/HeadTransition/WalkHori/WalkVert |
| 1024 | 0068b260 | Console::Update | ? GLFW input.c asserts, Console::FillOmnicomplete; called from Manager update loop FUN_00954cd0 and FUN_006fa540 |
| 1025 | 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 |
| 1026 | 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 |
| 1027 | 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 |
| 1028 | 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 |
| 1029 | 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 |
| 1030 | 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 |
| 1031 | 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 |
| 1032 | 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 |
| 1033 | 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 |
| 1034 | 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 |
| 1035 | 0061c910 | FamiliarAI::punching_bag | Entity_Familiar::Update case 0x43 (variant 67); EvaluateItems CheckFamiliar(0x43) from collectible 0x119 COLLECTIBLE_PUNCHING_BAG; PathFinder::EvadeTarget/FindGridPath, QueryRadius |
| 1036 | 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 |
| 1037 | 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 |
| 1038 | 005ad250 | NpcAI::ENTITY_VISAGE_chain | dispatch type 903 (Visage) variant 10 (chain); siblings ENTITY_VISAGE (0), ENTITY_VISAGE_mask (1), FUN_005ad8a0 (0x14 plasma) |
| 1039 | 0059c5d0 | NpcAI::ENTITY_TURDLET_segments | ? called from NpcAI::ENTITY_TURDLET, npc only; BodySegments/Bounce/HeadRotate null frames and layer frames by segment count (+0xc8) |
| 1040 | 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 |
| 1041 | 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 |
| 1042 | 009a8b90 | Entity_NPC::render_debug | ? called from Entity_NPC::Render; hsv_to_rgb colored render_quad_set_rect quads, no sprite work |
| 1043 | 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 |
| 1044 | 00435290 | Entity_Effect::render_player_target | ? called from Entity_Effect::Render and FUN_00435130; dyncast Entity_Familiar::ExtraData -> UmbilicalBabyData, player-colored (NetplayManager::IsIdxLocalPlayer) quads |
| 1045 | 0094e910 | Menu_Collection::Update | MenuManager update FUN_009897d0 case 8 (MainMenuType COLLECTION); pages of 0x78 items, ItemConfig::GetCollectible + Manager::LoadImage |
| 1046 | 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 |
| 1047 | 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 |
| 1048 | 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 |
| 1049 | 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 |
| 1050 | 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 |
| 1051 | 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 |
| 1052 | 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 |
| 1053 | 007387d0 | RoomDescriptor::operator_assign | copies 0x2e dwords (RoomDescriptor size 0xb8) from param to this; called from Level::reset_room_list |
| 1054 | 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 |
| 1055 | 009ae640 | LevelGenerator::try_place_room | ? called from level generator FUN_00739370; LevelGenerator_Room::constructor + get_door_target_position + place_room, returns success |
| 1056 | 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) |
| 1057 | 00ad6ad0 | jpeg_idct_5x5 | libjpeg: case 5 of the DCT_scaled_size switch in start_pass 00acae00 (was jpeg_idct_islow) |
| 1058 | 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 |
| 1059 | 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 |
| 1060 | 0043aa90 | Entity_Familiar::ai_wisp | Entity_Familiar::Update callee; variant 0xce (WISP), ItemConfig::get_wisp_config, subtypes 0x28a/0x2c5/0x25c items, SpecialDown/SpecialUp anims |
| 1061 | 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 |
| 1062 | 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 |
| 1063 | 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 |
| 1064 | 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 |
| 1065 | 00447180 | NpcAI::ENTITY_BEAST_ultra_famine_fly | ? 951 variant switch case 0xb (variant 11); m_Parent downcast, CalcTargetPosition, IsPositionInRoom, 1299 bytes |
| 1066 | 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 |
| 1067 | 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 |
| 1068 | 008453c0 | PlayerHUD::RenderActiveItem | (slot, ANM2*, layout, size, alpha): BarEmpty/BarFull/BarOverlayN charge bar layers, GetTotalActiveCharge/GetActiveMaxCharge, ItemConfig::GetCollectible, HasPlayerForm; zhl sig missed |
| 1069 | 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) |
| 1070 | 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 |
| 1071 | 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 |
| 1072 | 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 |
| 1073 | 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 |
| 1074 | 0095b310 | Manager::update_controller_popups | ? ##GAME###CONTROLLER_DISCONNECTED_* / RESELECT_CONTROLLER_* / ##PLATFORM###UNRECOGNIZED_CONTROLLER_* strings, SetControllerIndex; called from main loop 00954cd0 |
| 1075 | 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 |
| 1076 | 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 |
| 1077 | 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 |
| 1078 | 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 |
| 1079 | 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] |
| 1080 | 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 |
| 1081 | 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 |
| 1082 | 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 |
| 1083 | 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 |
| 1084 | 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 |
| 1085 | 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) |
| 1086 | 008f92b0 | ModEntry::parse_metadata_xml | ECX=ModEntry: metadata/name/directory/description/version/visibility/tag/id into _directory 0x0, _name 0x18, _metadataDescription 0xa8 (zhl ModEntry) |
| 1087 | 006d0ec0 | NpcHelper::fireplace_moveable_update | NpcAI::ENTITY_FIREPLACE for variants 10/12/13 (moveable fireplaces): Appear/Disappear anims, IsFrame, GetIntervalTicks, SoundEffects::Play |
| 1088 | 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 |
| 1089 | 0094bee0 | Menu_Character::render_portraits | ? ECX=MenuManager+0x1534 (zhl _menuCharacter 0x1530+4) via 0094a500; ModManager::RenderCustomCharacterPortraits, Menu_Character_Entry::IsCharacterAvailable, entry sprites +0xb50 |
| 1090 | 00576090 | NpcHelper::raglich_pick_target_pos | ? NpcAI::ENTITY_RAGLICH only caller (twice, before GetPlayerTarget): GetAxisAlignedUnitVectorFromDir, Room::GetGridIndex, GetClampedPositionImpl, IsPositionInRoom |
| 1091 | 009f6610 | Weapon::fire_laser | ? Weapon::Fire callee (pos, dir, ..., flags): Entity_Player::FireTechLaser or Entity_Laser::ShootAngle with Weapon::GetOwnerLaserOffset, sets laser+0x515 |
| 1092 | 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 |
| 1093 | 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 |
| 1094 | 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 |
| 1095 | 0058ac10 | NpcHelper::singe_explode_at | NpcAI::ENTITY_SINGE_body passes target pos: QueryRadius/QuerySublist, Game::BombExplosionEffects, ShakeScreen, ButterBeanFart |
| 1096 | 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 |
| 1097 | 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 |
| 1098 | 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 |
| 1099 | 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 |
| 1100 | # |
| 1101 | # Corrections found by the tier-3 pass (checked: strings/callers). Short REPENTOGON sigs and ICF put these names on the wrong function. |
| 1102 | 006d97e0 | Entity_NPC::zhl_misfit_006d97e0 | ? tests boss types (0x47..0x4c, 0xdf), Morph/BloodExplode; ZHL prefix20/55 called it Entity_Player::Update |
| 1103 | 00779b40 | Entity_Player::update_body_animations | ? Head*/Walk*/Blink/Shimmer anims, only caller Entity_Player::Update; ZHL called it RoomTransition::Update |
| 1104 | 00830950 | RoomTransition::ChangeRoom | uses _roomIndex/_direction, Game::ChangeRoom, boss intro; ZHL had put the name on 006414c0 |
| 1105 | 006414c0 | Entity_Familiar::zhl_misfit_006414c0 | ? only caller Entity_Familiar::Update; +0x184=5, Random()%3; ZHL called it RoomTransition::ChangeRoom |
| 1106 | 008318a0 | RoomTransition::Update | ? state machine on this+0x1c that calls ChangeRoom; TeleportDown/Pickup anims |
| 1107 | 00592460 | NpcAI::ENTITY_BEAST | 951.0 (dispatcher default case); BGIdle/BlastLoop/Blink/DeathRay |
| 1108 | 00596120 | NpcAI::ENTITY_BEAST_stalactite | 951.1; TopCrackedBase/TopCrackedTip; NpcTable named it ENTITY_BEAST (first case) |
| 1109 | 00587aa0 | NpcAI::ENTITY_SCOURGE | 909.0 (variant != 10); Idle/HoverLoop/Death/Shoot; ZHL exact sig called it Entity_Familiar::HandleCollision (real one 006261f0) |
| 1110 | 00584140 | NpcAI::ENTITY_SCOURGE_chain | 909.10 chain segment; NpcTable named it ENTITY_SCOURGE |
| 1111 | 00843df0 | PlayerHUD::RenderHearts | ui_hearts.png, CurseHeart, HolyMantle*; ZHL had put the name on 0083eae0 |
| 1112 | 0083eae0 | PlayerHUD::render_pocket_item_info | ? #ITEM_INFO_UNIDENTIFIED_CARD/PILL/RUNE strings; ZHL called it RenderHearts |
| 1113 | 00923920 | NetplayManager::update_text_popup | ? only caller NetplayManager::Update, TextIn/TextOut/TextStay; ZHL called it ReviveFromTrinket |
| 1114 | 0098a040 | MenuManager::Render | ? sub-menu render list (MenuManager+0xdd4/0x2688/0x27b8/0xd4d0) |
| 1115 | 009897d0 | MenuManager::Update | per-state switch: Menu_Character/Stats/CustomChallenge::Update |
| 1116 | 00a03f90 | Weapon_Knife::Fire | Weapon_Knife vftable slot 3 (RTTI walk); ZHL prefix24/43 called it Menu_Game::online_mods_check |
| 1117 | 008c99b0 | Menu_ControllerSelect::Render | ? in MenuManager::Render list with MenuManager+0xd154 |
| 1118 | 007d7740 | Entity_Player::RecomputeWispCollectibles | ? matches REPENTOGON's RecomputeWispCollectibles_TriggerCollectibleRemoved hook site |
| 1119 | 0085e450 | Font::EnableAutoWrap | Lua Font table |
| 1120 | 0085e470 | Font::Load | Lua Font table |
| 1121 | 00a1a5c0 | Font::SetAlignment | Lua Font table |
| 1122 | 00a1a5d0 | Font::SetMaxCharacters | Lua Font table |
| 1123 | 00a1a5e0 | Font::GetMaxCharacters | Lua Font table |
| 1124 | 00a1a5f0 | Font::IsAutoWrapEnabled | Lua Font table |
| 1125 | 00a1a600 | Font::EnableTruncation | Lua Font table |
| 1126 | 00a1a620 | Font::IsTruncationEnabled | Lua Font table |
| 1127 | 00a1a630 | Font::SetMissingCharacterOverride | Lua Font table |
| 1128 | 00a1ad90 | Font::Unload | Lua Font table |
| 1129 | 00a1ae70 | Font::GetCharacterWidth | Lua Font table |
| 1130 | 00a1aea0 | Font::GetLineHeight | Lua Font table |
| 1131 | 00a1aeb0 | Font::GetBaselineHeight | Lua Font table |
| 1132 | 00a1b140 | Font::DrawString | Lua Font table |
| 1133 | 00a1b3b0 | Font::SetMissingCharacter | Lua Font table |
| 1134 | 00407280 | Font::SetLineHeightModifier | Lua Font table |
| 1135 | # Weapon vtable slots (RTTI walk of the exe's vftables) |
| 1136 | 00a0d870 | Weapon_Tears::Update | vftable |
| 1137 | 00a0d850 | Weapon_Tears::Reset | vftable |
| 1138 | 00a0d8e0 | Weapon_Tears::GetMaxCharge | vftable |
| 1139 | 009f9aa0 | Weapon_Bone::Free | vftable |
| 1140 | 009fa220 | Weapon_Bone::Update | vftable |
| 1141 | 009fed90 | Weapon_Bone::Reset | vftable |
| 1142 | 009fedf0 | Weapon_Bone::ClearReferences | vftable |
| 1143 | 009feeb0 | Weapon_Bone::GetMaxCharge | vftable |
| 1144 | 00a052a0 | Weapon_Laser::Reset | vftable |
| 1145 | 00a063b0 | Weapon_Laser::ClearReferences | vftable |
| 1146 | 00a06870 | Weapon_Laser::GetMaxCharge | vftable |
| 1147 | 00a04f90 | Weapon_Knife::ClearReferences | vftable |
| 1148 | 00a05010 | Weapon_Knife::GetMaxCharge | vftable |
| 1149 | 009f9b60 | Weapon_Bombs::Fire | vftable |
| 1150 | 00a031b0 | Weapon_Deathmatch::Fire | vftable |
| 1151 | 00a036e0 | Weapon_Fetus::Fire | vftable |
| 1152 | 00a0d9c0 | Weapon_TechX::Fire | vftable |
| 1153 | 00a08d40 | Weapon_Rockets::Fire | vftable |
| 1154 | 00a099e0 | Weapon_SpiritSword::Fire | vftable |
| 1155 | 00a06a30 | Weapon_Ludovico::Fire | vftable |
| 1156 | 00a0e270 | Weapon_UmbilicalWhip::Fire | vftable |
| 1157 | 0078dc20 | Entity_Player::RenderShadowLayer | vftable slot 6 |
| 1158 | 00954cd0 | Manager::Update | main loop |
| 1159 | # |
| 1160 | # 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) |
| 1161 | 006a7ee0 | Entity_Dummy::Free | vtable slot 0 of Entity_Dummy; slot name from Entity |
| 1162 | 006a7f20 | Entity_Dummy::Init | vtable slot 1 of Entity_Dummy; slot name from Entity |
| 1163 | 006a7f30 | Entity_Dummy::Update | vtable slot 3 of Entity_Dummy; slot name from Entity |
| 1164 | 006a7f80 | Entity_Dummy::Render | vtable slot 5 of Entity_Dummy; slot name from Entity |
| 1165 | 00754d60 | Entity_Player::Free | vtable slot 0 of Entity_Player; slot name from Entity |
| 1166 | 00757a40 | Entity_Player::ClearReferences | vtable slot 17 of Entity_Player; slot name from Entity |
| 1167 | 00757ab0 | Entity_Player::CanShutDoors | vtable slot 18 of Entity_Player; slot name from Entity |
| 1168 | 005ccc60 | Entity_Text::Free | vtable slot 0 of Entity_Text; slot name from Entity |
| 1169 | 005ccca0 | Entity_Text::Init | vtable slot 1 of Entity_Text; slot name from Entity |
| 1170 | 005ccd80 | Entity_Text::Update | vtable slot 3 of Entity_Text; slot name from Entity |
| 1171 | 005cd2e0 | Entity_Text::Interpolate | vtable slot 4 of Entity_Text; slot name from Entity |
| 1172 | 005ccfc0 | Entity_Text::Render | vtable slot 5 of Entity_Text; slot name from Entity |
| 1173 | 009f9880 | Weapon_Bombs::Free | vtable slot 0 of Weapon_Bombs; slot name from Weapon |
| 1174 | 009fa190 | Weapon_Bombs::GetFocusEntity | vtable slot 9 of Weapon_Bombs; slot name from Weapon |
| 1175 | 009fa1b0 | Weapon_Bombs::GetMarkedTargetVariant | vtable slot 12 of Weapon_Bombs; slot name from Weapon |
| 1176 | 009fef20 | Weapon_Bone::TriggerNewRoom | vtable slot 11 of Weapon_Bone; slot name from Weapon |
| 1177 | 009ff1a0 | Weapon_Bone::CanTriggerCursedEyeTeleport | vtable slot 14 of Weapon_Bone; slot name from Weapon |
| 1178 | 009ff210 | Weapon_Bone::CanTriggerKidneyStone | vtable slot 15 of Weapon_Bone; slot name from Weapon |
| 1179 | 009ff230 | Weapon_Bone::CanOverrideForgottenThrow | vtable slot 16 of Weapon_Bone; slot name from Weapon |
| 1180 | 00a036b0 | Weapon_Deathmatch::GetMaxCharge | vtable slot 6 of Weapon_Deathmatch; slot name from Weapon |
| 1181 | 00a03f60 | Weapon_Fetus::GetMaxCharge | vtable slot 6 of Weapon_Fetus; slot name from Weapon |
| 1182 | 009f99b0 | Weapon_Knife::Free | vtable slot 0 of Weapon_Knife; slot name from Weapon |
| 1183 | 00a05060 | Weapon_Knife::SupportsTractorBeam | vtable slot 13 of Weapon_Knife; slot name from Weapon |
| 1184 | 009f9930 | Weapon_Laser::Free | vtable slot 0 of Weapon_Laser; slot name from Weapon |
| 1185 | 00a068e0 | Weapon_Laser::CanTriggerCursedEyeTeleport | vtable slot 14 of Weapon_Laser; slot name from Weapon |
| 1186 | 00a099a0 | Weapon_Rockets::GetMarkedTargetVariant | vtable slot 12 of Weapon_Rockets; slot name from Weapon |
| 1187 | 00a0a6f0 | Weapon_SpiritSword::Reset | vtable slot 4 of Weapon_SpiritSword; slot name from Weapon |
| 1188 | 00a0a700 | Weapon_SpiritSword::GetMaxCharge | vtable slot 6 of Weapon_SpiritSword; slot name from Weapon |
| 1189 | 009f9900 | Weapon_Tears::Free | vtable slot 0 of Weapon_Tears; slot name from Weapon |
| 1190 | 00a0d950 | Weapon_Tears::CanTriggerCursedEyeTeleport | vtable slot 14 of Weapon_Tears; slot name from Weapon |
| 1191 | 00a0e260 | Weapon_TechX::GetMaxCharge | vtable slot 6 of Weapon_TechX; slot name from Weapon |
| 1192 | 009f97e0 | Weapon_UrnOfSouls::Free | vtable slot 0 of Weapon_UrnOfSouls; slot name from Weapon |
| 1193 | 00a0f410 | Weapon_UrnOfSouls::Reset | vtable slot 4 of Weapon_UrnOfSouls; slot name from Weapon |
| 1194 | 00a0f420 | Weapon_UrnOfSouls::ClearReferences | vtable slot 5 of Weapon_UrnOfSouls; slot name from Weapon |
| 1195 | 009f3170 | Weapon_UrnOfSouls::GetMainEntity | vtable slot 10 of Weapon_UrnOfSouls; slot name from Weapon |
| 1196 | 007729d0 | Entity_Player::TakeDamage | Entity_Player vtable slot 8 (TakeDamage), 25 KB |
| 1197 | 0099b520 | GridEntity_Gravity::PostInit | GridEntity_Gravity vtable slot 1; Tiles_Itemdungeon(_Gideon).anm2; ZHL exact sig said Entity_Player::InitPreLevelInitStats |
| 1198 | 00721310 | GridEntity_Wall::PostInit | GridEntity_Wall vtable slot 1; Brick/LowBrick/Decoration anims; ZHL prefix29/30 said Entity_Player::TryRemoveTrinket |
| 1199 | 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) |
| 1200 | 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) |
| 1201 | 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) |
| 1202 | 0074f0c0 | Level::generate_mirror_world | copies dimension 0's rooms into dimension 1, the treasure room as subtype 34 (alt_path.md) |
| 1203 | 0074f360 | Level::generate_mineshaft | dimension 1's eight fixed mineshaft rooms (subtypes 11, 30, 20) (alt_path.md) |
| 1204 | 007f01c0 | Room::update_door_transitions | players walking into doors start room transitions; a 0x10 door (mirror) passes while not open (alt_path.md) |
| 1205 | 009be850 | PlayerManager::add_lost_curse | null item 112 for every player (white fire) (alt_path.md) |
| 1206 | 007d87a0 | Entity_Player::spawn_ghost_corpse | effect 1000.6 playing the player's Death, before the Lost Curse (alt_path.md) |
| 1207 | 00739370 | Level::place_special_rooms | the level's special rooms: boss, shops, treasure, mirror/mineshaft/photo door rooms (alt_path.md) |
| 1208 | 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) |
| 1209 | 00794e50 | Entity_Player::update_effects | per-tick player update: Dark Arts snaring (+0x2004/+0x2008/+0x200c), the end blast, Mars, hallowed ground... (characters_9.md) |
| 1210 | 00848d20 | PlayerHUD::render_inventory | Tainted Isaac's inventory slots (max/2 columns, 12 px, ui_inventory Dot/Select) (characters_9.md) |
| 1211 | 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) |
| 1212 | 0072b230 | ItemConfig::load_locust | locusts.xml entry loader: +0x74 speed, +0x78 scale, +0x7c collisionInterval, count, gfx/colors (characters_9.md) |
| 1213 | 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) |
| 1214 | 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) |
| 1215 | 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) |
| 1216 | 004173b0 | Entity::is_player | tiny: type == 1 (ICF caution) (dogma_effects.md) |
| 1217 | 004173c0 | Entity::is_bomb | tiny: type == 4 (ICF caution) (dogma_effects.md) |
| 1218 | 00431550 | Entity::is_pickup | tiny: type == 5 (ICF caution) (dogma_effects.md) |
| 1219 | 00435ce0 | Entity::get_friction | tiny: returns +0x36c (Lua Entity.Friction field); blackhole pull divides by it (dogma_effects.md) |
| 1220 | 00a155c0 | Math::lerp | a XMM0, b XMM1, t XMM2 (clamped to 0..1 when CL != 0): a + (b - a) * t (asm) (dogma_effects.md) |
| 1221 | 0042f2a0 | Math::clamp | XMM2 clamped to [XMM0, XMM1] (MAXSS/MINSS) (dogma_effects.md) |
| 1222 | 0067f2b0 | Vector::mul_065 | out = in * 0.65 (world to sprite-space for texel tests and sprite offsets) (dogma_effects.md) |
| 1223 | 00456340 | Sprite::set_offset | tiny: writes +0x94/+0x98 (Lua Sprite.Offset is +0x94) (dogma_effects.md) |
| 1224 | 00435c60 | Sprite::set_flip_x | tiny: writes byte +0x100 (Lua Sprite.FlipX reads +0x100) (dogma_effects.md) |
| 1225 | 00435eb0 | Entity_Effect::set_rotation | tiny: writes +0x474 (Lua EntityEffect.Rotation) (dogma_effects.md) |
| 1226 | 0097fe50 | Entity_Laser::set_scale | writes +0x4e0 (_scale) from XMM1 then ResetSpriteScale (dogma_effects.md) |
| 1227 | 004aaed0 | Entity_Laser::set_disable_init_sound | tiny: writes byte +0x518 (_disableInitSound) (dogma_effects.md) |
| 1228 | 00447740 | Entity_Projectile::set_projectile_flags | tiny: writes 64-bit +0x438 (Lua ProjectileFlags) (dogma_effects.md) |
| 1229 | 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) |
| 1230 | 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) |
| 1231 | 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) |
| 1232 | 0083a1b0 | BeastArena::render_light | this=Room+0x776c, from Room::render_lighting: draws anm2 layer 16 (light, hell_overlay.png) full screen (beast.md) |
| 1233 | 00592270 | Room::get_beast_arena | lea eax,[ecx+0x776c]; callers in Entity_Effect::Update (beast.md) |
| 1234 | 00592260 | BeastArena::get_scroll_speed | movss xmm0,[ecx+0x120] (Room+0x788c) (beast.md) |
| 1235 | 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) |
| 1236 | 0081ee20 | Room::make_walls | calls Room::make_wall on the border cells (L-shape variants by shape); skipped in the Beast room (beast.md) |
| 1237 | 009bb840 | PlayerManager::trigger_room_clear | Entity_Player::TriggerRoomClear for every player + Entity_Familiar::TriggerRoomClear; ENTITY_BEAST calls it twice per dead harbinger (beast.md) |
| 1238 | 006fd3f0 | Game::interpolate_update | Manager::Update odd frames: entity Interpolate (vtable +0x10) and the BeastArena half-step scroll (beast.md) |
| 1239 | 009432f0 | Camera::get_clamp_bounds | ? room bounds -> camera min/max with the 0.65 scale; Beast room zeroes the extra margins (beast.md) |
| 1240 | 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) |
| 1241 | 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) |
| 1242 | 006b5e20 | Entity_NPC::hold_set | NPC field 0x3f0 = max(it, ticks), 0x3f4/0x3f8 = spot: holds it in place (Emergency Contact, 150) (trinkets-cards) |
| 1243 | 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) |
| 1244 | 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) |
| 1245 | 007a42b0 | Entity_Player::pockets_rotate | ACTION_DROP (0xb) triggered: rotates the filled pocket slots (0x17a0..) slot 0 to the back, then SwapActiveItems |
| 1246 | 005b1890 | Game::room_restart_flag_set | sets game+0x67744 = 1 after D7's Room::RespawnEnemies |
| 1247 | 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) |
| 1248 | 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) |
| 1249 | 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) |
| 1250 | 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) |
| 1251 | 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) |
| 1252 | 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) |
| 1253 | 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) |
| 1254 | 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) |
| 1255 | 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 |
| 1256 | 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) |
| 1257 | 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) |
| 1258 | 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) |
| 1259 | 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 |
| 1260 | 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 |
| 1261 | 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 |
| 1262 | 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) |
| 1263 | 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) |
| 1264 | 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 |
| 1265 | 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) |
| 1266 | 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 |
| 1267 | 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 |
| 1268 | 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 |
| 1269 | 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 |
| 1270 | 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 |
| 1271 | 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 |
| 1272 | 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 |
| 1273 | 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 |
| 1274 | 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* |
| 1275 | 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 |
| 1276 | 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 |
| 1277 | 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 |
| 1278 | 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 |
| 1279 | 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 |
| 1280 | 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 |
| 1281 | 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 |
| 1282 | 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 |
| 1283 | 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 |
| 1284 | 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 |
| 1285 | 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 |
| 1286 | 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 |
| 1287 | 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 |
| 1288 | 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 |
| 1289 | 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 |
| 1290 | 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) |
| 1291 | 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 |
| 1292 | 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 |
| 1293 | 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 |
| 1294 | 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 |
| 1295 | 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 |
| 1296 | 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 |
| 1297 | 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 |
| 1298 | 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 |
| 1299 | 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 |
| 1300 | 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 |
| 1301 | 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) |
| 1302 | 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 |
| 1303 | 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) |
| 1304 | 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 |
| 1305 | 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) |
| 1306 | 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 |
| 1307 | 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 |
| 1308 | 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 |
| 1309 | 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) |
| 1310 | 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 |
| 1311 | 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 |
| 1312 | 00aad330 | vorbis_synthesis_restart | libvorbis: reads halfrate_flag (+0xe48), sets centerW/pcm_current, pcm_returned/granulepos/sequence = -1 (was AudioStream::reset) |
| 1313 | 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 |
| 1314 | 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 |
| 1315 | 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 |
| 1316 | 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 |
| 1317 | 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 |
| 1318 | 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 |
| 1319 | 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 |
| 1320 | 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) |
| 1321 | 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 |
| 1322 | 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 |
| 1323 | 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 |
| 1324 | 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 |
| 1325 | 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 |
| 1326 | 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 |
| 1327 | 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 |
| 1328 | 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 |
| 1329 | 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 |
| 1330 | 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) |
| 1331 | 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 |
| 1332 | 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 |
| 1333 | 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 |
| 1334 | 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 |
| 1335 | 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 |
| 1336 | 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 |
| 1337 | 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 |
| 1338 | 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 |
| 1339 | 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 |
| 1340 | 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 |
| 1341 | 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 |
| 1342 | 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 |
| 1343 | 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 |
| 1344 | 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 |
| 1345 | 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) |
| 1346 | 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 |
| 1347 | 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 |
| 1348 | 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 |
| 1349 | 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 |
| 1350 | 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 |
| 1351 | 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 |
| 1352 | 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 |
| 1353 | 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 |
| 1354 | 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) |
| 1355 | 00708ae0 | vector12_resize | std::vector<12-byte element>::resize(n) with zero-fill (memset) or reallocation (FUN_00709480); Game::AddErasedEnemy, GameState::write |
| 1356 | 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 |
| 1357 | 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 |
| 1358 | 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 |
| 1359 | 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 |
| 1360 | 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 |
| 1361 | 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 |
| 1362 | 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 |
| 1363 | 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 |
| 1364 | 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 |
| 1365 | 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 |
| 1366 | 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 |
| 1367 | 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 |
| 1368 | 00424c40 | SharedPtrPair::constructor | ? constructs two smart-pointer members (FUN_0040c4a0(0) x2) and zeroes +0x10..+0x28; only callers Game::constructor and HUD::constructor |
| 1369 | 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 |
| 1370 | 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 |
| 1371 | 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 |
| 1372 | 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 |
| 1373 | 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 |
| 1374 | 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 |
| 1375 | 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 |
| 1376 | 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 |
| 1377 | 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 |
| 1378 | 00ac1280 | jinit_merged_upsampler | libjpeg: sets h2v1/h2v2_merged_upsample; the real jinit_upsampler is 00ab5200 (was libjpeg_jinit_upsampler) |
| 1379 | 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 |
| 1380 | 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 |
| 1381 | 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 |
| 1382 | 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 |
| 1383 | 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 |
| 1384 | 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 |
| 1385 | 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 |
| 1386 | 00aa2580 | stb_vorbis::codebook_decode_deinterleave_repeat_2 | stb_vorbis: the ch==2 path (&1, >>1, no ch argument); the general version is 00aa2310 |
| 1387 | 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 |
| 1388 | 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 |
| 1389 | 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 |
| 1390 | 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 |
| 1391 | 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 |
| 1392 | 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 |
| 1393 | 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 |
| 1394 | 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 |
| 1395 | 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 |
| 1396 | 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 |
| 1397 | 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 |
| 1398 | 004147f0 | std::vector<std::string>::_Tidy | destroys each 0x18 std::string in [begin,end), operator_delete storage, zeroes begin/end/cap |
| 1399 | 009c25e0 | MessagePopup::MessagePopup | ? (font, callback, userdata, pos) popup descriptor: the callback later gets button ids 0xDEADBEEF/0x1212/0x2323; followed by add-text 009c2700, add-button 009c2760 and PopupQueue::push (was FontDrawParams::FontDrawParams) |
| 1400 | 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 |
| 1401 | 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 |
| 1402 | 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) |
| 1403 | 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 |
| 1404 | 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) |
| 1405 | 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 |
| 1406 | 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 |
| 1407 | 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) |
| 1408 | 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 |
| 1409 | 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* |
| 1410 | 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 |
| 1411 | 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 |
| 1412 | 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 |
| 1413 | 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 |
| 1414 | 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) |
| 1415 | 008562b0 | std::vector<InfoDisplayEntry>::_Tidy | destroys elements (FUN_00856840) and frees storage with stride 0x68 (matches 008568a0 copy ctor size); InfoDisplay xml loaders |
| 1416 | 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 |
| 1417 | 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 |
| 1418 | 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) |
| 1419 | 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 |
| 1420 | 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 |
| 1421 | 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 |
| 1422 | 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 |
| 1423 | 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 |
| 1424 | 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 |
| 1425 | 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 |
| 1426 | 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 |
| 1427 | 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 |
| 1428 | 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 |
| 1429 | 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 |
| 1430 | 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) |
| 1431 | 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 |
| 1432 | 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 |
| 1433 | 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 |
| 1434 | 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 |
| 1435 | 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) |
| 1436 | 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) |
| 1437 | 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 |
| 1438 | 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 |
| 1439 | 00a28360 | KAGE::Network::Multiplayer::ConstLobby::ConstLobby | ? sets ConstLobby::vftable, swaps in the shared_ptr returned by FUN_00a28840(¶m_1) and releases the by-value shared_ptr param_2; netplay_lobby_host_handle_message, ModManager::RenderCustomCharacterMenu |
| 1440 | 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 |
| 1441 | 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 |
| 1442 | 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 |
| 1443 | 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 |
| 1444 | 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 |
| 1445 | 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) |
| 1446 | 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 |
| 1447 | 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 |
| 1448 | 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) |
| 1449 | 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 |
| 1450 | 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 |
| 1451 | 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 |
| 1452 | 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 |
| 1453 | 0098f960 | FXParams::FXParams | ? zero-inits a 0x4c-byte param block (+0x44 = 1); Room::constructor at Room+0x38 and a stack local in FXLayers::LoadConfig |
| 1454 | 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) |
| 1455 | 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...) |
| 1456 | 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 |
| 1457 | 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 |
| 1458 | 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) |
| 1459 | 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 |
| 1460 | 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 |
| 1461 | 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 |
| 1462 | 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 |
| 1463 | 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 |
| 1464 | 00856650 | std::vector<104byte>::_Emplace_reallocate | element size 0x68, max 0x2762762, grows x1.5, _Xlen; InfoDisplay xml loaders push entries |
| 1465 | 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 |
| 1466 | 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 |
| 1467 | 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) |
| 1468 | 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 |
| 1469 | 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 |
| 1470 | 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 |
| 1471 | 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 |
| 1472 | 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>) |
| 1473 | 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) |
| 1474 | 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) |
| 1475 | 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 |
| 1476 | 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 |
| 1477 | 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 |
| 1478 | 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 |
| 1479 | 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 |
| 1480 | 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 |
| 1481 | 004267f0 | std::vector<8byte>::_Emplace_reallocate | element size 8, max 0x1fffffff, grows x1.5, _Change_array; Game::AddEncounteredBoss, Menu_Save::select_save_slot, netplay |
| 1482 | 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 |
| 1483 | 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 |
| 1484 | 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 |
| 1485 | 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 |
| 1486 | 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 |
| 1487 | 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 |
| 1488 | 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 |
| 1489 | 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 |
| 1490 | 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) |
| 1491 | 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 |
| 1492 | 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 |
| 1493 | 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 |
| 1494 | 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 |
| 1495 | 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 |
| 1496 | 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) |
| 1497 | 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 |
| 1498 | 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 |
| 1499 | 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) |
| 1500 | 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 |
| 1501 | 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) |
| 1502 | 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 |
| 1503 | 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 |
| 1504 | 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 |
| 1505 | 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 |
| 1506 | 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 |
| 1507 | 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 |
| 1508 | 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 |
| 1509 | 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) |
| 1510 | 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 |
| 1511 | 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 |
| 1512 | 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 |
| 1513 | 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 |
| 1514 | 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 |
| 1515 | 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 |
| 1516 | 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 |
| 1517 | 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 |
| 1518 | 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 |
| 1519 | 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 |
| 1520 | 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 |
| 1521 | 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 |
| 1522 | 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 |
| 1523 | 00a02890 | Weapon_Brimstone::fire | ? calls Weapon_Brimstone::fire_hitscan, Weapon::FireBrimstone, GetMultiShotParams, UpdateHeadChargeAnimation; this+4 owner, +0x34 modifiers, +0x48 laser (was NPCAI_Pathfinder::MoveRandomlyAxisAligned) |
| 1524 | 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 |
| 1525 | 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 |
| 1526 | 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 |
| 1527 | 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 |
| 1528 | 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) |
| 1529 | 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 |
| 1530 | 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 |
| 1531 | 00a28ca0 | KAGE::ThreadSafeQueue<KAGE::CommandQueueEntry>::~ThreadSafeQueue | sets ThreadSafeQueue<CommandQueueEntry>::vftable, clears the queue, destroys the KAGE::Mutex member at +0x1c (DeleteCriticalSection, MutexBase::vftable) |
| 1532 | 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 |
| 1533 | 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 |
| 1534 | 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 |
| 1535 | 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 |
| 1536 | 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 |
| 1537 | 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) |
| 1538 | 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 |
| 1539 | 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 |
| 1540 | 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 |
| 1541 | 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 |
| 1542 | 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) |
| 1543 | 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 |
| 1544 | 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 |
| 1545 | 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 |
| 1546 | 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 |
| 1547 | 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) |
| 1548 | 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> |
| 1549 | 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 |
| 1550 | 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 |
| 1551 | 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 |
| 1552 | 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 |
| 1553 | 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 |
| 1554 | 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 |
| 1555 | 0095bdd0 | std::vector<164byte>::_Tidy | destroys 0xa4-byte elements with FUN_004269f0 (string + set + 5 vectors) and frees storage; called from Manager::destructor |
| 1556 | 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 |
| 1557 | 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 |
| 1558 | 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 |
| 1559 | 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 |
| 1560 | 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 |
| 1561 | 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) |
| 1562 | 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 |
| 1563 | 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 |
| 1564 | 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 |
| 1565 | 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 |
| 1566 | 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 |
| 1567 | 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 |
| 1568 | 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) |
| 1569 | 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 |
| 1570 | 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 |
| 1571 | 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 |
| 1572 | 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 |
| 1573 | 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 |
| 1574 | 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 |
| 1575 | 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) |
| 1576 | 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 |
| 1577 | 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 |
| 1578 | 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 |
| 1579 | 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 |
| 1580 | 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 |
| 1581 | 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 |
| 1582 | 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) |
| 1583 | 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 |
| 1584 | 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 |
| 1585 | 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) |
| 1586 | 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 |
| 1587 | 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 |
| 1588 | 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 |
| 1589 | 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 |
| 1590 | 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 |
| 1591 | 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 |
| 1592 | 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) |
| 1593 | 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 |
| 1594 | 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 |
| 1595 | 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 |
| 1596 | 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 |
| 1597 | 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) |
| 1598 | 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) |
| 1599 | 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 |
| 1600 | 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) |
| 1601 | 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 |
| 1602 | 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 |
| 1603 | 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 |
| 1604 | 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 |
| 1605 | 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) |
| 1606 | 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 |
| 1607 | 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 |
| 1608 | 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 |
| 1609 | 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 |
| 1610 | 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 |
| 1611 | 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 |
| 1612 | 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 |
| 1613 | 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 |
| 1614 | 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 |
| 1615 | 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 |
| 1616 | 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 |
| 1617 | 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 |
| 1618 | 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 |
| 1619 | 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 |
| 1620 | 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) |
| 1621 | 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 |
| 1622 | 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 |
| 1623 | 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 |
| 1624 | 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) |
| 1625 | 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 |
| 1626 | 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 |
| 1627 | 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 |
| 1628 | 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 |
| 1629 | 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 |
| 1630 | 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 |
| 1631 | 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 |
| 1632 | 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 |
| 1633 | 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 |
| 1634 | 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 |
| 1635 | 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 |
| 1636 | 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 |
| 1637 | 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 |
| 1638 | 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 |
| 1639 | 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 |
| 1640 | 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 |
| 1641 | 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 |
| 1642 | 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 |
| 1643 | 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) |
| 1644 | 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 |
| 1645 | 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 |
| 1646 | 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 |
| 1647 | 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) |
| 1648 | 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 |
| 1649 | 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 |
| 1650 | 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 |
| 1651 | 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 |
| 1652 | 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 |
| 1653 | 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 |
| 1654 | 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 |
| 1655 | 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) |
| 1656 | 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 |
| 1657 | 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 |
| 1658 | 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 |
| 1659 | 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 |
| 1660 | 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 |
| 1661 | 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 |
| 1662 | 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 |
| 1663 | 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 |
| 1664 | 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 |
| 1665 | 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 |
| 1666 | 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 |
| 1667 | 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 |
| 1668 | 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 |
| 1669 | 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 |
| 1670 | 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 |
| 1671 | 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 |
| 1672 | 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) |
| 1673 | 00aca570 | jinit_d_diff_controller | libjpeg: the lossless branch of jinit_master_decompress, precision 2..8; the real coef controller is 00ac71d0 (was jinit_d_coef_controller) |
| 1674 | 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 |
| 1675 | 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 |
| 1676 | 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 |
| 1677 | 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 |
| 1678 | 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 |
| 1679 | 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 |
| 1680 | 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 |
| 1681 | 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) |
| 1682 | 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 |
| 1683 | 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) |
| 1684 | 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) |
| 1685 | 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) |
| 1686 | 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 |
| 1687 | 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 |
| 1688 | 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 |
| 1689 | 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) |
| 1690 | 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) |
| 1691 | 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 |
| 1692 | 00aabed0 | ogg_page_granulepos | libogg: returns the 64-bit value at page->header+6 (bytes 6..13); VideoClip_Theora::_load duration scan, _seekPage |
| 1693 | 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 |
| 1694 | 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 |
| 1695 | 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 |
| 1696 | 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 |
| 1697 | 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 |
| 1698 | 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 |
| 1699 | 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 |
| 1700 | 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 |
| 1701 | 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 |
| 1702 | 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 |
| 1703 | 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 |
| 1704 | 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 |
| 1705 | 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 |
| 1706 | 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 |
| 1707 | 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) |
| 1708 | 00a84060 | KAGE::Network::Multiplayer::LobbyEOS::~LobbyEOS | sets LobbyEOS vftable, frees +0x20 (tracked), EOS_LobbyDetails_Release(+0x28), then LobbyImplBase vftable and member vector _Tidy |
| 1709 | 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 |
| 1710 | 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 |
| 1711 | 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 |
| 1712 | 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 |
| 1713 | 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 |
| 1714 | 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 |
| 1715 | 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) |
| 1716 | 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 |
| 1717 | 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 |
| 1718 | 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 |
| 1719 | 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_ |
| 1720 | 00a67eb0 | std::vector<RenderQuad>::_Reallocate | 0x70-byte elements (max 0x2492492): allocates, render_quad_copy each element, moves; caller render_quad_draw |
| 1721 | 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 |
| 1722 | 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 |
| 1723 | 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 |
| 1724 | 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 |
| 1725 | 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 |
| 1726 | 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) |
| 1727 | 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) |
| 1728 | 00a62880 | VideoPlayer::unload | ? TheoraVideoManager::destroyVideoClip(this[1]), clears clip/flags, resets the RenderTarget SmartPointer (+8/+0xc, g_renderTargetReleaseFn); Manager::destructor |
| 1729 | 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 |
| 1730 | 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 |
| 1731 | 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 |
| 1732 | 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 |
| 1733 | 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 |
| 1734 | 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 |
| 1735 | 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 |
| 1736 | 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 |
| 1737 | 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 |
| 1738 | 00a54890 | KAGE::Network::MultiplayerManager::invite_user_to_lobby | slot 5 of the KAGE::Network::MultiplayerManager vtable (was Multiplayer::invite_user_to_lobby) |
| 1739 | 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 |
| 1740 | 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 |
| 1741 | 00a524b0 | file_exists | path_join then _access(path, 0) != -1; FileSystem::ResolvePath |
| 1742 | 00a52410 | KAGE::Filesys::File::~File | sets File vftable, fclose(+0xc), state 2, frees path (+8) else FileStream vftable, then StreamBase vftable |
| 1743 | 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 |
| 1744 | 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) |
| 1745 | 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 |
| 1746 | 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 |
| 1747 | 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 |
| 1748 | 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 |
| 1749 | 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 |
| 1750 | 00a28440 | KAGE::Network::Multiplayer::ConstLobby::ConstLobby<copy> | copy ctor: ConstLobby vftable, zero, shared_ptr assign from param+4; Menu_OnlineLobbyList::Update |
| 1751 | 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) |
| 1752 | 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 |
| 1753 | 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 |
| 1754 | 00a26920 | StringTable::clear | walks the category map (this+0xc), frees each tracked value buffer, then erases the tree (00a27c80); Manager::destructor, StringTable::Load |
| 1755 | 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 |
| 1756 | 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) |
| 1757 | 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 |
| 1758 | 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 |
| 1759 | 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 |
| 1760 | 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 |
| 1761 | 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 |
| 1762 | 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) |
| 1763 | 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 |
| 1764 | 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) |
| 1765 | 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 |
| 1766 | 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 |
| 1767 | 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 |
| 1768 | 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 |
| 1769 | 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 |
| 1770 | 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 |
| 1771 | 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 |
| 1772 | 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 |
| 1773 | 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 |
| 1774 | 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 |
| 1775 | 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 |
| 1776 | 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 |
| 1777 | 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) |
| 1778 | 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 |
| 1779 | 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 |
| 1780 | 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 |
| 1781 | 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 |
| 1782 | 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 |
| 1783 | 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) |
| 1784 | 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.. |
| 1785 | 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 |
| 1786 | 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 |
| 1787 | 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 |
| 1788 | 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 |
| 1789 | 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 |
| 1790 | 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 |
| 1791 | 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 |
| 1792 | 009f1f70 | std::vector<RichTextSpan>::_Emplace_reallocate | ? same as 009f2150 but move-constructs the new 0x40-byte span (009f1ef0); rich_text_layout |
| 1793 | 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 |
| 1794 | 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 |
| 1795 | 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 |
| 1796 | 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 |
| 1797 | 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 |
| 1798 | 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 |
| 1799 | 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 |
| 1800 | 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 |
| 1801 | 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] |
| 1802 | 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 |
| 1803 | 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) |
| 1804 | 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 |
| 1805 | 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 |
| 1806 | 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 |
| 1807 | 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 |
| 1808 | 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 |
| 1809 | 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 |
| 1810 | 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 |
| 1811 | 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 |
| 1812 | 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) |
| 1813 | 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 |
| 1814 | 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 |
| 1815 | 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 |
| 1816 | 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 |
| 1817 | 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 |
| 1818 | 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 |
| 1819 | 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 |
| 1820 | 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 |
| 1821 | 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) |
| 1822 | 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) |
| 1823 | 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 |
| 1824 | 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 |
| 1825 | 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 |
| 1826 | 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 |
| 1827 | 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 |
| 1828 | 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) |
| 1829 | 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 |
| 1830 | 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 |
| 1831 | 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 |
| 1832 | 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 |
| 1833 | 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 |
| 1834 | 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 |
| 1835 | 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 |
| 1836 | 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 |
| 1837 | 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 |
| 1838 | 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 |
| 1839 | 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 |
| 1840 | 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 |
| 1841 | 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 |
| 1842 | 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) |
| 1843 | 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 |
| 1844 | 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 |
| 1845 | 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 |
| 1846 | 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) |
| 1847 | 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 |
| 1848 | 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 |
| 1849 | 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 |
| 1850 | 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 |
| 1851 | 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 |
| 1852 | 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 |
| 1853 | 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 |
| 1854 | 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 |
| 1855 | 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 |
| 1856 | 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 |
| 1857 | 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 |
| 1858 | 009ad800 | std::vector<68byte>::assign | range assign for 0x44-byte elements (string members, max 0x3c3c3c3); load_giantbook_xml |
| 1859 | 009ad5e0 | std::vector<68byte>::_Emplace_reallocate | 0x44-byte elements, max 0x3c3c3c3, constructs via FUN_009ad580; load_giantbook_xml |
| 1860 | 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 |
| 1861 | 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 |
| 1862 | 009a8430 | HUD::count_player_huds | counts non-null entries in the 8 PlayerHUD slots (stride 0x1b7 dwords = 0x6dc); HUD::GetPlayerHUDLayout |
| 1863 | 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 |
| 1864 | 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 |
| 1865 | 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) |
| 1866 | 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 |
| 1867 | 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 |
| 1868 | 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 |
| 1869 | 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 |
| 1870 | 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 |
| 1871 | 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 |
| 1872 | 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 |
| 1873 | 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) |
| 1874 | 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 |
| 1875 | 00997be0 | std::vector<FXLayer>::_Emplace_reallocate | 0x4c-byte elements (max 0x35e50d7), element copy via 00997ef0; FXLayers::LoadConfig (_fxLayers +0x18) |
| 1876 | 009979e0 | std::vector<20byte>::_Emplace_reallocate | 0x14-byte elements, max 0xccccccc; FXLayers::LoadConfig |
| 1877 | 00997800 | std::vector<44byte>::_Emplace_reallocate | 0x2c-byte elements (max 0x5d1745d), copy via 00997700, destroy via 009975c0; FXLayers::LoadConfig (layer-group vector +0x24) |
| 1878 | 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 |
| 1879 | 009975c0 | std::vector<20byte>::_Tidy | destroys 0x14-byte elements (FUN_00997e70) and frees; FXLayers::clear and the 44-byte group helpers |
| 1880 | 00997510 | std::vector<20byte>::resize | shrink sets end, grow fills (FUN_009981d0) or reallocates (00998300); Game::start_poop_cloud_screen_effect |
| 1881 | 00997490 | std::vector<FXLayer>::_Tidy | destroys 0x4c-byte elements (FUN_00997de0) and frees; FXLayers::destructor 0098f8c0 |
| 1882 | 00997410 | std::vector<44byte>::_Tidy | destroys each 0x2c-byte group (inner vector<20byte>::_Tidy) and frees; FXLayers::destructor 0098f8c0 |
| 1883 | 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) |
| 1884 | 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 |
| 1885 | 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 |
| 1886 | 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 |
| 1887 | 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) |
| 1888 | 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 |
| 1889 | 009832b0 | std::vector<std::string>::erase | erase one 0x18-byte std::string at param_2 by shifting the rest down; Menu_Game::PreRenderContinueImg |
| 1890 | 00980eb0 | Menu_Game::LoadGraphics | MenuManager::LoadGraphics: ANM2::Load gfx/ui/main menu/GameMenu.anm2 at +0x10 and ContinueProgress_Widget.anm2 at +0x124 |
| 1891 | 00980b40 | Menu_Game::destructor | destroys the same ANM2s Menu_Game::LoadGraphics loads (+0x124, +0x10) and render target +0x238; MenuManager destructor 00986f30 |
| 1892 | 009805b0 | std::set<int>::insert | tree lower-bound on int key, returns {node, inserted}; Entity_Laser::find_nearest_grid_hit collects hit grid indices |
| 1893 | 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 |
| 1894 | 0096cd20 | Entity_Laser::destructor | sets Entity_Laser::vftable, erases three multiset refs, destroys arrays/vectors; only caller Entity_Laser::Free |
| 1895 | 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) |
| 1896 | 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) |
| 1897 | 0095c520 | std::vector<ChallengeParams>::_Resize_reallocate | 0xa4-byte ChallengeParams, grows to 0x2e (46) default-constructed entries; challenges_xml_load |
| 1898 | 0095c4b0 | std::vector<ChallengeParams>::_Udefault | default-constructs n ChallengeParams (0xa4 stride) at param_1; challenges_xml_load |
| 1899 | 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 |
| 1900 | 0095bed0 | std::vector<ChallengeParams>::_Emplace_reallocate | 0xa4-byte elements (max 0x18f9c18), copy via ChallengeParams::copy_constructor; challenges_xml_load |
| 1901 | 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 |
| 1902 | 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 |
| 1903 | 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) |
| 1904 | 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 |
| 1905 | 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 |
| 1906 | 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 |
| 1907 | 00958bc0 | get_server_time | Steam ISteamUtils (SteamInternal_ContextInit vfunc +0xc, GetServerRealTime) or 1, _gmtime64 into a tm-like struct, hour -10; daily challenge date |
| 1908 | 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 |
| 1909 | 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) |
| 1910 | 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 |
| 1911 | 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 |
| 1912 | 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 |
| 1913 | 0094e800 | Menu_Collection::destructor | ECX=MenuManager+0x27b8 in MenuManager destructor 00986f30: frees the 0x2dd vector +0x250, image +0x240, ANM2 +0x128 and +0x14 |
| 1914 | 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 |
| 1915 | 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 |
| 1916 | 0094e550 | std::vector<16byte>::_Resize_reallocate | global vector DAT_00c94178..80 of 16-byte entries (portrait render list); Menu_Character::render_portraits |
| 1917 | 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 |
| 1918 | 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 |
| 1919 | 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 |
| 1920 | 00947070 | Menu_Character::destructor | ECX=MenuManager+0x1534 (_menuCharacter) in MenuManager destructor 00986f30: releases render target +0xfe0, ANM2s +0xecc/+0xdb8/+0xc50/+0xb20/+0xa04..., strings, vectors |
| 1921 | 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) |
| 1922 | 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) |
| 1923 | 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) |
| 1924 | 00945e50 | Menu_Challenge::Update | ECX=MenuManager+0x2688 (_menuChallenge) from MenuManager::Update |
| 1925 | 00945db0 | Menu_Challenge::destructor | ECX=MenuManager+0x2688 in MenuManager destructor 00986f30: releases image +0x128, ANM2 +0x14 |
| 1926 | 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 |
| 1927 | 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 |
| 1928 | 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 |
| 1929 | 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 |
| 1930 | 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) |
| 1931 | 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 |
| 1932 | 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 |
| 1933 | 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 |
| 1934 | 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 |
| 1935 | 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 |
| 1936 | 00934430 | BackdropConfig::operator_assign | copy-assign of the same 0x13c-byte entry (std::string::assign per field); Backdrop::LoadConfig |
| 1937 | 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) |
| 1938 | 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 |
| 1939 | 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 |
| 1940 | 00931de0 | BackdropConfig::constructor | zeroes the strings (size 0, cap 0xf) and fields of one 0x13c-byte backdrop entry; Backdrop::LoadConfig before parsing each node |
| 1941 | 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 |
| 1942 | 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 |
| 1943 | 0092ee40 | std::vector<SoundEffect>::_Resize_reallocate | 0x1b8-byte elements, grows to 0x443 (1091 sounds) via _Uninitialized_value_construct_n FUN_0092edc0; SFXManager::load_xml |
| 1944 | 0092edc0 | std::_Uninitialized_value_construct_n<SoundEffect> | constructs N 0x1b8-byte entries (FUN_0092cea0), destroys the range on throw; SFXManager::load_xml |
| 1945 | 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 |
| 1946 | 0092e900 | std::vector<SoundEffect>::_Emplace_reallocate | 0x1b8-byte elements (max 0x94f209), move-constructs the new one with FUN_0092e830; SFXManager::load_xml |
| 1947 | 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 |
| 1948 | 0092e750 | std::vector<SoundEffect>::_Tidy | destroys 0x1b8-byte elements (FUN_0092ea80) and frees the buffer; Manager::destructor |
| 1949 | 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 |
| 1950 | 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) |
| 1951 | 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 |
| 1952 | 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 |
| 1953 | 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 |
| 1954 | 00923d90 | std::deque<36byte>::_Tidy | destroys 0x24-byte elements (string inside) and the block map; NetplayManager destructor 00906a90 and 00923800 |
| 1955 | 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 |
| 1956 | 009236c0 | std::deque<32byte>::_Growmap | deque block map grow (x2, min 8) for 0x20-byte elements; NightmareScene::Show via 00923550 |
| 1957 | 00923600 | std::deque<32byte>::_Tidy | destroys {std::string,8 bytes} elements and frees the map; NightmareScene::Show and 00950f10 |
| 1958 | 00923550 | std::deque<32byte>::push_back | ECX=NightmareScene+0x4c0: move-pushes a {std::string, u64} element (block 0x20); NightmareScene::Show |
| 1959 | 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 |
| 1960 | 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 |
| 1961 | 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 |
| 1962 | 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 |
| 1963 | 0091e650 | OnlineChat::render_all | ECX=NetplayManager+0x1230 from NetplayManager::Render and Menu_OnlineLobby::Render: renders the input line then each message via OnlineChat::render |
| 1964 | 0091db20 | OnlineChat::destructor | ECX=NetplayManager+0x1230 in NetplayManager destructor 00906a90: erases map +0x620, vector, UserProfile +0x28, string, frees message list (node 0x48) |
| 1965 | 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) |
| 1966 | 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) |
| 1967 | 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 |
| 1968 | 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 |
| 1969 | 0091bd10 | stristr | ECX=haystack, EDX=needle: case-insensitive substring search via tolower, returns pointer or 0; profanity masking in 0091e980 |
| 1970 | 0091b9e0 | std::map<int_int>::erase | erase by int key (signed compare, node 0x18) returning count; load_persistent_game_data_buffer |
| 1971 | 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 |
| 1972 | 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 |
| 1973 | 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 |
| 1974 | 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 |
| 1975 | 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) |
| 1976 | 00915330 | std::map<unsigned_long_long_PeerStreams>::destroy_subtree | ? recursive erase of 0xe8-byte nodes each holding four BufferedStreams; NetplayManager::reset and destructor |
| 1977 | 00914340 | std::map<unsigned_int_8byte>::erase | erase by uint key (equal_range, count returned); NetplayManager frame snapshot map (0090d640, try_advance_frame) |
| 1978 | 009139a0 | std::vector<32byte>::_Tidy | destroys 0x20-byte elements (inner vector at +0) and frees; NetplayManager destructor on +0x1878 (revive queue) |
| 1979 | 00913b10 | std::vector<24byte>::_Tidy | destroys 0x18-byte elements (inner vector) and frees; NetplayManager destructor on +0x186c (removal queue) |
| 1980 | 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 |
| 1981 | 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) |
| 1982 | 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 |
| 1983 | 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 |
| 1984 | 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 |
| 1985 | 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 |
| 1986 | 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 |
| 1987 | 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 |
| 1988 | 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 |
| 1989 | 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 |
| 1990 | 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 |
| 1991 | 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 |
| 1992 | 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 |
| 1993 | 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 |
| 1994 | 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 |
| 1995 | 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 |
| 1996 | 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 |
| 1997 | 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 |
| 1998 | 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 |
| 1999 | 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 |
| 2000 | 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) |
| 2001 | 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 |
| 2002 | 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) |
| 2003 | 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 |
| 2004 | 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 |
| 2005 | 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 |
| 2006 | 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 |
| 2007 | 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) |
| 2008 | 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 |
| 2009 | 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 |
| 2010 | 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 |
| 2011 | 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 |
| 2012 | 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 |
| 2013 | 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 |
| 2014 | 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 |
| 2015 | 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 |
| 2016 | 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 |
| 2017 | 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 |
| 2018 | 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 |
| 2019 | 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 |
| 2020 | 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 |
| 2021 | 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 |
| 2022 | 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 |
| 2023 | 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) |
| 2024 | 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 |
| 2025 | 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 |
| 2026 | 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 |
| 2027 | 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 |
| 2028 | 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 |
| 2029 | 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 |
| 2030 | 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 |
| 2031 | 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 |
| 2032 | 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 |
| 2033 | 008330e0 | std::map<RoomTransitionSprite>::_Erase_tree | ? recursive _Erase_tree: ANM2::Reset of the node value (+0x14) and tracked frees; RoomTransition::~RoomTransition, RoomTransition::StartBossIntro |
| 2034 | 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 |
| 2035 | 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 |
| 2036 | 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 |
| 2037 | 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 |
| 2038 | 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 |
| 2039 | 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 |
| 2040 | 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 |
| 2041 | 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 |
| 2042 | 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 |
| 2043 | 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 |
| 2044 | 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 |
| 2045 | 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 |
| 2046 | 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 |
| 2047 | 009f2350 | std::_Uninitialized_copy<RichTextSpan> | copies 0x40-byte RichTextSpan (std::string + 10 dwords); std::vector<RichTextSpan>::_Emplace_reallocate(_copy) |
| 2048 | 008e4970 | Menu_Mods::reset | ? MenuManager::SetState case 0x10 (MODS) and MenuManager::LoadGraphics right after loading ModsMenu.anm2: plays the default anim and rewinds |
| 2049 | 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 |
| 2050 | 004d7340 | std::vector<EntitySaveState>::_Change_array | destroys old 0x78-byte elements, frees, installs (newvec, size, cap); _Emplace_reallocate/_Reallocate_exactly |
| 2051 | 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 |
| 2052 | 009ad9a0 | std::_Uninitialized_copy<68byte> | copies 0x44-byte elements (std::string + 11 dwords), ECX/EDX range; std::vector<68byte>::_Emplace_reallocate/assign |
| 2053 | 008ceb90 | Menu_ModChallenges::reset | ? MenuManager::SetState case 0xf (MODCHALLENGES) and MenuManager::LoadGraphics right after loading ChallengeMenuCustom.anm2: plays the default anim and rewinds |
| 2054 | 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 |
| 2055 | 0095c310 | std::vector<ChallengeParams>::_Change_array | destroys old 0xa4-byte elements (FUN_004269f0), frees, installs new buffer; _Emplace_reallocate/_Resize_reallocate |
| 2056 | 007e8ac0 | std::vector<PathNode>::_Change_array | destroys old 0x14-byte PathNodes (_Tidy vector at +8), frees, installs new buffer; vector_PathNode_emplace_reallocate(_copy) |
| 2057 | 0042f660 | std::vector<std::string>::_Change_array | destroys old 0x18-byte strings, frees, installs new buffer; vector_string_emplace_reallocate(_move) |
| 2058 | 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 |
| 2059 | 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 |
| 2060 | 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 |
| 2061 | 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 |
| 2062 | 0069d910 | std::vector<28byte_string>::_Tidy | destroys 0x1c-byte elements (std::string at +0), frees, nulls; RoomConfig::~RoomConfig |
| 2063 | 0092eba0 | std::vector<SoundEffect>::_Change_array | std::_Destroy_range<SoundEffect>, frees (0x1b8 stride), installs new buffer; _Emplace_reallocate/_Resize_reallocate |
| 2064 | 00752ac0 | std::vector<LevelGenerator_Room>::_Change_array | destroys old 0x48-byte rooms (FUN_00752e40), frees, installs new buffer; vector_LevelGenerator_Room_reserve, _Emplace_reallocate |
| 2065 | 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 |
| 2066 | 00752b70 | std::_Uninitialized_move<LevelGenerator_Room> | LevelGenerator_Room copy ctor over the range then destroy source (FUN_00752e40); vector_LevelGenerator_Room_reserve, _Emplace_reallocate |
| 2067 | 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 |
| 2068 | 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 |
| 2069 | 009f22d0 | std::vector<RichTextSpan>::_Change_array | destroys 0x40-byte spans (string), frees, installs new buffer; _Emplace_reallocate(_copy) |
| 2070 | 007e26c0 | std::vector<MusicTrack>::_Tidy | destroys 0x60-byte tracks (FUN_007e2e00, stride matches musicid*0x60 in Music::PlayJingle), frees, nulls; MusicManager::~MusicManager |
| 2071 | 0095c3b0 | std::_Uninitialized_copy<ChallengeParams> | ChallengeParams::copy_constructor over the range; std::vector<ChallengeParams>::_Emplace_reallocate/_Resize_reallocate |
| 2072 | 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 |
| 2073 | 004d76f0 | std::_Uninitialized_copy<EntitySaveState> | EntitySaveState::copy over the range (stride 0x78), returns dest end; std::vector<EntitySaveState>::_Emplace_reallocate/assign |
| 2074 | 0041fe10 | std::vector<RenderQuad>::_Change_array | trivial 0x70-byte elements: frees old, installs new buffer; std::vector<ColorQuad>::_Emplace_reallocate, std::vector<RenderQuad>::_Reallocate |
| 2075 | 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 |
| 2076 | 007e8c90 | std::_Uninitialized_move<PathNode> | moves 0x14-byte PathNodes (steals the vector at +8, zeroes source); vector_PathNode_emplace_reallocate(_copy) |
| 2077 | 0069d690 | std::map<std::string>::find | _Find_lower_bound then string_compare, returns node or end (*ECX); EntityConfig::LoadEntities, PreloadManager::load_group |
| 2078 | 0091fb10 | std::map<u64_LobbyListEntry>::_Erase_tree | ? recursive _Erase_tree of 0x48-byte nodes (two vector<12byte>, UserProfile at +0x1c); LobbyList::clear, OnlineChat::destructor |
| 2079 | 004265d0 | std::vector<104byte>::_Tidy | trivial 0x68-byte elements: frees, nulls; online_stats_destroy |
| 2080 | 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 |
| 2081 | 00ab8cc0 | bark_noise_hybridmp | libvorbis psy.c: only caller _vp_noisemask; alloca'd work arrays, (n, b, f, noise, offset, fixed) running sums |
| 2082 | 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 |
| 2083 | 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 |
| 2084 | 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 |
| 2085 | 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 |
| 2086 | 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 |
| 2087 | 008f01b0 | Menu_SpecialSeeds::Update | MenuManager::Update case 6; calls Menu_SpecialSeeds::Reset, Seeds::AddSeedEffect/HasSeedEffect/RemoveBlockingSeedEffects, MenuManager::SetState |
| 2088 | 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 |
| 2089 | 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) |
| 2090 | 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 |
| 2091 | 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 |
| 2092 | 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 |
| 2093 | 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 |
| 2094 | 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 |
| 2095 | 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 |
| 2096 | 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 |
| 2097 | 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 |
| 2098 | 00abc0b0 | dradf4 | libvorbis smallft.c radix-4 forward pass; the DB note on drftf1 names FUN_00abc0b0 as dradf4 (factor 4 branch) |
| 2099 | 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 |
| 2100 | 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 |
| 2101 | 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 |
| 2102 | 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 |
| 2103 | 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 |
| 2104 | 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 |
| 2105 | 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 |
| 2106 | 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 |
| 2107 | 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 |
| 2108 | 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 |
| 2109 | 008ced40 | Menu_Cutscenes::Update | MenuManager::Update case 0xd (MainMenuType ENDINGS); calls Manager::ShowCutscene, MenuManager::SetState, the shared FUN_008cec30 with Menu_Cutscenes::Render |
| 2110 | 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 |
| 2111 | 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 |
| 2112 | 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 |
| 2113 | 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) |
| 2114 | 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 |
| 2115 | 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 |
| 2116 | 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 |
| 2117 | 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 |
| 2118 | 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 |
| 2119 | 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) |
| 2120 | 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 |
| 2121 | 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 |
| 2122 | 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 |
| 2123 | 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 |
| 2124 | 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) |
| 2125 | 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 |
| 2126 | 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 |
| 2127 | 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 |
| 2128 | 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 |
| 2129 | 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 |
| 2130 | 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 |
| 2131 | 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 |
| 2132 | 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 |
| 2133 | 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) |
| 2134 | 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 |
| 2135 | 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 |
| 2136 | 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 |
| 2137 | 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 |
| 2138 | 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 |
| 2139 | 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 |
| 2140 | 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 |
| 2141 | 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 |
| 2142 | 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 |
| 2143 | 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 |
| 2144 | 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 |
| 2145 | 008cbaf0 | Menu_CreateLobby::unload_graphics | ECX=MenuManager+0xedd8 (CREATELOBBY menu, see 008cbd60): ANM2::Reset this and 6 more ANM2; from MenuManager::unload_graphics |