g_game/g_manager typed: 1483 g_manager-> and 834 g_game-> member accesses now visible (field_0x 10636 -> 14385 counts them); named members 81k -> 91k, raw in_ECX + 0x 18425 -> 16225. ApplyGlobals takes array types (char[5]). apply_db.py used to truncate all.c before computing the new text, so a killed build left it empty. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1822 lines
305 KiB
Plaintext
1822 lines
305 KiB
Plaintext
# address Qualified::Name note (evidence; who/what found it)
|
|
# Forced renames: they beat ZHL, vtable, Lua and NpcTable names. Anything in NpcAI:: is typed __fastcall(Entity_NPC *npc),
|
|
# so put helpers that take other arguments in NpcHelper:: instead. Apply: scripts/apply_db.py (dump, instant), build.sh --db (Ghidra).
|
|
#
|
|
# NPC dispatch targets that carry wrong ZHL/ICF names (npc_ai.tsv column 4 shows the wrong name)
|
|
005111b0 NpcAI::ENTITY_HOST type 27 + 859 Floating Host; sig matched as Entity::TeleportToRandomPosition
|
|
0045fc00 NpcAI::ENTITY_GATE type 263; was MinimapConfig::Render
|
|
00547b60 NpcAI::ENTITY_LEPER type 310; was GameOver::Show
|
|
005492c0 NpcAI::ENTITY_MR_MINE type 311; was Entity_Familiar::Render (ICF); strs DigIn/DigOut/Shoot
|
|
004f8df0 NpcAI::ENTITY_BOMB_GRIMACE type 809; was GridEntity_Fire::Update
|
|
004dd7f0 NpcAI::ENTITY_GASBAG type 856; was FXLayers::AddPoopFx; strs Attack/Shoot/Sound
|
|
00561a20 NpcAI::ENTITY_FARTIGAN type 874 (gas dwarf); was Entity_NPC::moms_heart_mausoleum_death
|
|
00503af0 NpcAI::ENTITY_DUST type 882; was PlayerHUD::RenderActiveItem
|
|
#
|
|
# Bosses: real AI bodies the dispatcher reaches through a stub, or wrong names
|
|
0057bec0 NpcAI::ENTITY_ROTGUT_face Rotgut face phase; was REPENTOGON Backdrop::pre_render_walls; strs Munch/FallIn/Attack1Begin
|
|
004b1210 NpcHelper::gideon_choose_attack Gideon; was Console::SubmitInput; strs Attack2Start/Attack4Start
|
|
004b1910 NpcHelper::gideon_spawn_wave Gideon; was ModManager::LoadConfigs; str "No enemy wave found for Gideon"
|
|
0058aed0 NpcAI::ENTITY_SINGE_body Singe main AI; strs Blast/SuperFart/JumpBlast
|
|
0058d8b0 NpcAI::ENTITY_SINGE_ball npc_ai.tsv names this ENTITY_SINGE but it is the ball (singe_ball.png, RollHori)
|
|
0059a2d0 NpcAI::ENTITY_TUFF_TWINS strs ButtAttack/GutsAttack/AttackHead*
|
|
005af800 NpcAI::ENTITY_WORMWOOD_main strs HeadBackStunned/HeadFrontStunned
|
|
0049d130 NpcAI::ENTITY_CHIMERA_body strs RunHoriHeadless/Brimstone*/Leap
|
|
005864b0 NpcAI::ENTITY_SCOURGE_main strs BroccoliAttack/Slice*/TrapDown
|
|
0058ec70 NpcAI::ENTITY_SIREN_main strs Attack1*/Attack2B*/Recall/Revive
|
|
0058e680 NpcHelper::siren_pick Siren helper (salvage siren_pick.c); verify
|
|
004cca10 NpcAI::ENTITY_MEGA_SATAN_hand strs Smash/SmashHand1/Hiding/Reveal
|
|
004830e0 NpcHelper::the_lamb_pattern The Lamb bullet pattern (salvage fb_lambpat.c)
|
|
005ab4d0 NpcAI::ENTITY_VISAGE_mask strs ChargeBegin%s/LeftEye/RightEye/Break
|
|
#
|
|
# Enemy variant handlers reached from a shared type routine
|
|
004da590 NpcAI::ENTITY_ROTTEN_GAPER 10.3, from NpcAI::ENTITY_GAPER
|
|
004ddf00 NpcAI::ENTITY_MAMA_FLY 61.4, from NpcAI::ENTITY_FLY
|
|
0054bca0 NpcAI::ENTITY_BULB 61.5/61.6, from NpcAI::ENTITY_FLY; strs Dash/FlyLit
|
|
0054fa80 NpcAI::ENTITY_WRINKLY_BABY 38.3, from NpcAI::ENTITY_BABY
|
|
005581b0 NpcHelper::willo_orbit Willo helper
|
|
005583d0 NpcHelper::willo_attack Willo helper; str Shoot
|
|
00557f70 NpcHelper::willo_slot Willo helper
|
|
004b7e30 NpcHelper::hornfel_charge Hornfel; strs Charge*/Idle*
|
|
004b8ca0 NpcHelper::hornfel_attack Hornfel; strs Attack1Double/Attack1Left...
|
|
004b8190 NpcHelper::hornfel_minecart Hornfel; minecart anm2, "no doors to enter from!"
|
|
#
|
|
# Player / familiar
|
|
0064e0c0 Entity_Familiar::ai_blood_clot strs Float/Walk*; salvage c4_clot.c (Tainted Eve)
|
|
007d5170 Entity_Player::bag_of_crafting_collect salvage c5_bag.c; str Collect
|
|
007d6670 Entity_Player::poop_spell_roll salvage spellq.c (Tainted ???); weighted pick; verify
|
|
0073e0a0 Level::generate_greed salvage greedgen.c; verify
|
|
#
|
|
# Imported from src/anm2 and src/rooms decompile labels (hand-verified there)
|
|
0082c720 RoomConfig::GetRoomByStageTypeAndVariant src/rooms labels; ZHL said ResetRoomWeights
|
|
004a5cf0 Sprite::GetDefaultAnimationName src/anm2 labels (lua_GetDefaultAnimationName); ZHL said Config::GetNullItems
|
|
00407170 Color::Color src/anm2 decompile labels (Color::Color())
|
|
004071f0 Color::operator_assign src/anm2 decompile labels (Color::operator=(const&))
|
|
00407690 ANM2::ANM2 src/anm2 decompile labels (ANM2::ANM2(copy))
|
|
00407a60 LayerState::~LayerState src/anm2 decompile labels (LayerState::~LayerState)
|
|
00407e90 ANM2::operator_assign src/anm2 decompile labels (ANM2::operator=(ANM2))
|
|
00407f10 ANM2::Reset src/anm2 decompile labels (ANM2::Reset)
|
|
00408170 ANM2::~ANM2 src/anm2 decompile labels (ANM2::~ANM2)
|
|
004081d0 LayerState::LayerState src/anm2 decompile labels (LayerState::LayerState)
|
|
00408310 LayerState::Init src/anm2 decompile labels (LayerState::Init(LayerInfo*))
|
|
00408590 LayerState::GetTexture src/anm2 decompile labels (LayerState::GetTexture)
|
|
00408640 LayerState::SetTexture src/anm2 decompile labels (LayerState::SetTexture)
|
|
004086e0 AnimationState::AnimationState src/anm2 decompile labels (AnimationState::AnimationState(owner,copy))
|
|
004087a0 AnimationState::~AnimationState src/anm2 decompile labels (AnimationState::~AnimationState)
|
|
00408830 AnimationState::SetAnimationData src/anm2 decompile labels (AnimationState::SetAnimationData)
|
|
00408970 AnimationState::ChangeAnimationKeepFrame src/anm2 decompile labels (AnimationState::ChangeAnimationKeepFrame)
|
|
00408b90 AnimationState::AdvanceLayerPosition src/anm2 decompile labels (AnimationState::AdvanceLayerPosition(idx,xmm2 frame))
|
|
00408c10 AnimationState::AdvanceNullLayerPosition src/anm2 decompile labels (AnimationState::AdvanceNullLayerPosition(idx,xmm2 frame))
|
|
00408c90 AnimationState::FireTriggersAtCurrentFrame src/anm2 decompile labels (AnimationState::FireTriggersAtCurrentFrame)
|
|
00408e00 AnimationState::SetFrameFloat src/anm2 decompile labels (AnimationState::SetFrameFloat(xmm1))
|
|
00408ef0 AnimationState::SetLayerFrame src/anm2 decompile labels (AnimationState::SetLayerFrame(layer,frame))
|
|
00408f70 AnimationState::GetLayerFrameIdx src/anm2 decompile labels (AnimationState::GetLayerFrameIdx(layer))
|
|
00408fc0 AnimationState::SetNullLayerFrame src/anm2 decompile labels (AnimationState::SetNullLayerFrame(null,frame))
|
|
00409030 AnimationState::Update src/anm2 decompile labels (AnimationState::Update)
|
|
0040a1b0 AnimationState::Rewind src/anm2 decompile labels (AnimationState::Rewind)
|
|
0040a220 AnimationState::GetLayerFrame src/anm2 decompile labels (AnimationState::GetLayerFrame(layer)->AnimationFrame*)
|
|
0040a5d0 ANM2::SetAnimation src/anm2 decompile labels (ANM2::SetAnimation(cstr,reset))
|
|
0040add0 AnimationState::IsEventTriggered src/anm2 decompile labels (AnimationState::IsEventTriggered(name))
|
|
0040ae70 AnimationState::WasEventTriggered src/anm2 decompile labels (AnimationState::WasEventTriggered(name))
|
|
0040bea0 ANM2::Reload src/anm2 decompile labels (ANM2::Reload)
|
|
0040c000 ANM2::LoadGraphics src/anm2 decompile labels (ANM2::LoadGraphics)
|
|
0040c1e0 LayerAnimation::LayerAnimation src/anm2 decompile labels (LayerAnimation::LayerAnimation())
|
|
0040ca70 memcmp_eq src/anm2 decompile labels (memcmp_eq(ecx,edx,n))
|
|
0040cae0 str_eq src/anm2 decompile labels (str_eq(ecx,edx=len,s2,len2))
|
|
0040d240 AnmCache::~AnmCache src/anm2 decompile labels (AnmCache::~AnmCache)
|
|
0040d4c0 AnmCache::LogMemoryUsage src/anm2 decompile labels (AnmCache::LogMemoryUsage)
|
|
0040d850 AnmFileData::Clear src/anm2 decompile labels (AnmFileData::Clear)
|
|
0040db90 AnmCache::Load src/anm2 decompile labels (AnmCache::Load(path,ANM2*))
|
|
0040e110 AnmCache::AddRef src/anm2 decompile labels (AnmCache::AddRef)
|
|
0040e2b0 AnmCache::RemoveRef src/anm2 decompile labels (AnmCache::RemoveRef)
|
|
0040e470 AnmCache::Clear src/anm2 decompile labels (AnmCache::Clear)
|
|
0040e520 TextureCache::Add src/anm2 decompile labels (TextureCache::Add)
|
|
0040e5d0 TextureCache::Has src/anm2 decompile labels (TextureCache::Has)
|
|
0040e740 TextureCache::Release src/anm2 decompile labels (TextureCache::Release)
|
|
0040e910 TextureCache::Purge src/anm2 decompile labels (TextureCache::Purge)
|
|
0040ea10 TextureCache::Preload src/anm2 decompile labels (TextureCache::Preload)
|
|
0040ea50 AnmCache::Preload src/anm2 decompile labels (AnmCache::Preload)
|
|
0040ed50 AnmCache::ParseFile src/anm2 decompile labels (AnmCache::ParseFile(path,key))
|
|
00413bf0 xml_node::first_attribute src/anm2 decompile labels (xml_node::first_attribute(name))
|
|
00413c70 xml_node::first_node src/anm2 decompile labels (xml_node::first_node(name))
|
|
00414e00 InterpolateNullFrames src/anm2 decompile labels (InterpolateNullFrames(ecx=buf,edx=&count,scratch))
|
|
00415170 InterpolateLayerFrames src/anm2 decompile labels (InterpolateLayerFrames(ecx=buf,edx=&count,scratch))
|
|
00440e50 set_PlaybackSpeed src/anm2 decompile labels (set_PlaybackSpeed)
|
|
00499d20 fmodf src/anm2 decompile labels (fmodf)
|
|
0067f670 ResolveRelativePath src/anm2 decompile labels (ResolveRelativePath(out,anmPath,edx=rel))
|
|
006828b0 LerpAngleDeg src/anm2 decompile labels (LerpAngleDeg(xmm0 a,xmm1 b,xmm2 t))
|
|
006832e0 Color::Lerp src/anm2 decompile labels (Color::Lerp(out,a,b,t))
|
|
00a112c0 KAGE_LogMessage src/anm2 decompile labels (KAGE_LogMessage(level,fmt,...))
|
|
00a16060 FileSystem::GetMountPrefixes src/anm2 decompile labels (FileSystem::GetMountPrefixes)
|
|
00a17180 FileSystem::ResolvePath src/anm2 decompile labels (FileSystem::ResolvePath)
|
|
00a68490 GetTimeNs src/anm2 decompile labels (GetTimeNs)
|
|
004288a0 std::set<int>::find_node src/rooms decompile labels (std::set<int>::find_node)
|
|
006da750 std::bitset<8>::any src/rooms decompile labels (std::bitset<8>::any)
|
|
006ef3e0 RoomConfigRoom::dtor src/rooms decompile labels (RoomConfigRoom::dtor (name only))
|
|
006f3c00 Game::ReloadStagesXmlOnLuaReset src/rooms decompile labels (Game::ReloadStagesXmlOnLuaReset)
|
|
006f4740 Game::LoadConfigXmls src/rooms decompile labels (Game::LoadConfigXmls(stages,curses,...))
|
|
006f9400 Seeds::GetForcedCurses src/rooms decompile labels (Seeds::GetForcedCurses?)
|
|
006f95a0 Seeds::GetPreventedCurses src/rooms decompile labels (Seeds::GetPreventedCurses?)
|
|
00744940 Level::Init src/rooms decompile labels (Level::Init)
|
|
00751650 Level::GenerateHome src/rooms decompile labels (Level::GenerateHome?)
|
|
00752c30 std::bitset<8>::to_string src/rooms decompile labels (std::bitset<8>::to_string(out))
|
|
007e9080 RNG::RandomFloat src/rooms decompile labels (RNG::RandomFloat)
|
|
007e90f0 RNG::Next src/rooms decompile labels (RNG::Next)
|
|
007ec100 Room::TransformEntry src/rooms decompile labels (Room::TransformEntry?(out,gridIdx,seed))
|
|
007ed310 Room::SpawnEntry src/rooms decompile labels (Room::SpawnEntry(gridIdx,Entry*,seed,b,b) ret14)
|
|
007f2800 Room::Init src/rooms decompile labels (Room::Init(cfgRoom,desc))
|
|
00828b60 RoomConfigMode::ctor src/rooms decompile labels (RoomConfigMode::ctor)
|
|
00828c00 RoomConfigMode::Clear src/rooms decompile labels (RoomConfigMode::Clear)
|
|
00828f00 RoomConfigStage::ctor src/rooms decompile labels (RoomConfigStage::ctor)
|
|
00829260 RoomConfigMode::dtor src/rooms decompile labels (RoomConfigMode::dtor?)
|
|
00829290 VariantRanges::Insert src/rooms decompile labels (VariantRanges::Insert(variant)->bool newlyInserted)
|
|
00829500 RoomConfigStage::GetDisplayName src/rooms decompile labels (RoomConfigStage::GetDisplayName)
|
|
00829710 RoomConfig::LoadRoomFromXmlFile src/rooms decompile labels (RoomConfig::LoadRoomFromXmlFile(ecx=Room*,edx=path) (--load-room))
|
|
00829af0 RoomConfigRoom::ParseXml src/rooms decompile labels (RoomConfigRoom::ParseXml(node))
|
|
0082a9c0 RoomConfig::ResetStageWeights src/rooms decompile labels (RoomConfig::ResetStageWeights(stageId,mode) ret8)
|
|
0082aa40 RoomConfig::LoadStageBinary src/rooms decompile labels (RoomConfig::LoadStageBinary(stageId,mode) thiscall ret8)
|
|
0082aea0 RoomConfig::ReadRoom src/rooms decompile labels (RoomConfig::ReadRoom(ecx=mode,edx=idx,stack:stageId,File*))
|
|
0082b2f0 RoomConfig::LoadStagesXml src/rooms decompile labels (RoomConfig::LoadStagesXml(path) thiscall ret4)
|
|
0082bd60 RoomConfigStage::operator_assign src/rooms decompile labels (RoomConfigStage::operator=(const&))
|
|
0082bf00 RoomConfig::LoadCursesXml src/rooms decompile labels (RoomConfig::LoadCursesXml(path,flag)?)
|
|
0082cdd0 RoomConfig::GetRandomRoomWithFallbackStage src/rooms decompile labels (RoomConfig::GetRandomRoomWithFallbackStage? ret34)
|
|
0082ce40 RoomConfig::CollectRooms src/rooms decompile labels (RoomConfig::CollectRooms(out vector<Room*>,stageId,type,shape,minVar,maxVar,minDiff,maxDiff,doors*,subtype,mode) ret2c)
|
|
0082d000 RoomConfig::GetStageDisplayName src/rooms decompile labels (RoomConfig::GetStageDisplayName(out,stageId,?))
|
|
0082d100 RoomConfig::GetStageIdByName src/rooms decompile labels (RoomConfig::GetStageIdByName?(std::string*))
|
|
0082d320 RoomConfig::ClearGeneratedRooms src/rooms decompile labels (RoomConfig::ClearGeneratedRooms)
|
|
0082d4a0 RoomConfig::MergeRoomsIntoGenerated src/rooms decompile labels (RoomConfig::MergeRoomsIntoGenerated?(roomA,roomB,shape))
|
|
0082d880 RoomConfig::GetRandomSplitRoom src/rooms decompile labels (RoomConfig::GetRandomSplitRoom (Curse of Giant) ret30)
|
|
008f8040 ModManager::LoadModRooms src/rooms decompile labels (ModManager::LoadModRooms(stageId,mode) ret8)
|
|
008f86c0 ModManager::LoadModCurses src/rooms decompile labels (ModManager::LoadModCurses)
|
|
008f99c0 Mod::GetContentPath src/rooms decompile labels (Mod::GetContentPath(out,name) (content-dlc3/ then content/))
|
|
00a0f4e0 operator_new_tracked src/rooms decompile labels (operator_new_tracked)
|
|
00a178d0 FileSystem::Open src/rooms decompile labels (FileSystem::Open)
|
|
0x0059e730 NpcHelper::UltraGreed_Smash shockwave+blast+door lasers (ultra greed port)
|
|
0x0059e630 NpcHelper::UltraDoor_Opposite door slot -> opposite door entity
|
|
0x0059e2a0 NpcHelper::UltraGreed_Heal hp += mhp*.00125*n, i2+=n
|
|
0x00801ee0 Room::UpdateGreedWave greed timer, stage 7 boss trigger
|
|
0x006bf120 NpcHelper::ChampionDrop champion death drop, off in greed
|
|
#
|
|
# Lua registration beats a short REPENTOGON sig that matched the wrong function (game's own Lua table names these)
|
|
007fb250 Room::SpawnClearAward Lua Room:SpawnClearAward; ZHL sig said Entity_Bomb::Update; called from Room::TriggerClear
|
|
006ae0a0 Entity::AddFear Lua Entity:AddFear; ZHL sig said Entity_Familiar::RemoveFromPlayer
|
|
006d0ca0 Entity_NPC::QueryNPCsSpawnerType Lua EntityNPC:QueryNPCsSpawnerType; ZHL sig said PersistentGameData::SaveLocally
|
|
00780560 Entity_Player::GetBombFlags Lua EntityPlayer:GetBombFlags; ZHL sig said GridEntity_Pit::Update
|
|
007ab380 Entity_Player::AnimateCollectible Lua EntityPlayer:AnimateCollectible; ZHL sig said HasCollectible (real one 007706e0)
|
|
007bf1a0 Entity_Player::FireDelayedBrimstone Lua EntityPlayer:FireDelayedBrimstone; ZHL sig said Entity_NPC::MakeBloodSplash
|
|
007e6300 PathFinder::MoveRandomly Lua PathFinder:MoveRandomly; ZHL said NPCAI_Pathfinder::MoveRandomlyBoss
|
|
#
|
|
# Most-called unnamed helpers of gameplay code (subagent review of body + strings, 2026-10-24); check the evidence before relying on one
|
|
006eef60 Random global MT19937 genrand (624-word state, tempering) with rand() fallback; ZHL `unsigned int Random()`; result used as spawn seed
|
|
004cf210 std::multiset<unsigned_int>::erase tree equal_range by key, counts and erases nodes; used to unregister EntityPtr slot before reassigning
|
|
00435c70 EntityRef::EntityRef zeroes type/variant/spawner, pos/vel = zero vector, flags/entity 0; EntityRef layout 0x28
|
|
00431310 EntityRef::constructor fills EntityRef from Entity* (type 0x28, variant 0x2c, pos 0x33c, vel 0x360, charm/friendly flags); ZHL EntityRef::constructor(Entity*)
|
|
0040b090 ANM2::WasEventTriggered null-checks anim state at +0x34 then AnimationState::WasEventTriggered
|
|
006d7cf0 spawn_blood_explosion Game::Spawn(1000,2=EFFECT BLOOD_EXPLOSION, pos, vel, spawner) then vtable+0x3c SetColor(color,-1,255,false,true) and sets scale
|
|
004073d0 Sprite::SetColor copies 0x2c-byte Color into ANM2+0xa8 (Lua Sprite.Color getter returns this+0xa8)
|
|
0067f260 vector_to_direction returns LEFT 0/UP 1/RIGHT 2/DOWN 3 from dominant axis sign of a Vector
|
|
0040a6e0 ANM2::SetFrame SetAnimation(name) then AnimationState::SetFrameFloat and clears playing flag; ZHL ANM2::SetFrame(anim, frame)
|
|
00417170 BitSet128::operator_and ANDs four dwords of two 128-bit masks (entity flag sets)
|
|
004e45c0 std::set<int>::insert find_node, allocates 0x14 node with key, returns pair<iterator,bool>
|
|
007ca7c0 Entity_Player::ClampGoldenHearts caps golden hearts (0x194c) to heart containers count; called from AddMaxHearts/AddHearts/AddSoulHearts/RemoveBlackHeart
|
|
009be6b0 PlayerManager::FirstTrinketOwner iterates player list, GetTrinketMultiplier, prefers player with Mom's Box (439); REPENTOGON PlayerManager::FirstTrinketOwner shape
|
|
00930220 TemporaryEffects::AddEffect merges/pushes 16-byte {ItemConfig*,count,cooldown} entry, ORs item cache flags (+0x54), AddCostume on owning player
|
|
006a9360 Entity::SetSpawnerEntity EntityPtr assign to this+0x3c8 (Lua Entity.SpawnerEntity getter reads 0x3c8): unregister old, register new
|
|
006a9140 Entity::GetPlayerAncestor walks Parent (0x3bc) then SpawnerEntity (0x3c8) chains with cycle-guard set, returns first entity of type 1 (player)
|
|
00a15640 assert_lerp_range only logs "Start and End parameters cannot be the same!" if two float args equal
|
|
00431450 Entity::AddVelocity velocity(0x360) += vec * (ignoreFriction ? 1 : friction 0x39c); Lua Entity:AddVelocity
|
|
006a9ba0 Entity::GetCollisionCapsule Capsule::constructor(pos+offset, size 0x374, ...); ZHL Entity::GetCollisionCapsule(Vector*)
|
|
0041cb60 std::min<int> returns pointer to smaller of two ints
|
|
00956110 input_is_action_pressed game-level wrapper: Lua hook, then each controller vfunc or Input::IsActionPressed callback FUN_00a20940
|
|
009561e0 input_is_action_triggered same wrapper as input_is_action_pressed but with IsActionTriggered callback FUN_00a209e0
|
|
0072ff10 ItemConfig_Item::GetLocalizedName "#" prefixed name looked up in "Items" string table for language (0x14 = current); used by AddCostume/console
|
|
0042f430 std::vector<Vector>::_Emplace_reallocate growth 1.5x of 8-byte elements, length_error at 0x1fffffff
|
|
0040d0e0 Color::Color sets tint r,g,b,a, zero colorize, offsets r,g,b (11-float Color layout)
|
|
00435a50 sqrtf float sqrt wrapper calling libm_sse2_sqrt_precise for negatives
|
|
00aef15c operator_delete thunk to free-like; called with (ptr,size) from string _Tidy
|
|
00499d60 atan2f float wrapper around _CIatan2
|
|
0040d040 std::string::_Tidy_deallocate frees heap buffer if cap>15, resets size 0 cap 15
|
|
00aef29d _Init_thread_header MSVC thread-safe static init guard with critical section/_Init_thread_wait
|
|
0040c340 std::string::string_from_cstr strlen then assign; init cap 15
|
|
00417840 std::vector::size (end-begin)>>2, ICF-folded
|
|
00a10450 Vector::operator_add_assign adds x,y in place
|
|
00a10540 Vector::operator_mul_assign scales x,y by float in place
|
|
0042a030 std::bitset::_Xran throws "invalid bitset position"
|
|
00435c20 BitSet128::operator_or ors four dwords of two 128-bit sets
|
|
00682740 normalize_angle_degrees fmod by 360 when |a|>360, compare against 180
|
|
006d0300 Entity_NPC::SetBossColorIdx writes _bosscoloridx, reloads graphics and reapplies animation
|
|
0041d520 sin tail-calls libm_sse2_sin_precise
|
|
00956780 seed_fart_sound_override if SEED_FART_SOUNDS(7) active, replaces sound id with 37 (fart) or 1/20 301
|
|
00a10630 Vector::operator_ne compares two float pairs, returns 1 if different
|
|
00a0f4c0 operator_new allocator used by std::_Allocate; calls FUN_00a648b0(size,0)
|
|
0067f170 Vector::ToCardinal snaps vector to dominant axis unit vector (+-1,0)/(0,+-1)
|
|
0040cf00 std::_Allocate MSVC allocate with >=0x1000 32-byte alignment path (+0x23, store raw ptr at -4)
|
|
0040cf50 std::string::string copy ctor: SSO copy if <16 else allocate+memcpy
|
|
00435a80 Color::Color writes 11 floats: rgb, a=1, colorize/offset zeroed (Color struct layout)
|
|
00aef253 _Init_thread_footer increments epoch under critical section, __Init_thread_notify
|
|
006b6470 play_sound_with_fart_seed applies fart-seed override then SoundEffects::Play
|
|
00aefca0 __ftoui3 float->uint conversion, AVX512 vcvttss2usi fast path
|
|
004171b0 BitSet128::IsNonZero true if any of four dwords nonzero (tear-flag style 128-bit set)
|
|
00592230 BitSet128::IsZero true if all four dwords zero
|
|
0041cb80 std::max<int> returns pointer to larger of two ints
|
|
004f8940 PlayerManager::AnyoneHasCollectible FirstCollectibleOwner(id,..,1) != null
|
|
004171d0 Vector::operator_mul float scalar times vector
|
|
004a11c0 std::vector<8byte>::_Emplace_reallocate grow 1.5x, insert 8-byte element, memmove halves
|
|
00428590 std::vector<4byte>::_Emplace_reallocate grow 1.5x, insert 4-byte element, memmove halves
|
|
00435ad0 Color::Color rgb,a floats plus int offsets /255 into Color struct
|
|
0067f0d0 RandomVector RNG xorshift(3,1,14) float*2pi -> cos,sin unit vector
|
|
0044bcc0 std::deque<int>::resize grows map blocks of 4 via operator_new(0x10), shrinks size
|
|
006f0090 EntityFactory::Create pool alloc by type (1000 -> effect ring of 0x400), strings 'EntityFactory cannot spawn Entity_Player'
|
|
0041d540 cos thunk to libm_sse2_cos_precise
|
|
004e4690 pow thunk to libm_sse2_pow_precise
|
|
0040b030 Sprite::IsEventTriggered null-checks anm data (+0x34) then AnimationState::IsEventTriggered
|
|
0040b1d0 Sprite::GetNullFrame null-checks anm data then AnimationState::GetNullFrame(this+0x30)
|
|
0040b200 Sprite::GetLayer thunk to ANM2::GetLayer on same this
|
|
00a10600 Vector::operator_eq compares x and y floats of two vectors
|
|
00a0fe90 Vector::Vector stores XMM1/XMM2 into x,y
|
|
0041cb70 std::max<float> returns pointer to larger of two floats
|
|
004238f0 Color::Color sets 4 tint floats, zeroes colorize+offset (0x2c struct)
|
|
0042cfd0 Color::Color tint rgb + alpha 1.0, colorize 0, 3 offset params (0x2c struct)
|
|
00435b50 Color::Color all 11 fields of 0x2c Color struct from args
|
|
004071c0 Color::operator_assign copies 0x2c-byte (11 dword) Color struct
|
|
00709c40 GridEntity::GridEntity writes GridEntity vftable and constructs ANM2 member
|
|
006b5b50 EntityPtr::SetReference release old ref (004cf210), store entity, add ref (004cdcf0)
|
|
006a92e0 Entity::SetChild EntityPtr set on Entity+0x3c0 (_child)
|
|
006a9320 Entity::SetTarget EntityPtr set on Entity+0x3c4 (_target)
|
|
009e24a0 std::map<unsigned_long_long>::find lower_bound + 64-bit key compare, returns end() on miss
|
|
00415bc0 std::_Xlen throws "vector too long"
|
|
007fa920 RoomClear_PickVariant room clear award variant: Smelter 1/50 trinket, Guppy's Tail chests (items sweep 10)
|
|
006ddcd0 Pickup_PickVariant random pickup variant/subtype picker; Daemon's Tail reroll (items sweep 10)
|
|
#
|
|
# Second, careful pass over the remaining top helpers (subagents, call sites read). "?" in the note = best guess, verify before relying on it
|
|
007cd950 Entity_Player::Teleport TeleportUp/TeleportDown strings; recurses for twin at +0x1e68; ZHL put the name on 008c99b0
|
|
0085e680 Entity::IsVulnerableEnemy_lua Lua glue; the logic is 006ac560
|
|
004cdcf0 std::multiset<unsigned_int>::insert wraps tree insert; pairs with multiset::erase in EntityPtr setters
|
|
006d82d0 Entity_NPC::GetControllerInput reads input actions 0-3/4-7 for NPC _controllerID 0xf1c; confusion/mirror-world flip
|
|
004175b0 EntityList_Query::~EntityList_Query ?frees query result buffer (tracked free) after ENTITY_MASK-folded room query
|
|
006a92a0 Entity::SetParent unregister/re-register EntityPtr at Entity+0x3bc (_parent)
|
|
0042c920 std::vector<unsigned_int>::_Emplace_reallocate MSVC vector grow+insert, 4-byte elems
|
|
006ac7e0 Entity::CountRelatedEntities ?room query by partition, counts/collects entities passing Entity::IsRelatedTo; friendly spawn caps
|
|
0040a550 ANM2::IsFinishedImpl body of Sprite::IsFinished thunk; animData null/!isPlaying + name compare
|
|
006d7d60 Entity::IsHostileTo ?compares FLAG_CHARM 0x100/FLAG_FRIENDLY 0x20000000 vs other's type player/bomb/familiar
|
|
00706940 Game::GetChallengeParams returns Game+0x26640 daily params if _dailyChallenge else Manager table[Game::_challenge]
|
|
004073b0 AnimationState::IsLoopingAnimation _animData(+4)->_loop(+0x34) per zhl AnimationData
|
|
00791320 Entity_Player::GetActiveMaxCharge slot->item/varData, slot 3 returns 0; calls per-item max charge 007911f0
|
|
007dd3b0 Vector::operator_assign ?8-byte copy (ICF-foldable)
|
|
00431640 EntityList::HitListContains ?binary_search of Entity::GetHitListIndex in sorted uint vector
|
|
006d0c20 Entity_NPC::SetRef_bec ?EntityPtr setter for Entity_NPC+0xbec (unknown ref, used in segmented bosses)
|
|
00440e30 AnimationState::GetAnimationLength _animData(+4)->_length(+0x30)
|
|
009be530 PlayerManager::GetRandomPlayer ?xorshift-random pick among players variant 0, not coop ghost (0x20a9), not 0x202c, 0x17e0>2
|
|
006e21f0 Entity_Pickup::UpdateSprite ?per-variant spritesheet swaps (chest coinslot, IsaacBed_Barren, blind collectible)
|
|
00456570 ShockwaveParams::ShockwaveParams defaults (-150,0,0,0.01,0.1,0,5) passed to Room shockwave setter 0081df10
|
|
00a0fe80 EntityPtr::clear ?zero two dwords (ICF)
|
|
008279a0 Room::IsGravityDungeon ?RoomConfig stage 0x23 type 16 (dungeon); projectiles/tears fall
|
|
007ca2d0 Entity_Player::BreakGoldenHearts ?count>0: plays sound, spawns coins 5.20 + midas freeze, UltraGreedCoins anm2, CrumbleNoDebris
|
|
006acd10 Entity::IsDamageSourceFriendly ?EntityRef source vs FLAG_FRIENDLY/charm; tear/projectile collision skip
|
|
00a115c0 copy_20_bytes ?5-dword struct copy (ICF)
|
|
007dd380 nullsub_7dd380 ?empty body (ICF)
|
|
006a2030 Entity_Bomb::IsRocket ?variant 19/20 (BOMB_ROCKET/ROCKET_GIGA in Rep+); used in bomb update/collision
|
|
004997f0 std::string::append MSVC basic_string append(ptr,len)
|
|
00435cf0 set_field_358 ?trivial +0x358 setter, ICF-foldable; this unclear
|
|
0042c880 std::vector<unsigned_int>::_Reallocate reserve: allocate, memmove, change_array
|
|
00417860 Game::GetPlayerManager returns Game+0x1baa8 _playerManager
|
|
0040c550 KAGE::SmartPointer::operator_assign ?refcounted ptr assign via vtable +4/+0xc (LayerState::GetTexture, ANM2::LoadGraphics)
|
|
006fe410 Game::SpawnEx Game::Spawn (lua) is a thunk passing all args plus trailing 0 flag
|
|
006ac760 Entity::GetIntervalTicks ? (prev+off)/interval vs (cur+off)/interval tick count, 0 if paused or flag 0x4000
|
|
006d8260 Entity_NPC::IsControllerActionPressed input_is_action_pressed on _controllerID 0xf1c
|
|
0040a940 ANM2::PlayOverlay Sprite::PlayOverlay wrapper; compares current overlay name, force flag
|
|
006d9050 Entity_NPC::UpdateControllerMovement reads controller move vector into 0xf20/0xf24, zero if _controllerID -1
|
|
00452bf0 ANM2::GetAnimation returns std::string copy of current anim name; compared to "SmallHoleOpen"
|
|
00682a50 approach_angle steps angle toward target by max delta with 360 wrap
|
|
004565e0 Room::SetGridPath grid idx<448, writes room+0x76c[idx] if current <951; called (GetGridIndex,900)
|
|
006d8240 Game::IsHardMode Game _difficulty 0x269c8 == 1 or 3
|
|
00734180 ItemPool::GetCardEx 5 args seed/special/rune/suit/allowNonCards; "No unlocked cards/runes"
|
|
0074f690 Level::GetRoomStageType ? per-room stage type lookup tables; returns _stageType by default; challenge 0x2c path
|
|
007c9ea0 Entity_Player::UpdateHeartDependentEffects ? called after every heart change; Whore of Babylon/Crown of Light effects, rotten clamp
|
|
00418500 EntityList::AddEntity "EL: not enough space for push_back" into entity lists
|
|
00665c60 Game::IsInTimedSet ? std::set<int> lookup with value<=param check, Game+0x1bbd8 end
|
|
0040ac70 AnimationState::GetNullFrameById ? "AnimationData is NULL"; finds layer by id and returns current frame (0x54 stride)
|
|
007abe90 Entity_Player::PlayExtraAnimation swaps player anm2, SetAnimation, sets 0x1398=0 0x139a=1; used by AnimatePickup/Collectible
|
|
00638e30 spawn_blue_spider ? spawns familiar 3.73 (blue spider) toward pos, random near free spot if zero
|
|
0096ce90 Entity_NPC::SetAimAngle ? sets 0x418/0x41c (prev to 0x420) and 0xec=angle-90; Pin/Vis/Raglich
|
|
006d8290 Entity_NPC::IsControllerActionTriggered input_is_action_triggered on _controllerID 0xf1c
|
|
00425ac0 Player_stats_add ? adds float to per-player stat slot <0x16; Entity::Kill uses ids 0x11/0x14/0x15
|
|
009595e0 Manager::IsGameplayInputActive ? Manager state checks (pause/menus), callers Game::Start, AddCharmed
|
|
0081df10 Game::SetShockwaveParams ? "Shockwave id is too large!" id<2, copies 0x1c-byte params
|
|
00703ab0 Game::GetNearestPlayerEx ? nearest player loop with bool filters (hologram), next to GetNearestPlayer
|
|
0067efe0 random_float ? tail-calls Random, result used as 0..1 float (ICF-foldable)
|
|
009e5c00 award_fly_kill_points ? called on fly kills; spawns ENTITY_TEXT 9001 with points, adds to this+0x54
|
|
007a6300 Entity_Player::ShootCandle Red Candle 0x268 / Blue Candle 0x1ef, random pick if both
|
|
00683060 apply_sprite_shader_params ? sets ColorOffset/Colorize/ClipPlane/PixelationAmount/TextureSize uniforms
|
|
00499410 std::deque<int>::_Growmap doubling map realloc with memmove (deque growth)
|
|
00409120 AnimationLayer::RenderFrame ? layer render with ChampionColor, GetSourceQuad, shader params
|
|
00417850 Game::GetField26614 ? returns &Game+0x26614 (counter compared <2 in many places)
|
|
00a648b0 tracked_alloc malloc/free with byte counter in global (mode 0 alloc,1 free,2 merge)
|
|
006cae60 Entity_NPC::IsTargetInAttackRange controlled->input nonzero; else player target dist<range + Room::CheckLine
|
|
006d85a0 Entity_NPC::GetControllerMovementInput reads input actions 0-7 for _controllerID 0xf1c, normalizes, mirror on flipped stage
|
|
009568e0 SoundEffects::PlayWithFartOverride ? seed_fart_sound_override then SoundEffects::Play
|
|
0040ccd0 std::string::assign assign(ptr,len) with SSO grow
|
|
006d8b20 Entity_NPC::SpawnControlTarget controlled npc spawns effect 1000.30 target at 0xf28 using controller input
|
|
0060b890 Entity::SpawnFollowingEffect198 ? spawns effect 1000.198, FollowParent, SetColor, timeout
|
|
00a0f550 KColor::SetFromARGB unpacks ARGB uint into 0-1 floats
|
|
006a8fa0 Entity::IsDescendantOf walks _parent 0x3bc and _spawnerEntity 0x3c8 chains for target
|
|
007079c0 Entity::RemoveWithPoof spawns effect 1000.15 poof with color then vtable Remove
|
|
0041e420 sprintf_s (buf,size,fmt,...) used for "Idle%d"
|
|
00499190 std::deque::push_back 8-byte elements, 2 per block map growth
|
|
004a5d10 ANM2::LoadDeliriumForm ? reloads entity anm2, rewrites layer paths to Bosses/AfterbirthPlus/DeliriumForms
|
|
0074e9b0 Level::IsMausoleumHeartStage ? effective stage 6 (labyrinth adj) alt path + GameStateFlag 0x2e
|
|
00431570 sorted_vector_insert_unique binary search lower_bound then insert uint if absent
|
|
00791530 Entity_Player::GetActiveMaxCharge slot active item ItemConfig +0xac maxcharges, special-case item 35
|
|
004d6ee0 invoke_pending_callbacks ? calls global fnptrs if objects at +0x70/+0x68 report ready
|
|
00420a80 sprintf (buf,fmt,...) via vsprintf
|
|
00956940 SoundEffects::PlayWithFartOverride2 ? seed_fart_sound_override then Play, extra arg variant
|
|
006d88b0 Entity_NPC::TransferControl moves _controllerID 0xf1c to new npc, repoints players 0x3c4
|
|
004e47c0 std::vector::clear clear(isFree): reset end or deallocate
|
|
009a8970 mark_all_slots_dirty ? sets dirty byte on 8 sub-entries then refresh
|
|
0070ee40 GridEntity_Door::UpdateAnimation door anm2 states Hidden/Idle/KeyOpen/GoldenKeyOpen
|
|
00675fc0 Entity_Projectile::SetHeight ? sets 0x410 height and 0x350 offset, room-type 16 clamp
|
|
004561b0 str_eq_cstr strlen then str_eq
|
|
004172f0 Entity::SetPositionOffset writes _posOffset 0x34c
|
|
00812f50 Room::GetClampedPositionImpl only callee GetLRoomAreaDesc; clamps vec to room bounds, wrapped by Room::GetClampedPosition
|
|
0041a790 EntityList::QueryRadius (result,pos,partitions) radius xmm3; callers iterate result list of entities
|
|
0040aaf0 ANM2::SetOverlayAnimation finds anim by name in animData list, "[warn] no animation named"; called by Sprite::SetOverlayAnimation/SetOverlayFrame
|
|
006ac560 Entity::IsVulnerableEnemy only gameplay callee of Lua IsVulnerableEnemy glue 0085e680; type 10..999, not friendly/dead/collisionclass0
|
|
0040a4d0 ANM2::IsPlaying compares name vs animState._animData name, checks _isPlaying (0x44); wrapped by Sprite::IsPlaying
|
|
006d8e40 Entity_NPC::UpdateChargeBar ? controlled NPC (0xf1c controllerID) loads gfx/chargebar.anm2 into 0xdec, "Charging", start/end params
|
|
006d8d30 Entity_NPC::GetAimTargetPosition ? returns pos of entity at npc+0xf28 else own pos; shooter AIs
|
|
009e0680 trigger_set_dispatch ? reentrancy-guarded loop over set<uint> ids calling 009e14b0 (UseActiveItem/Spawn/Fart effect runner)
|
|
00676150 Entity_Tear::SetTearFlags called after BitSet128 or/and on tear flags; loads per-flag effect anm2s (TearHalo, DarkMatter...)
|
|
00865340 lua_callback_run_get_card MC_GET_CARD-style: (rng,card,playing,runes,onlyRunes) after ItemPool::GetCard, returns int override
|
|
008646e0 lua_callback_run_pre_entity_spawn args type,variant,pos,vel,spawner,subtype,seed; returns table override
|
|
004567b0 Entity::IsFriendly flags & 0x20000000 (FLAG_FRIENDLY); tiny, ICF-foldable
|
|
0075bf00 Entity_Player::UpdateCostumes rebuilds costume sprites; called by AddCostume/RemoveCostume/EvaluateItems, costume skin alt strings
|
|
00499380 std::deque<ptr>::_Tidy clears elements (size 0x10 blocks), frees map
|
|
0097fc10 Entity_Laser::ResetSpriteScale sets 0xe4/0xe8 scale from 0x4e0, plays "Laser%d"; FireBrimstone callers
|
|
006b9740 Entity::IsPlayerInRadius ? not friendly; any player within xmm2 radius of pos, or QueryRadius finds familiar variant 0x3e
|
|
00a114d0 BlendMode::SetMode fills 5 blend factor ints for mode 0/1/2; used on ANM2::GetLayer results
|
|
00708250 PlayerManager::GetGFuelCount ? only if SEED_G_FUEL (79) active; sums FUN_007db860 over main players
|
|
004cdd80 Room::RaiseGridPathAtPos ? pos->grid idx (40px grid, y-120), raises room+0x76c[idx]%1000 path value, max 0x3b7
|
|
0040b1a0 ANM2::GetLayerFrame null animData guard then AnimationState layer frame lookup (0x54 stride)
|
|
00945470 Capsule::Collide static ecx/edx capsules, retHit param; sqrt, next to Capsule::constructor
|
|
007cacb0 Entity_Player::ClampHeartsToLimit ? called by all Add*Hearts; trims hearts above GetHeartLimit
|
|
006b31b0 spawn_gibs (gibFlags*,entity,color/pos,vel,scale) spawns effects 0x3b,0x3a,4,5,0x23,0xa3 with Random; damage/death callers
|
|
00417620 std::vector<int>::operator_index returns begin+i*4; tiny, ICF-foldable
|
|
009303f0 TemporaryEffects::RemoveEffect finds effect by ItemConfig, decrements count, TriggerEffectRemoved; called from ClearTemporaryEffects
|
|
006fed60 Game::DamageRadius ? QueryRadius, TakeDamage players/enemies with source/flags, ApplyTearFlagEffects; Mom/Mega Fatty stomps
|
|
00612af0 Entity_Familiar::IsLilithBirthrightIncubus ? player Lilith (0x20) + Birthright (0x26b), subtype 0xf
|
|
0043ee80 Sprite::SetRotation writes ANM2 0xa4 _rotation; tiny, ICF-foldable
|
|
0042d9b0 Entity::SetSpriteScale writes Entity 0xe4 (SpriteScale getter returns +0xe4); tiny
|
|
00420170 Sprite::SetScale writes ANM2 0x9c _scale; tiny
|
|
0040c780 std::min<float> returns ptr to smaller of ecx/edx floats
|
|
0x00579770 NpcHelper::ReapCreep_CountOtherEnemies room enemy count without bosses, Reap Creep summon/dash gates (monster-fidelity-6)
|
|
0x005797b0 NpcHelper::ReapCreep_ThinLaser Attack3 thin beam: laser variant 1, timeout 100, SetActiveRotation after 30 ticks (monster-fidelity-6)
|
|
#
|
|
# fidelity-leftovers pass (2026-10-24)
|
|
004db3c0 NpcHelper::twitchy_jump_target Twitchy: Isaac + vel*.1*dist, +40 overshoot, free cell, capped 200 from it
|
|
00548720 NpcHelper::leper_flesh_ai Leper 310.1 body (called from NpcAI::ENTITY_LEPER with ECX = npc); death aimed shot at 10
|
|
0070d3f0 GridEntity_Door::LoadSprite door setup: loads Door_*.anm2 by room type / target idx (-7 Mega Satan, -8 blue womb, -9 Hush), greed treasure door 31 for the room that is not _greedModeTreasureRoomIdx, exit door 32 for type 0x17
|
|
0061d6b0 Entity_Familiar::ai_key_full Key Full familiar: flies to the door in state 5 (gridpos - (13.85, 7.69)), turns layer to 90 by 2/tick, within 3 px: SOUND_GOLDENKEY, door state 8 + Open, removes Key Piece 1/2 (0xee/0xef)
|
|
009839f0 GridEntity_PressurePlate::update_greed_button greed button (plate state 2 branch of Update): pressed mid-wave damages 1 heart (half), or sets state flag 11 (0x1839c|0x800) for health type 2 / instant death curse
|
|
009bfd40 NpcHelper::hush_fly_shape_build builds a closed formation path (6 31-gon, 1 five-point star .382, 2 six-point .577, 3-5 polygons); used by ENTITY_HUSH_FLY (boss_approx_2)
|
|
009bffb0 NpcHelper::path_point_at point a share (fmod 1) along a built path by length; "Path is incomplete" (boss_approx_2)
|
|
004be670 NpcHelper::query_nearest_other nearest entity of a query list to a point, not the given one; Hush Fly spacing (boss_approx_2)
|
|
0058e490 NpcHelper::siren_familiar_counts counts Isaac's charmable familiars: free, charmed (flag 0x100), total (boss_approx_2)
|
|
0058e590 NpcHelper::siren_charmed_count charmed familiars following this Siren (boss_approx_2)
|
|
00642cb0 FamiliarAI::tinytoma Entity_Familiar::Update case 0xd8/0xd9 (Tinytoma, items sweep 12)
|
|
007d58f0 Entity_Player::tainted_cain_pedestal_burst HandleCollision calls it for player type 0x17 on a free pedestal; spawns max(4,3+rand4) pickups by pool (characters-8)
|
|
009be670 PlayerManager::are_all_players_tainted_blue_baby loops players: false if any non-twin is not type 0x19; Pickup_PickVariant/Init turn bombs into poop nuggets (characters-8)
|
|
007729d0 Entity_Player::take_damage_impl player damage: hallowed ground 50% block (RandomInt(2)), then LuaEngine::EntityTakeDamage (characters-8)
|
|
007db330 Game::damage_cooldown_scale returns ticks, or ticks>>3 (min 1) when game field 0x26614 >= 2 (characters-8)
|
|
#
|
|
# NpcTable takes the first call in a dispatcher case; for these two that call is a shared helper, not the AI (157/146 callers)
|
|
0043ef30 ProjectileParams::ProjectileParams inits scale 1, TargetPosition Vector at +0x68 (Lua ProjectileParams field+0x68); Gemini case builds params first
|
|
0041af60 EntityList::QuerySublist ? EL: copy/push_back strings, 157 callers on Room+0x1218; Mask case calls it first (Mask AI not identified)
|
|
#
|
|
# Tier 2: helpers called 2-4 times from named gameplay code (6 subagents, 2026-10-24). "?" note = best guess
|
|
00a1dfd0 render_color_shader_pass binds "KAGE_ColorShader" when avg of 4 color components nonzero, used by Game::Render overlays
|
|
009586f0 string_table_translate if text starts with '#' looks key up in string table (e.g. "#YOU_FEEL_BLESSED"), else returns as-is
|
|
007cf8c0 Entity_Player::IsLocalPlayer true when no netplay else NetplayManager::IsIdxLocalPlayer(this+0x1618)
|
|
00705b90 Game::AttractEntities loops room entities in radius, pulls velocity toward pos with optional filter callback; Game::UpdateStrangeAttractor(pos,0,0)
|
|
006827a0 angle_lerp_shortest ? wraps two angles to [-180,180] and handles shortest-direction difference; used by Laser::RotateToAngle
|
|
0060dc40 Entity_Familiar::apply_tear_modifiers ? checks collectibles 247/248 (BFFS/Hive Mind) and trinket 89 when familiar fires tears
|
|
004cf1d0 EntityPtr::Set swaps held entity pointer, erase/insert into refcount multiset
|
|
00436220 Entity::SetVisibleFlag ? sets this+0xc3c=1 unless arg false or flag 0x20000000 (FLAG_FRIENDLY/charmed)
|
|
00428910 Entity::SetVelocity copies Vector to this+0x360/0x364 (velocity)
|
|
00417160 sinf_wrapper ? body only calls sin(); ICF-foldable
|
|
00a10d00 render_quad_set_uniform_color ? fills quad vertex struct with same color (5 dwords per corner); Game/Room render
|
|
009bea40 vector_iterate_noop ? empty loop over vector, ICF-foldable
|
|
00959130 Game::DeleteSaveState non-netplay: GameState::Delete(manager+0xfa4), clears flag; called from End/Exit/FinishChallenge
|
|
00780ec0 Entity_Player::check_bomb_tearflags ? HasCollectible 106 (Mr Mega) / 420 or tearflags mask test
|
|
00707370 Game::GetNearestEnemy ? scans room entities for nearest valid vulnerable target in radius, skipping friendly/descendants; used by GetPlayerTarget
|
|
006b68c0 spawn_rock_particles spawns 8-13 EffectVariant 99 particles around pos scaled by dir, if room flag >0.2; Fissure/Big Horn
|
|
006a89d0 Entity::GetLastSpawner walks this+0x3c8 (_spawnerEntity) chain to root
|
|
00665c20 Entity_Player::GetTearHitParams_copy ? copies 0x2c bytes from player+0x14c4 (tear/weapon params) into out
|
|
00557b00 std::set<int>::find set find_node, returns end if not found; used by HasCollectible
|
|
004bb830 NpcHelper::hornfel_set_anim ? if state==3 sets/rewinds animation DAT_00b1d644 if not current
|
|
004561a0 std::iterator_copy ? *out=*this, ICF-foldable
|
|
00435db0 Entity::GetHitPointsLost ? (int)maxHP(0x3a4) - (int)HP(0x3a0)
|
|
0042a250 Entity::IsFamiliar type (this+0x28)==3 ENTITY_FAMILIAR
|
|
0040bbf0 AnimationState::copy_assign ? 0x40+ byte struct copy; used by Effect/Laser render
|
|
00a1af90 Font::DrawString ? builds text layout then draws with color param_2; Console::RenderHistory
|
|
009f7930 Weapon::TriggerTearEffects ? spawns synergy tears/candles/coins/flies per tick along dir; Brimstone::Fire and other weapons
|
|
009dcc70 ItemPool::CreateGlitchedCollectible TMTRAINER (721) path in GetCollectible; "initialized with %d effects (score: %g)", cap 0x400 reuse
|
|
009adaf0 RoomDescriptor::Init ? sets defaults (-1 grid arrays, 0x900000005 rng shifts); Level::generate_dungeon
|
|
009807a0 Game::ShowFortuneText picks random line of string category ("Fortune_General") via string table RNG and shows it; ShowFortune/ShowRule
|
|
009680d0 Entity_Knife::SetAttackAnimation ? picks AttackUp/Down/Left/Right / Swing by rotation (this+0x440) for variants 10/11
|
|
009305c0 vector_contains_int ? returns true if param in this+4..+8 vector unless this+0x11 set; UsePill/EvaluateItems
|
|
00866060 Entity::ReleaseLuaRef luaL_unref of entity's lua object on remove when lua enabled
|
|
0082c600 Level::GetCurseNameByIdx looks up curse name string, translating '#' keys in "Curses" table
|
|
007ef420 Entity_Pickup::RestoreState applies saved pickup data (charge, price, shopItemId, touched); Room::RestoreState
|
|
007df690 Music::SetPitchAll ? sets pitch float on main + 6 layer tracks if playing; Music::ResetPitch
|
|
007cbb90 Entity_Player::GetGreedDonationJamChance ? from greed donation count *0.023, capped 100; Slot::Update, GetGreedDonationBreakChance
|
|
00772260 Entity_Player::TryRemoveSmeltedTrinket "Removing smelted trinket %d (%s) from player %d (%s)"
|
|
007596a0 Entity_Player::SyncConsumables copies coins/keys/bombs/golden key/bomb/soul charge from shared source by mask bits
|
|
0074c540 Level::GetNeighborRoomIdx ? computes neighbour room index for door slot, -1 if door not allowed; generate_greed
|
|
00724af0 PocketItemConfig::GetName translates '#' names in "PocketItems" table
|
|
006f0070 Game::IsRoomTransitionActive ? returns this[0]!=0 && this[0x8e]!=0
|
|
006dae40 Entity_Pickup::GetChestLoot chest content picker with trinket modifiers (0x16,0x2d,0x2c), WeightedOutcomePicker; TryOpenChest
|
|
006d8cf0 Entity_NPC::ClearChild kills/clears EntityPtr at this+0xf28; Para-Bite, Baby
|
|
006c15c0 NpcHelper::charger_update_move_anim sets move animation by velocity direction (Charger L2, Revenant)
|
|
006b82b0 Entity::SetColor copies KColor (0x2c bytes) to this+0xd4
|
|
006a0d30 std::vector<int>::reserve_clear vector reallocate (clears and allocates capacity)
|
|
006836c0 pop_render_target "PopRenderTarget: stack is empty!"
|
|
006668c0 Entity_Tear::apply_wiggle ? sinusoidal offset perpendicular to velocity (wiggle worm style), flag 0x450&1 phase
|
|
00651990 map_find_value ? returns found node +0x14 (map value)
|
|
006393a0 spawn_dip_at ? spawns friendly dip (via FUN_00639000) with jump velocity toward pos, random pos if null; Poop, ThrowFriendlyDip
|
|
0062a8f0 Entity_Familiar::CanPlayerFire ? player not dead/frozen and room flag clear; Blood Clot, Familiar::Update
|
|
005cd460 Entity::AddFlagsLow ? this+0x110 |= flags, ICF-foldable
|
|
00589f90 Room::CanSpawnObstacleAtPos converts pos to grid xy (40px, top 120) and calls Room::CanSpawnObstacleAtPosition; Singe, Wormwood
|
|
00505b50 set_byte_0x101 ? ICF-foldable setter this+0x101
|
|
004cee90 NpcHelper::minecart_break plays sound 481, spawns particles, clears EntityPtr at +0x3c0; Minecart/Hornfel
|
|
00499da0 Entity::ToPlayer returns this if type==1 else null
|
|
00447720 set_field_0x37c ? ICF-foldable setter this+0x37c
|
|
00435e40 Entity::ToTear returns this if type==2 else null
|
|
00431540 Entity::IsProjectile type==9 check
|
|
0042b560 ItemPool::ReplaceBlacklistedPickup ? for pickup variant 300/350 rerolls card/trinket until not blocked; SpawnEx, Pickup::Morph
|
|
0041d030 std::map::destroy_subtree recursive red-black tree node free
|
|
0040cdd0 std_min_ptr min of two uint pointers, ICF-foldable
|
|
00945130 ring_buffer_push circular buffer of 8-byte elems, overwrites oldest
|
|
006e17c0 Entity_Pickup::UpdateLootPreview Guppys Eye 665 on chest/sack, CreateLootPreview at +0x590
|
|
005cc070 RNG::Shuffle Fisher-Yates over int range with xorshift RNG in ECX
|
|
004b0f50 std::deque<Vector>::push_back deque 8-byte elems, _Growmap
|
|
004360f0 _get_index_plus_one_if_kind_4_5 ? ? returns [0]+1 when [1] is 4 or 5
|
|
004288f0 Entity::SetPosition writes Vector to +0x33c (_pos)
|
|
00407380 _string_holder_c_str ? c_str of std::string* at +4 or empty fallback
|
|
00a105d0 Vector::__div_assign divides x,y in place by float
|
|
009ba000 PlayerManager::RemoveCoPlayer ZHL name; 'Clearing player color assignment', removes from player list ECX[0x34], baby skins
|
|
00816250 _Room::ResolveHeartSubType ? ? remaps negative pseudo heart subtypes by health type/Keeper/trinket multiplier; pickup Init/Morph
|
|
0075e320 Entity_Player::IncrementPlayerFormCounter ZHL sig shape; +0x17dc[16] form counts, form costumes, TryUnlock
|
|
007069a0 Game::GetNearestTargetPlayer ? iterates players, decoys/friendly checks; used by Entity_NPC::GetPlayerTarget
|
|
006b66a0 Entity::MakeGroundPoofAtSelf MakeGroundPoof(this,&this->_pos,arg)
|
|
00684b90 hsv_to_rgb hue/60 sextant switch, chroma*value
|
|
00652a90 _has_flag_0x110 ? ? (this+0x110 & mask)!=0
|
|
00505b80 _Entity_NPC::GetColorWithFlash ? ? copies Color, multiplies when +0xc>0; NPC ResetColor/Update
|
|
004b6a90 std::deque<int>::push_front 4-per-block deque front insertion
|
|
00452be0 _ptr_deref_or_minus1 ? ? returns *ptr or -1
|
|
00435d60 Entity::SetTargetPosition writes +0x334/+0x338 (_targetPosition)
|
|
00426980 std::vector<Vector>::_Tidy frees 8-byte element vector
|
|
0040a7c0 _empty_check_0x34 ? ? empty body, ICF
|
|
00a19180 _glfw_context_reset ? ? GLFW context.c, resets hints
|
|
009f5a30 Weapon::GetOwnerLaserOffset owner player GetLaserOffset or familiar(type 3) variant
|
|
009bfa00 PlayerManager::GetNumAlivePlayers ? counts main non-ghost non-twin players without +0x20a9
|
|
009a90b0 _player_hud_set_heart_anim_state ? ? finds player in 8 entries stride 0x6dc, sets byte 4
|
|
00980430 std::vector<Vector>::_Insert_n grow/insert 8-byte elems; laser render
|
|
00967180 Entity_Knife::UpdateHomingPath ? knife homing path, InitHomingPath, spawns
|
|
0092aea0 PersistentGameData::TryAddBestiaryEncounter ? GetBestiaryConfig, encounter set, Steam achievement
|
|
00857220 ScoreSheet::LoadAnm2 ? loads ScoreMenu/LeaderboardMenu anm2 in LoadConfigXmls
|
|
0082c310 Game::LoadMinibossesXml ? 'minibosses'/'miniboss' xml parse
|
|
007eeeb0 Entity_Pickup::CanFlip ? flip validity checks, used by TryFlip/HandleCollision
|
|
007dc2d0 _Entity_Player::SpawnTrinketRandomPickup ? ? trinket RNG +0x177c, random of 5 variants, SpawnEx pickup
|
|
007d2000 Entity_Player::InitTwin SpawnCoPlayer, sets _otherTwin +0x1e68, offsets positions +-20
|
|
007c8050 Entity_Player::AddImmaculateConceptionCounter Immaculate Conception 413 counter +0x1930, spawn heart
|
|
007716c0 is_trinket_unpickable_id ? trinket id&0x7fff ==41 or 135
|
|
007525e0 std::vector<int>::assign memmove copy-assign 4-byte vector
|
|
0074bae0 _RoomDescriptor::GetShapeGridCount ? ? greed mode check, shape 4/5 branches
|
|
0070c000 Entity::DestroyRockGridAt ? rubble anm, RegisterRockDestroyed, PlayBreakSound; tear/projectile
|
|
006eed30 Entity_Pickup::AssignOptionsIndex ? max +0x528 over pickups +1
|
|
006dac30 log_precise libm log wrapper
|
|
006d81c0 Entity_NPC::ClearDequeRefs ? clears EntityPtr deque at +0xbf0
|
|
006baa70 _NpcHelper::spider_load_graphics ? ? load_graphics + anm path redirect, spider AIs
|
|
006b7d20 _Entity::GetAncestorField ? ? lookup +0x14
|
|
0069f990 Color::copy_constructor_ext ? copies Color + 3 strings; ICF-ish
|
|
0067a720 Entity::GetRootParent walks +0x3c8 parent chain, checks type 1
|
|
006518f0 set_iterator_post_increment tree iterator ++
|
|
00634a40 Entity_Familiar::ResolveOrbitConflict ? +0xda4 orbit, compares +0x410
|
|
0060d180 Entity_Familiar::GetPlayerSlot ? matches player +0x1618 controller in 4 slots
|
|
00499270 _range_to_span ? ? builds {start,0,count}
|
|
004476a0 Color::Color sets white then copies tint
|
|
00435d20 Entity::SetField380 ? stores +0x380
|
|
00431530 Entity::IsTear type==2
|
|
00428940 Seeds::Init3 ? draws seeds into +0x58.. via xorshift
|
|
0041c770 shared_ptr::assign refcount vtable acquire/release
|
|
00407320 _get_name_string ? ? copies std::string at *this+8
|
|
007bc740 Entity_Player::InitPostLevelInitStats own log string names it; challenge/daily starting items
|
|
0067d1f0 get_tear_flags_from_player ? builds TearFlags from bitmasks, Dead Eye-ish 0x97 chance, ancestor player
|
|
004bb550 NpcHelper::hornfel_get_rail_direction Room rail byte grid +0x746c -> direction vector
|
|
00505b40 pow_wrapper calls pow
|
|
00a10e70 render_quad_set_rect 4 verts from pos+size, 3x5 color floats
|
|
0085bed0 EntitySpawner::Spawn advances RNG then Game::Spawn with stored type/variant; shopkeeper/fireplace/chest loot
|
|
007911f0 Entity_Player::GetCollectibleMaxCharge per-item charge overrides then ItemConfig MaxCharges; caller GetActiveMaxCharge
|
|
006da850 std::deque<LootEntry>::clear deque of 0x14 blocks freed
|
|
0064bb70 Entity::convert_shot_for_enemy_owner ? if owner chain has flag 0x100, respawns tear as projectile/attack fly/spider
|
|
005cbd20 std::vector<CostumeSprite>::erase 0x130-byte ANM2 elements, costume add/remove
|
|
004b0e40 std::deque<Vector>::assign 8-byte element deque copy
|
|
0041b4f0 EntityList::AddPersistentEntity "persistent list is full" log
|
|
00a1d710 render_color_quad KAGE_ColorShader, KColor::SetFromARGB
|
|
00a10510 Vector::Mul out = a * this componentwise
|
|
009b9480 PlayerManager::count_main_players ? skips players whose +0x1e68 sibling has lower controller idx
|
|
008151e0 Room::GetShopItemPrice log string
|
|
00753da0 Entity_Player::constructor sets Entity_Player vftable
|
|
006eee10 EntitySaveStateRef::Set ReferenceCount<EntitySaveState> alloc
|
|
006b5f10 Entity::GetDebugShape DebugRenderer::Get(this+0x20)
|
|
00682f50 KColor::FromRGBA255 ints * 1/255
|
|
006470c0 Entity_Familiar::get_item_config_entry ? calls ItemConfig collectible 0xd0 vector lookup
|
|
004f88a0 rng_pair_init ? two 0x16a9de81 seeds
|
|
00499230 std::deque<Vector>::front deque index math
|
|
004174c0 buffer_init ? alloc param bytes
|
|
00a55d60 std::vector<12byte>::clear stride 0xc
|
|
00a18300 KAGE_Graphics::SetRenderTarget glBindFramebuffer + status logs
|
|
009f4280 Weapon::UpdateHeadChargeAnimation ? HeadDownCharge/FloatChargeSide anim names
|
|
009bea10 entity_vector_set_flag_410 sets byte +0x410 on each element
|
|
009a3410 PlayerHUD::show_pill_name ? pill use / pickup, netplay branch
|
|
009803e0 std::vector<Vector>::erase 8-byte elements
|
|
009666c0 Entity_Knife::GetRootParent walks +0x3bc while type 8
|
|
009294f0 PersistentGameData::Save "no filename supplied"
|
|
00838380 VictoryRunPrompt::Load ? Prompt_VictoryRun.png, LoadConfigXmls
|
|
007ebe20 ItemPool::get_pool_from_room_entities ? GetPoolForRoom, scans room spawns
|
|
007dbd70 Entity_Player::ModelingClay_roll seeded collectible stored +0x1fb8, costume; trinket added/new room
|
|
007cf8f0 Entity_Player::IsLocalPlayer ? NetplayManager::IsIdxLocalPlayer
|
|
007c2d50 get_tear_trinket_multiplier ? tear variant -> trinket multiplier
|
|
00771200 Entity_Player::IsInnateCollectible player-type specific item ids; caller HasCollectible
|
|
007523e0 Level::boss_count_adjust ? stage-type based counters; extra boss room
|
|
0073da40 Level::GetTargetSlot log "Level::get_target_slot"
|
|
0070bf80 is_grid_type_floor_special ? grid types 17/18/20/23
|
|
006eea30 Entity_Pickup::MakeShopItem sets ShopItemId +0x53c, Price +0x534 via GetShopItemPrice
|
|
006d9320 Entity_NPC::apply_controller_movement GetControllerInput velocity; hopper/fat sack
|
|
006d5400 Entity_NPC::trigger_kill_item_effects ? Contagion/Athame/Friendly Ball/Book of Virtues owners
|
|
006b84e0 std::deque<LootEntry>::push_back 0x14 entries, shopkeeper/fireplace loot
|
|
006b7250 Entity::GetLastParent walks +0x3c8
|
|
0069dac0 std::vector<12byte>::_Tidy stride 0xc free
|
|
00678060 Entity_Tear::is_not_familiar_spawned ? +0x3bc type != 2... returns true
|
|
00665b00 Entity_Tear::GetRootPlayer walks +0x3c8, returns if type 1
|
|
00651810 apply_forgotten_lullaby trinket 141 divides fire delay
|
|
00634260 Entity_Familiar::UpdateFollowPosition ? follower +0xd90..0xda4, GetFollowerPriority
|
|
0060d140 Entity_NPC::set_entity_ptr_f54 ? multiset EntityPtr at +0xf54; cage/tarboy
|
|
0060c620 Entity_Effect::ExtraDataRef::Set ReferenceCount<Entity_Effect::ExtraData>
|
|
00558070 NpcHelper::willo_get_target_pos parent pos or player average
|
|
004f84a0 str_ne !str_eq
|
|
004b8a30 NpcHelper::hornfel_ride_minecart SetMinecartPosVel, state 10
|
|
0041ab50 EntityList::query_player_capsule_hits ? Capsule::Collide over players
|
|
00a104b0 Vector::operator__ body: this.xy -= arg.xy
|
|
00833420 Ambush::StartChallenge closes doors unless Door Stop, plays challenge/bossrush music, room types 11/17
|
|
007592a0 Entity_Player::UpdateBlackHeartMask repacks _blackHearts bitmask 0x1350 against _soulHearts 0x134c
|
|
006d7df0 Entity_NPC::FollowParentSegment ? worm segment: follows ParentNPC position history deque 0xc04, pushes own pos (max 64)
|
|
0063b4a0 Entity_Familiar::GetFollowTargetPosition ? out vec; orbit pos if 0xd70>=0, variant 120 free pickup spawn pos
|
|
004e8fa0 Entity_NPC::UpdateCordChain ? Evis/Vis Fatty/Dogma/Peeper Fatty cord points deque 0xc08
|
|
00499960 EntityRef::operator_ ? copies 10 dwords; used by TakeDamage/AddBleeding/AddBaited
|
|
00a10350 Vector::FromAngle deg*pi/180 -> cos,sin
|
|
00a1aec0 Font::DrawStringScaled ? builds string, draws at scale 1,1 with KColor
|
|
009a1a30 HUD::LoadGraphics loads ui_hearts/hudpickups/chargebar anm2 and fonts
|
|
007db860 is_achievement_79_unlocked ? std::set find key 0x4f, byte vec 0x1fd4[0x8f]; called by GFuel/EvaluateItems
|
|
0074b830 Level::IsStageWithinEnd ? stage < 8 in greed, challenge EndStage 0x40, shovel 550/552 checks
|
|
006ee750 Entity_Pickup::RemoveOtherOptions pickups with same OptionsPickupIndex 0x528 poof (1000.15) and vanish
|
|
00682b90 string_scramble_seeded ? std::string by value + RNG; used by curse name, UsePill, pickup collision
|
|
00639000 Entity_Familiar::ThrowDip own assert string; spawns 3.201 dip
|
|
004d8b50 spawn_small_maggot Game::Spawn 853 at this pos, sets height/velocity
|
|
00498fd0 std::deque<Vector>::erase deque of 8-byte elems range erase
|
|
0097baa0 Entity_Laser::UpdateHits ? laser Update/Interpolate: QueryRadius, IsVulnerableEnemy, flag bitset tests
|
|
006b2210 Entity::IsCollisionIgnored ? player vs type 9 projectile with effect 625, collectible 276, null 59, PlayerType 35
|
|
0043eca0 std::vector<int>::copy_constructor alloc+memmove of 4-byte elems
|
|
00a288a0 std::shared_ptr::assign ? swap two dwords then release old via vfunc 0xc
|
|
00a18230 RenderTarget::Clear glClear 0x4100 with clear color
|
|
009f41c0 Weapon::GetMultiShotParams player/familiar owner -> Entity_Player::GetMultiShotParams else default
|
|
009be990 NpcHelper::big_horn_is_any_hole_busy ? scans entity ptr vector for field 0x3fc not 0/3; Big/Little Horn
|
|
00960a20 Entity_Knife::GetBaseVariant maps variant 2/3/4/8/9->1, 5->0, 11->10
|
|
007b9f60 Entity_Player::GetMouseAimTarget ? NetInputDevice cursor 0x398 or GetFocusEntity pos
|
|
0075e050 Entity_Player::SetQueuedItem FlushQueueItem then writes QueuedItem fields 0x17c4..0x17d4
|
|
0074f820 Level::InitStageSeeds ? requires Game Start Seed; stage seed table 0x1bb9c; Init/RestoreGameState
|
|
007376c0 ItemPool::GetCardImpl ? RNG; Pickup::Init and AddItemCard
|
|
00708e20 std::vector<RoomEntry>::_Tidy ? frees vector of 0x78 elems; RoomDescriptor dtor, reset_room_list
|
|
006e84d0 Entity_Pickup::CollectTrinket ? param player; 0x534 trinket id, Trinket ID out of bounds
|
|
006d90e0 Entity_NPC::UpdateChildEffectPosition ? effect at 0xf28 (type 1000) placed relative to npc size 0x38c..
|
|
006d4e00 Entity_NPC::PlayDeathEffects ? gfuel, layer-frame pos, death sfx; NPC Update and Rock Spider
|
|
006b6810 Entity::MakeBloodPoofAtPos MakeBloodPoof(this,&_pos,arg)
|
|
0069ba90 EntityConfig::PreloadResources AnmCache::Preload + Preload sound %d
|
|
00676be0 Entity_Tear::UpdateBoneTear ? uses tears_brokenbone.png
|
|
00665500 Entity_Slot::SetPrizeType ? writes 0x540, reloads graphics per variant 15/16
|
|
0064bab0 Entity_Familiar::RemoveFromPlayer ? clears owner 0x414/0x410 slots, Siren/ClearReferences
|
|
00634000 Entity_Familiar::TryFireTear ? Forgotten Lullaby 127 multiplier
|
|
006075a0 TearParams::operator_ struct copy; Brimstone/ApplyTearFlagEffects
|
|
0059bed0 Entity_NPC::RenderSegmentLink ? NPC Render/RenderShadowLayer, parent 0x3c0 I2 checks
|
|
00557ce0 collect_npcs_with_same_parent ? npcs with matching 0x3bc parent; Min-Min/Willo
|
|
004f83a0 std::deque<int>::resize Growmap/new(0x10) loop
|
|
004b39b0 std::vector<Vec16>::_Emplace_reallocate 16-byte element realloc
|
|
00435bf0 BitSet128::operator__ 4 dword OR
|
|
0042f150 std::vector<Vector>::operator__ ? base+i*8
|
|
00421680 std::string::concat alloc + 2 memcpy
|
|
00417630 EntityList_EL::push_back EL: not enough space for push_back
|
|
009292c0 Manager::BackupSaveFile %s/save_backups/ + time-stamped name; Game::Exit, ChangeRoom
|
|
007eb870 Level::UpdateBackwardsPathStages ? Invalid backwards path stage ID; stage bitmask
|
|
007dbc80 Entity_Player::AddRandomMomItemEffect ? RNG pick from list 29,30,31,55,110,114,217,228,355,508,732
|
|
007ce270 Entity_Player::GetMainPlayer ? parent 0x3bc if player else player 0 for variant 1
|
|
00838210 is_screen_transition_active ? 0x34!=0 && byte 0x44; Game::Update/IsPaused
|
|
00a101c0 vector_lerp out=a+(b-a)*t, optional clamp t to [0,1]
|
|
00813460 Room::get_random_pickup_position ? random point in rect +0x14..0x20 then FindFreePickupSpawnPosition
|
|
0071f600 Level::filter_curses ~prevented & (forced|game|level curses) & mask
|
|
006cb2a0 Entity_NPC::fire_projectile_from_params ? calls FUN_006cb010 with fields 0x168/0x16c, per-projectile loop in FireProjectiles
|
|
00612b50 Entity_Familiar::get_incubus_umbilical_whip Lilith birthright incubus, dyncast Weapon_UmbilicalWhip, returns entity type 3
|
|
004e46d0 Color::apply_to_kcolor tint*kcolor, colorize via luma 0.2126/0.7152/0.0722, add offset
|
|
00a14050 shader_cache_find ? path hash lower_bound lookup, sets current shader global
|
|
00a0f690 KColor::KColor r,g,b in xmm, a param, ECX[4]=0
|
|
00732d00 ItemPool::is_collectible_available bitsets 0x67c/0x68c removed/blocked, trinket No! (88) blocks actives
|
|
0067d430 tear_flags_area_apply QueryRadius, damage vulnerable enemies, ApplyTearFlagEffects
|
|
006348d0 Entity_Familiar::reset_follow_target ? resets 0xd90..0xda4 to zero vector, 0xda4=0xff
|
|
004d3130 EntitySaveState::copy field-by-field copy + two vector copies; Pickup TryFlip/Level::Init
|
|
00456380 Color::assign 11-dword copy into +0x1e4 (entity color) with self check
|
|
004362a0 ItemConfig::get_wisp_config collectible+0xcc or modded table, error Book of Virtues missing default wisp
|
|
0042c850 std::vector<unsigned_int>::push_back emplace_reallocate fallback
|
|
0040d0c0 std::string::c_str SSO cap<16 check
|
|
00a26af0 StringTable::get_string returns StringTable::InvalidCategory on miss
|
|
00a14c00 Shader::set_uniform ? "unknown shader uniform type"
|
|
009f33e0 Weapon::get_aim_direction Marked (394) target override for player/familiar owner else default dir
|
|
009b7650 is_single_player ? player vector at 0x4b3d8 size<=1
|
|
0090ac70 InputManager::GetDeviceByPlayerEntity log string
|
|
00802670 Room::update_door_targets MakeDoor for each slot bit, set target room idx + room types
|
|
007e86b0 std::vector<8byte>::reserve _Xlen guard
|
|
007dbba0 Entity_Player::add_random_drug_item_effect ? picks one of 13,14,240,70,143,345,493,496, TemporaryEffects::AddEffect
|
|
0075a2b0 Weapon::is_held_item ? compares held item 0x114 vs Brimstone 118 / trinket 162 cases
|
|
006d8e10 is_local_player_owned netplay idx 0xf1c IsIdxLocalPlayer, Effect/Game render
|
|
006b8410 Room::has_room_config_flag descriptor->config+0x4c & mask
|
|
006a80f0 LuaRef::push lua_rawgeti registry ref ECX+4
|
|
009960b0 Game::start_poop_cloud_screen_effect ? loads gfx/backdrop/pooclouds.png, called from UsePill/bomb tearflags with colors
|
|
007bebb0 Entity_Player::update_player_skin NiceLilith/ghost spritesheet replace + costumes, after ANM2 load in ChangePlayerType
|
|
006e2570 Entity_Pickup::update_price_sprite ShopIdle/NumbersRed/Hearts/SummonPayment, called with _price in Init/Morph
|
|
006a9c90 Entity::CollideWithGrid GetGridCollision, bridges, clamped position, from Interpolate
|
|
00993a70 Camera::Update ? LerpAngleDeg/atan2, Room::Update and generate_greed
|
|
00973c60 Entity_Laser::update_laser Droplets/Fade, non variant 1-3 path in Update
|
|
0095a7b0 PlayerManager::unlock_completion_mark ? param ending id (14 mega satan/3 ...), TryUnlock per player
|
|
007cc200 Entity_Player::init_player_type_state ? ChangePlayerType/MorphToCoopGhost, costumes, wisp config, temp effects
|
|
006e83a0 Entity_Pickup::can_player_buy price 0x534 vs coins, -10 free, health type checks, coop ghost rejects
|
|
006470f0 ItemConfig::get_wisp_entry ? collectible+0xd0 vector of 0xb8 entries indexed by EDX, default item fallback
|
|
006c20e0 LootList::LootList ? zeroes 5 dwords + list sentinel; shopkeeper/fireplace get_loot
|
|
00435f80 TemporaryEffect::TemporaryEffect {config,0,config+0x78,0}, same layout as AddEffect arg
|
|
007afc20 Entity_Player::try_trigger_astral_projection ? zero-hearts check, collectible effect 677, AddNullEffect
|
|
0074d920 Level::update_treasure_room_doors_for_trinket ? trinket 146 check over treasure rooms, door LoadSprite, from trinket add/remove
|
|
00737380 ItemPool::get_available_collectibles ? static init, removed bitsets 0x67c/0x68c, Bumbino/GetCollectible
|
|
006f8d60 GameState::copy_room_list ? memmove vector copy, SaveBackwardsStage/RestoreGameState
|
|
006856c0 std::vector::resize ? memset/memmove realloc
|
|
00666ba0 Entity_Tear::update_wiggle sin/cos lateral offset over frame count, Update/Interpolate
|
|
00663aa0 Entity_Slot::spawn_break_drops RNG pickups/spiders/gibs, Slot Update/TakeDamage
|
|
00631850 Entity_Familiar::move_to_parent_offset pos = parent pos + offset, velocity capped 100
|
|
00557bd0 std::string::find memchr substring search
|
|
004e9b10 Entity_NPC::render_overlay ? called from NPC Render/RenderShadowLayer, static init
|
|
004357e0 Entity_Familiar::set_extra_data ReferenceCount<Entity_Familiar::ExtraData>
|
|
00417540 EntityList::sublist_init "EL: invalid sublist"
|
|
009bfae0 PlayerManager::revive_player_ghosts loops players, RevivePlayerGhost if player+0x20a9 set; room clear/slot callers
|
|
007db8d0 Entity_Player::get_seeded_variant ? switch on FUN_007db860 (set<int> 79 + player vec byte 0x8f) else seed-derived 2..5
|
|
00705ee0 Game::save_rewind_state ? two 0x8198-stride state slots, frame<15 guard; room/stage transition, door callers
|
|
006ac8d0 Entity::get_velocity_direction returns 0..3 dir from velocity 0x360/0x364
|
|
00612890 Entity_Familiar::is_detached_from_follow ? per-variant checks (0x3b,0x19,0x68,0x82...) used by FollowParent
|
|
004d8910 spawn_small_maggot_jump Game::Spawn(853 SMALL_MAGGOT) toward target, sets grid; Mama Fly/Pustule/Scourge
|
|
0042eef0 push_shape_points ? appends Vector pairs into vector at +0x24; Big Horn/Bumbino/Whipper
|
|
00417220 Entity::IsType compares type/variant/subtype with -1 wildcards
|
|
00a13510 set_blend_mode BlendMode::SetMode result copied to +0x20..0x30
|
|
009f3bd0 Weapon::get_owner_position owner(+4)->_pos or zero vector
|
|
0096ce30 Entity_Laser::is_thick_variant ? variants 1,3,6,9,11-15 true; laser update/render
|
|
007910f0 Entity_Player::GetTotalActiveCharge charge+battery of slot plus Bethany soul/blood charge 0x1da8/0x1dac
|
|
00722140 std::vector<HistoryItem>::erase 28-byte elem erase; History::RemoveHistoryItemByIndex
|
|
006dae20 Game::IsChallengeOrDaily Game _challenge 0x26584 or _dailyChallenge 0x26630 nonzero
|
|
006a8f20 Entity::is_valid_boss_enemy ? type 10..999 active, not 866, no flag 0x20000000; Hush/Mega Satan/Ultra Greed
|
|
0067a080 Entity_Projectile::Deflect clears flags, sets velocity, new spawner multiset; ButterBeanFart/familiar collision
|
|
00612330 Entity_Familiar::get_orbit_parent ? Init/Kill/RecalculateOrbitOffset; type 0x2b/0xce special
|
|
00456240 ColorParams::set_from_bytes ints *1/255 into tint/offset floats
|
|
0040ccc0 std::string::_Xlen "string too long" throw
|
|
00a10dd0 set_quad_corner_colors ? copies 5-dword color into 4 corners; Laser render
|
|
009e04b0 collectible_set_has ? set<int> find with count>0; HasCollectible
|
|
009b5840 PauseScreen::Init loads PauseScreen/Death Screen anm2; LoadConfigXmls
|
|
0098b5e0 Minimap::refresh_room_icons Icon* room strings; Minimap::Refresh
|
|
00968430 Entity_Knife::SpinAttack "Tried to use spin attack..." Spin* anims
|
|
0093da00 Backdrop::load_details gfx/backdrop *_details anm2; Backdrop::Init/Dogma
|
|
008ef560 RevivePlayerMenu::Init gfx/ui/Menu_RevivePlayer.anm2
|
|
0082ee40 log_room_transition "[Frame %d] Starting room transition"
|
|
007f20e0 room_shape_get_door_grid_index ? shape/slot -> grid index; greed gen, UncoverHiddenDoor
|
|
007e31a0 PathFinder::Init sets owner, Reset; NPC/Familiar constructors
|
|
007d9b70 Entity_Player::reset_body_sprite loads entity 1.0.0 anm2, replaces sheets per player type
|
|
007cbcd0 Entity_Player::init_forgotten_twin ? player types 16/17, allocs 0x2f00 sub-player at 0x1d98
|
|
007911c0 Entity_Player::GetActiveItemSlot scans 4 active slots at 0x1580 stride 0x20
|
|
00759950 Entity_Player::restore_curse_mist_backup restores consumables; Add/RemoveCurseMistEffect
|
|
0074cb50 Level::get_door_neighbor_room ? neighbor room by door; CanSpawnDoorOutline/MakeRedRoomDoor
|
|
007307b0 ItemConfig_Item::is_mom_item ids 29,30,31,55,110,114,199,200,217,228,355,508,732
|
|
006f43b0 Game::reset_run_state zeroes Game fields + ResetState; LoadConfigXmls/Exit
|
|
006e1e90 Entity_Pickup::load_collectible_gfx questionmark.png, collectible gfx; UpdateSprite
|
|
006d8d80 Entity_NPC::is_controller_input_idle controller input zero via 0xf28 player
|
|
006c1870 Entity_NPC::anim_walk_frame_4dir 4 anim names by velocity, threshold; Gutted/Peeper Fatty
|
|
006b8320 EntityList::assign "EL: not enough space for copy"
|
|
006a6f10 Entity_Bomb::update_sparks ? "sparks"; Bomb Update/Render
|
|
00684f30 std::deque::back deque back element
|
|
00666a00 Entity_Tear::apply_wiggle sin/cos offset perpendicular to velocity; Update/Interpolate
|
|
0065b490 TearParams::copy ? 0x64-byte struct copy; Tear/Projectile Update
|
|
0063b340 Entity_Familiar::update_idle_anim_by_size "Idle%d" from player scale thresholds
|
|
0062e620 Entity_Familiar::update_weapon Create/DestroyWeapon matching player weapon 0xdc4
|
|
00547040 npc_distribute_orbit_angles spreads V1 angles 2pi/n among siblings; Matriarch/Fistuloid
|
|
004cf350 std::set::clear tree erase+reset
|
|
004aab30 std::vector::assign_0x38 0x38-elem vector assign; Delirium/Kill
|
|
00414870 std::string::append_n append n chars (memset)
|
|
0x00684cb0 Math::timescale_factor a / (a + t - a * t), a when t == 1: ACCELERATE's per-tick factor with the timescale (Entity_Projectile::Update 00659a72); was nullsub_684cb0
|
|
006bb790 Entity_NPC::champion_init NPC init: champion roll (0.05, Champion Belt 0.2, Purple Heart x3 / bosses x2); ZHL exact sig hit Game::RestoreState wrongly (trinkets-cards)
|
|
007dbeb0 Entity_Player::twins_duplicate_familiars The Twins: param copies of a random owned familiar item for the room, else Brother Bobby/Sister Maggy (called from 007a6c50 with RandomInt(mult+1)); not HistoryHUD::RecomputeAll (trinkets-cards)
|
|
007abf80 Entity_Player::active_used_post after UseActiveItem: Book of Virtues, M trinket active reroll (quality weights 0xb6bc60), Butter!/drop (trinkets-cards)
|
|
007a6c50 Entity_Player::room_enter per-player new room setup: The Twins roll, enter position, greed wave clamp (trinkets-cards)
|
|
007300d0 Item::IsAvailable ItemConfig item `this`; flags 1 tag/mode filters, 2 achievement unlocked, 4 character filters (Tainted Lost offensive/quality), 8 mod callbacks (characters-8)
|
|
00793970 Entity_Player::trigger_collectible_effect_removed switch on the temporary effect's item id; 0x2c1 Dark Arts sets field 0x2004 (end blast pending) (characters-8)
|
|
# room features pass (rooms_pending, 2026-10-24): notes/systems/room_features.md
|
|
0074eaf0 Level::raise_mineshaft_rail rail plate (PressurePlate::Reward variant 3): raises the mineshaft entrance's next button rail, HasAbandonedMineshaft only (room-features)
|
|
009833c0 GridEntity_PressurePlate::update_press player within 30 presses it (Switched, state 3) then Reward; trap plate sets room+0x11ec = 10 (room-features)
|
|
00823080 Room::TriggerOutput REPENTOGON Room.zhl TriggerOutput(group): output cells' grids react (FUN_00823150), group's 1000.120 Spawners release, callbacks (room-features)
|
|
00822d20 Room::add_trigger_output_cell (group, x, y): bounds-checked GetGridIndexByTile then add_trigger_output_index; SpawnEntry 969 calls it for the 4 sides (room-features)
|
|
00822cf0 Room::add_trigger_output_index group < 10: insert the grid index in the output set (room+0x7328) (room-features)
|
|
00822d60 Room::hold_trigger_output_entities after spawning: each entity on an output cell becomes a Spawner 1000.120 of its group (room-features)
|
|
00822fd0 Room::hold_entity_in_spawner Spawner 1000.120 at the entity, 0x420/0x424 its variant/subtype, 0x450 the group; the entity removed (room-features)
|
|
00823150 GridEntity::trigger_output TNT explodes, plate Switched, event rock breaks, event pit fills, teleporter toggles (room-features)
|
|
00718ac0 GridEntity_Poop::get_giga_part (variant 7-10, create): the giga poop part of that variant by tile table 0xb690f0 (room-features)
|
|
007178c0 GridEntity_Poop::spawn_drops the poop drop table by variant (0/2/3/6 roll), not MenuManager::Render (room-features)
|
|
00716760 GridEntity_Poop::spawn_hit_gibs poop gib particles 1000.58 by variant on a damage stage (room-features)
|
|
00716b10 GridEntity_Poop::destroy_effects break sound 0xed (giga: half pitch), 1000.43 splat, tinted by variant (room-features)
|
|
0056cd60 NpcAI::ENTITY_MOTHER_2 912.10 by the 912 variant table at 006c4964 (boss_approx_3)
|
|
00565e00 NpcAI::ENTITY_MOTHER_worm 912.30 by the 912 variant table (boss_approx_3)
|
|
00566810 NpcAI::ENTITY_MOTHER_ball 912.100 by the 912 variant table (boss_approx_3)
|
|
004bc460 NpcHelper::hornfel_room_controller effect 1000.152 update (Entity_Effect::Update case 005da269): passing carts (boss_approx_3)
|
|
004bb350 NpcHelper::hornfel_free_door a random 967 rail door free of carts (boss_approx_3)
|
|
#
|
|
# No standalone AI exists for these types: their dispatcher case is inline code (Entity_NPC_UpdateAI_dispatch 006c2990)
|
|
# 93 ENTITY_MASK case 006c2d98: finds a Heart (type 92) in the room and parents itself to it
|
|
# 79 ENTITY_GEMINI case 006c2a45: builds ProjectileParams and fires
|
|
00866960 LuaEngine::RegisterAPI registers the Lua API (LUA_REG in build.sh; references "UseActiveItem" etc.)
|
|
00a08700 Weapon_MonstrosLung::FireBurst fires N burst tears around a velocity (items sweep 12)
|
|
#
|
|
# Tier 3: the 575 largest unnamed functions (1500+ bytes anywhere, or 600+ bytes called once from gameplay); 8 subagents
|
|
00794e50 Entity_Player::update_item_effects ? called each frame from 00782af0 (player update body) when !HasEntityFlags(0x4000); 117 HasCollectible/HasTrinket/CollectibleEffect checks: Book of Virtues, Candle, tech lasers via Entity_Laser::ShootAngle, Fart/ButterBean, spawns per item; strings Trapdoor, UseItem, black powder circle
|
|
00739370 Level::place_special_rooms ? this=Level (_stage/_stageType, _nbRooms, _lastBossRoomListIdx), args (LevelGenerator*,...): picks boss room (FUN_00739080 then LevelGenerator::GetNewEndRoom + FUN_00738ab0), then dead-end specials via RoomConfig::GetRandomRoom, HasMirrorDimension/Mineshaft/PhotoDoor; warn ROOM_DEFAULT/boss room strings
|
|
00990a40 FXLayers::LoadConfig this=FXLayers (stores stage/stageType at +0xc/+0x10), arg xml path: parses fxlayers.xml nodes stage/backdrop/fxLayers/layer/rayGroup/fxParams, "[warn] failed to load %s", loads gfx/Veins.anm2; caller 007f1380 passes "fxlayers.xml"
|
|
00791a40 Entity_Player::ControlActiveItem REPENTOGON sig shape (cmp _variant,1 early-out), arg slot int; action 9/10 (ITEM/PILLCARD) pressed/triggered, FlushQueueItem, UseActiveItem, AddWisp; called from player update 00782af0 with 0 and from 007a3d30 with slot
|
|
00971810 Entity_Laser::update_line_hits ? this=Entity_Laser, !_sampleLaser path: loops room entity list, CanDamageEntity, perpendicular distance to beam angle (+0x41c) vs entity size, FUN_0097e3c0(entity) records hit, tear-flag effects; called twice from 009737b0 (update helper)
|
|
009569f0 challenges_xml_load arg path (FileSystem::Open), bool; parses challenges.xml root challenges/challenge/version attrs (startingitems, playertype, endstage, megasatan...), fills ChallengeParams array stride 0xa4 at +0x2a664; callers load items.xml/costumes2.xml (mod content loaders)
|
|
00ad4dc0 jpeg_idct_7x7 libjpeg jidctint.c: (cinfo, compptr, short* coef_block, output_buf, output_col), constants 0x28c6=FIX_1_274162392 0x1c37=FIX_0_881747734 0x13a3=FIX_0_613604268 0xa12=FIX_0_314692123 0x2c1f=FIX_1_378756276 0x1def=FIX_0_935414347 0x573=FIX_0_170262339 0x2d41=FIX_1_414213562, quant table at compptr+0x54
|
|
008fb120 ModManager::UpdateWorkshopMods REPENTOGON name; SteamInternal_ContextInit UGC calls, "Updating mod %s", /metadata.xml, /unfinished.it, gfx/ui/loading.anm2 spinner, ModManager::Reset
|
|
005d2a70 Entity_Effect::update_mr_me ? this=Entity_Effect: __RTDynamicCast(_extraData +0x4b4 -> MrMeData) else return; anims Float/Carry/HideItem/ShopIdle/Broken, follows parent player _markedTarget/_aimDirection, TryOpenChest, GridEntity_Door::TryUnlock/Open, AnimateCollectible, SpawnEx: Mr. ME ghost effect update
|
|
00649290 Entity_Familiar::apply_tear_flag_effects ? this=Entity_Familiar (AbyssLocustData extra data), args (?, BitSet128* tearFlags, Entity* target); called from Entity_Familiar::HandleCollision right after Entity_Tear::ApplyTearFlagEffects; per-flag contact effects: spawn tears, Fart/ButterBeanFart, DevolveEnemy, SpawnMawOfVoid, BombExplosionEffects, HitList, tears_brokenbone.png
|
|
0083d8c0 item_pool_icons_render ? args (Vector* pos, Color*), this has ItemConfig_Item* at +4: ItemPool::GetItemPoolsForCollectible then renders IconShop/IconTreasureRoom/IconDevilRoom/... anims (ItemPoolChests), greed-mode pool filter; called from 0083eae0
|
|
00851b20 info_display_xml_parse_trinkets ? called from info_display.xml loader 0084eba0 with first_node("trinkets"); reads id/tag/text/info/achievement/notplayer/nottrinket attrs
|
|
00853180 info_display_xml_parse_pills ? same loader, called with first_node("pills"); same attribute set, this+0x10 table
|
|
00982100 Menu_Game::PreRenderContinueImg REPENTOGON name; called from Menu_Game::Update body 00981140 (MenuManager update dispatch case 3) before "Appear"; draws Character/Stage anims and %02d:%02d:%02d run time into a RenderTarget, ModManager::RenderCustomCharacterPortraits
|
|
009d9c60 Menu_Save::Update MenuManager update dispatch 009897d0 case 2 (save select); File1Select/DeleteConfirmation anims, GenericPrompt::Update, PersistentGameData Load/Save/Clear, GameState::Delete, %s/save_backups/
|
|
008f19f0 Menu_SpecialSeeds::Reset ? this=Menu_SpecialSeeds: zeroes +0xc/+0x10, loads seedmenu.xml layout entries (vector +0x160 stride 0x28, nodes seedmenu/entryDialog/spacer, attrs name/unlock/enable/confirm/reset); called by Menu_SpecialSeeds::Update 008f01b0 and by MenuManager menu-stack setup 0098aa30 when state==6
|
|
008d9340 Menu_KeyConfig::Render ? renders #INPUT_WALK_*/#INPUT_SHOOT_*/#INPUT_BOMB... via string_table_translate + Font::DrawString, casts InputDeviceGamepad, "ActionId is out of range"; called in the menu render list 0098a040 right after the controller-select render
|
|
0068c2e0 Console::Render this in ESI; Manager+0x2a39c console state 0..2 selects font size 15/12/8 and history offset; Console::RenderHistory, KAGE_ColorShader, "Shader stack empty"; called last in Game::Render. REPENTOGON sig prologue differs (push ebx align), so not matched
|
|
00937420 Backdrop::pre_render_walls REPENTOGON name; this=Backdrop: configurations[backdropId] (+0x154 stride 0x13c) .walls (+0x64) ==0 early-out, RenderTarget::Clear, per-backdrop switch (0x14 greed), Room::GetRoomShape; called by Backdrop::load_details; sig differs only by prologue/frame size
|
|
00a890e0 tdefl_compress_normal miniz.cpp asserts "d->m_lookahead_size >= len_to_move", "max_match_len <= TDEFL_MAX_MATCH_LEN" (tdefl_find_match inlined), "(match_len >= TDEFL_MIN_MATCH_LEN)..." (tdefl_record_match inlined); caller 00a89de0 = tdefl_compress
|
|
00427870 holiday_get_current ? builds tm for now, Nov 1 of year + weekday table (Thanksgiving = 4th Thursday), Meeus/Gauss Easter date ("Cannot calculate Easter date for year %d" if year>=5000); returns holiday id; caller 00426a50 (daily/leaderboard date code)
|
|
0062bb70 Entity_Familiar::room_enter ? this=Entity_Familiar: switch on _variant sets +0xd4c cooldown/state, FloatDown anim, Mantle overlay, wisp config, AddToOrbit/GetOrbitPosition, Red Key wisp MakeRedRoomDoor; called from room-enter entity loop 009bba30 for type 3, NPCs go to 006d6d80
|
|
0044a040 NpcAI::ENTITY_BEAST_pestilence_fly Entity_NPC_UpdateAI_dispatch type 951 (Beast) variant switch case 0x15 = 21 Ultra Pestilence Fly (20=Pestilence 004477b0 HorseSpit/MaggotAttack, 22=Maggot 0044b6f0 Maggot/MaggotBack); +0xb74==1: removed when outside room, slows and takes 10 dmg every 8 frames below the room bottom (lava), AddBurn
|
|
00587480 NpcHelper::scourge_chain_shoot called from Scourge main AI 00587aa0; walks parent chain of 909.10 (Scourge chain segments) to the end, direction from last segment, Entity_NPC::GetPlayerTarget, FireProjectiles + SoundEffects::Play
|
|
007c8240 Entity_Player::dash_impact ? called from HandleCollision after velocity=dir*speed and +0x1e94=-1, from player update 00782af0 and item effects 00794e50; sets +0x1e98=1, +0x13bc=max(.,30), spawns ring of 8 effects 1000.147 radius 40, QueryRadius enemies: AddKnockback/AddBurn, Projectile Reflect/Deflect (Mars-style dash)
|
|
006ed690 Entity_Pickup::update_magnet_attraction Entity_Pickup::Update helper: early-out unless FirstCollectibleOwner(0x35 Magneto) or AnyoneHasTrinket(0x44 Super Magnet / 6 Broken Magnet); GetTrinketMultiplier scaling, pulls pickup toward player, chest/variant checks
|
|
0091dc10 online_chat_update ? this=chat state (vector of messages at +0, countdown +0x14): handles "/mute "/"/unmute " commands (mute_list.txt), "[Frame %d] Broadcasting chat message", %llu steam id; called from online update 008e8240 and delayed-start 0090b150
|
|
0091ee90 online_chat_text_input ? only caller online_chat_update 0091dc10; polls GetKeyState(VK_CAPITAL) and key codes 0x154/0x155/0x158 via input vftable+0x74, edits the chat buffer (memcpy), FUN_0091cf80 append
|
|
009c4a50 online_chat_window_update ? state machine at +0 with Appear/Disappear anims, key polling, shares helpers 008e24c0/008fd7a0 with online_chat_update; called from online update 008e8240 and pause menu 009b5d20
|
|
008db070 Menu_OnlineLobby::update_list_cursor ? called from Menu_OnlineLobby::Update body 008dce10 ("Unhandled scope type in Menu Lobby List") when +0x500 set; "Cursor" layer, AnimationState::Update, SoundEffects::Play
|
|
008deac0 Menu_OnlineLobby::render_lobby_list ? "LobbyList" anm, "#Online/NO_FRIEND_LOBBIES", "%d / %d", "Loading", Font::DrawStringScaled; called from lobby menu render 008ddae0
|
|
0090bbf0 online_lobby_join ? "##GAME###Online/JOINING_LOBBY", ONLINE_CHALLENGE_BLOCKED, "Unknown or unsupported service provider type", Menu_Save::select_save_slot, PersistentGameData::Unlocked; callers Level::InitializeGenesisRoom(!), 008e2530, 008e5260, 008e64f0, 0090bf10
|
|
008ca600 online_stats_finalize ? "Finalized stats for user %llu, %s", "Duplicate UserID in player info!", "Player %d"; callers Game::End and 004291c0
|
|
008cd7b0 Menu_Challenge::render_seed_text ? called from Menu_Challenge::Render body 008cc1a0 (ChallengeBox/BackButton); GetNullFrame "SeedPos" then Font::DrawStringScaled
|
|
008d7cb0 menu_item_description_build ? args (type,id) pair (0=collectible 35/262, 1=trinket 48 special cases), scans Manager+0x2a448 entry list, string_table_translate, strncpy 0x78; called from 008d47c0 (DescriptionArrowUp/Down item details panel)
|
|
00a1d8f0 render_quad_draw_color_shader ? arg float* color matrix (returns 0 when avg alpha of [0xb],[0x10],[0x15],[0x1a] is 0), builds 4 vertices and draws with KAGE_ColorShader; called right after render_quad_set_uniform_color in 008128f0, also 0042dbb0, 0094ef10
|
|
0083ac20 HUD::render_extra_hud ? called from HUD::Render under Minimap::GetDisplayedSize with bool mini (icon size 32 or 16, 2 or 1 columns); iterates two vectors (+8/+0xc, +0x1c/+0x20, stride 0x28) of collected item ids, special-cases 0x279 (Dogma), render_quad_set_rect + render_color_shader_pass
|
|
009704a0 Entity_Laser::update_first_frame ? called from Entity_Laser::Update in the two first-frame paths (then +0x45c=0); variant 4 (Tech X ring) sets end point 300 units, else direction from angle +0x41c, FUN_0097f820, GetGridCollision, update_laser, UpdateHits, PlayInitSound, ClearLaserSamples
|
|
0099e360 HomingLaser::CalculateSamples REPENTOGON name HomingLaser::CalculateSamples(float<xmm1>): this=HomingLaser (_bezier vector at 0x48/0x4c stride 0x18, _sampleNum +0x18, +0x44), "Bezier Path Size is less than 2!", in_XMM1 arg; called from Entity_Laser::update_laser and UpdateHits
|
|
009a12b0 HomingLaser::find_targets ? this=HomingLaser (_samples +0x1c/+0x20), args (pos, dir, ..., flag): EntityList::QuerySublist, Entity::IsDescendantOf/GetPlayerAncestor, bezier_closest_point 0099c340; called from Entity_Laser::update_laser
|
|
0099c430 bezier_closest_point pure math: samples a cubic Bezier (p0=EDX, p1=EDX+4, p2=param_1, p3=param_1+2) in 5 steps and tracks the closest point/distance to ECX point; callers Entity_Knife::Update, 0099c790, HomingLaser 009a0850
|
|
00757ac0 Entity_Player::release_weapons_and_effects ? destroys 5 Weapon objects at +0x13dc..+0x13ec (vtable+0x14 then deleting dtor; GetWeapon slots 1-5) and nulls entity refs +0x1420..+0x142c (Remove via vtable+0x28 when arg true); callers PlayerManager::RemoveCoPlayer(1), greed reset 007db3b0, 009bee80, dtor thunk 00757a40
|
|
007db3b0 Game::reset_players_for_greed ? called from Level::generate_greed; for each familiar (type 3) owned by player: Remove; Entity_Player::release_weapons_and_effects, SetControllerIndex, ResetPlayer
|
|
00820fd0 Room::render_water ? this=Room (ESI=ECX): early-out unless _waterAmount (+0x7240)>0 and option Manager+0x2a3c9; renders screen-size pass with _floorColor +0x72a4, backdrop 0x2d special, KAGE_ColorTextureShader, RenderTarget push/pop; last call of 0080ea80 (Room render stage)
|
|
00738ab0 Level::place_room own log strings "Level::place_room data is NULL!", "[Level] place_room: invalid room pos/size", "Could not place room, limit of %d exceeded!"; args (RoomConfig_Room*, LevelGenerator_Room*, seed, ...); LevelGenerator::get_room_placement_offsets, GetRoomDescriptorsOffsetsArrayForDimension; 5 callers in level generation
|
|
004cde30 Entity_NPC::update_physics ? called from Entity_NPC::Update: copies +0x3f0..+0x3f8 from child (+0x3c0) else apply_velocity 004ce120(0) + 004ce6d0, then Entity::Update and syncs child position/velocity
|
|
004ce120 Entity_NPC::apply_velocity ? arg bool half-step (also called from Entity_NPC::Interpolate with 1): velocity*friction (+0x36c/+0x368), speed clamp 40 (variant 10 state 4 bonus), door TryBlowOpen/Open when charging through, Game room bounds
|
|
00576450 NpcHelper::raglich_slam_spawn_grid ? called from NpcAI::ENTITY_RAGLICH: when arm state ==1 sets friction 0.5, velocity to target, ShakeScreen(14), Game::BombDamage, SpawnParticles, new GridEntity + GridEntity::Init at landing index ("SpawnGridEntity: Grid index invalid")
|
|
00565680 Entity_NPC::render_v1_layer_frames ? called once from Entity_NPC::Render: picks layer frames from V1 (+0xbb0) range 0..4 vs >4, AnimationState::AdvanceLayerPosition, "LayerId out of bounds"
|
|
009dfc90 glitched_collectible_render_gfx ? called from ItemPool::CreateGlitchedCollectible: Manager::LoadImage "gfx/promo/gfuel/ui/death items.png" (!), SetRenderTarget, shader_cache_find, render_quad_set_rect, pop_render_target: composes the glitched item sprite
|
|
00633500 Entity_Familiar::update_angry_fly own log "[err] Angry Fly - Got a null target!"; called from Entity_Familiar::Update; QuerySublist for IsVulnerableEnemy target, orbit math (sin/cos/fmodf)
|
|
007f2390 Room::update_bounds ? this=Room: if _descriptor->_data has [0]==0x23 && [2]==0x10 use fixed bounds (-49.2,72.3)-(689.2,487.7) else from _gridWidth/_gridHeight (+0xc/+0x10) into _topLeftPos/_bottomRightPos (+0x14..+0x20); arg bool; called from NpcAI::ENTITY_MOTHER (bottom wall change)
|
|
008020d0 Room::update_deaths_list Room::Update helper: FirstCollectibleOwner(0x212 Deaths List), +0x1bb8/+0x1bbc state, picks next vulnerable enemy (not 802 Blood Puppy, follows parent chain, DoesEntityShareStatus) and marks it with effect 1000.109, spawns reward pickup 5.x at FindFreePickupSpawnPosition
|
|
006f2a10 EntityFactory::constructor Game::constructor stores its result in Game+0x26580 _entityFactory; eh_vector_constructor_iterator over pools: 0x400 Entity_Effect (0x4c0), 0x40 Entity_Familiar (0xf48), 0x40 of 0x9d8 (006a1e80 ctor), 0x200 Entity_Projectile (0x478), ... with count ints after each pool
|
|
004b7ee0 NpcHelper::hornfel_pick_spawn ? called from NpcHelper::hornfel_attack: builds (id,weight) outcome list (id 8 gets +3), WeightedOutcomePicker::PickOutcome, Game::Spawn the picked entity
|
|
00572cc0 NpcHelper::clutch_spawn_fire ? called from NpcAI::ENTITY_CLUTCH with the target NPC: sets its flag |0x10, Game::Spawn(33,13 ...) fireplace variant 13 at target pos, loads "gfx/009.002_Fire Projectile.anm2", plays "Flickering", EntityRef parent
|
|
00650220 Entity_Familiar::predict_player_movement ? called from Entity_Familiar::FollowParent: player (+0x410) movement joystick (normalized), input_is_action_pressed(0xb), NPCAI_Pathfinder::SimulatePlayerMovement, Room::GetClampedPositionImpl: predicted follow target
|
|
00708630 Game::update_trapdoor_loop_sfx ? Game::Update helper: skips states 2/3 and stages 9/0xd; in boss room (type 5) with room data [4]==0x58 or 0x37 finds GRID_TRAPDOOR (17) position, SoundEffects::Play looping sound, SFXManager::AdjustVolume(0x3f0, by distance), Stop/IsPlaying; Level::GetRoomByIdx
|
|
009e3560 room_grid_flood_fill ? this holds Room* (uses _gridWidth/_gridHeight): BitSet of 448 grid bits (memset 0x38) seeded with param_1 index, allocates a std::list, iterative fill; returns bool; callers Entity_NPC::HandleCollision and 004b70c0
|
|
0060b0d0 Entity_Effect::update_variant178_shooter ? Entity_Effect variant switch case 0xb2 (178) calls it with 1: effect follows parent (+0x3bc), approach_angle/fmodf toward parent angle (+0x474) into +0xec, anims Up/Down/Left/Right/Idle/Shoot/ShootBegin/ShootLoop/ShootEnd (shared with Mother 2 / Mothers Shadow); Remove when parentless
|
|
008f74c0 Game::render_mod_shaders ? called near the end of Game::Render (after 009c3890(2)): builds LuaRef (00865490) from mod shader entries, LuaRef::push params (MC_GET_SHADER_PARAMS style), render target push/pop, render_quad_set_uniform_color, memcpy uniforms
|
|
008ce430 Menu_CustomChallenge::Render ? placed right after Menu_CustomChallenge::Update (008ce080) and in the menu render list 0098a040; REPENTOGON sig prologue "558bec6aff68..64a1..50 81ecb4000000" matches ours except frame 0xc4; renders "%d.%s" entries, random torn "Piece%d" layers, "Bottom", "Cursor"
|
|
0072e640 playerforms_xml_load parses playerforms.xml ("Could not find root node playerforms", "Player Form ID %d out of range", attrs cache/costume) via FileSystem::Open; called from content loader 00952df0
|
|
009d16ee Entity_Player::restore_save_state_part2 Ghidra split chunk (odd address) called only from 009d05d0 (player restore from save state: "Invalid player type", "Invalid voided active item"); this chunk restores costumes/familiars/history/pocket items/temporary effects with "[warn] Invalid ... Save file %s might be corrupt" logs; EntitySaveState::copy
|
|
009b5320 PauseScreen::constructor Game::constructor step 0x1e (Game+0x2363c _pauseScreen); constructs ANM2s at +0x2c mainsprite, +0x140 minisprite, +0x254 statssprite, +0x368 mystuffminispritebase, +0x47c, zeroes +0x590..+0x5ac: matches REPENTOGON PauseScreen layout
|
|
009948f0 FXLayers::Render this=FXLayers: +0x8 _loaded gate, _fxLayers vector +0x18/+0x1c (stride 0x4c, [0x2c]==1 -> BlendMode::SetMode + FUN_00994120 draw), _poopFxCountdown +0x34 fade (150 in / 30 out), poop fx array +0x44 count +0x50 with flip bytes, KAGE_ColorTextureShader, Seeds forced/prevented curses; Beast room (backdrop 0x39, entity 1000.166.951) special; called from Room::Render
|
|
0084ad40 PlayerHUD::render_deathmatch_health_bar ? called from hearts render 00843df0 only when Game current room idx (+0x18304) == -0x13 ROOM_DEATHMATCH_IDX; this=PlayerHUD (player at [0], skip if player+0x20a9), Manager::LoadImage gfx/ui/ui_isaachealthbar.png, sums red/soul/black/golden/bone/rotten hearts (0x1340,0x134c,0x1350,0x194c,0x1d88,0x1da4) capped 0x50
|
|
00848d20 PlayerHUD::render_tainted_isaac_items ? called from HUD sub-render 009a6fe0 only when player type 0x15 (Tainted Isaac); 8 slots or 12 with HasCollectible(0x26b Birthright), inventory vector +0x6a0 stride 0xc, 12px grid, AnimationLayer::RenderFrame item icons
|
|
00ad9fc0 jpeg_idct_16x16 libjpeg jidctint.c (cinfo, compptr, coef_block, output_buf, output_col): 8-column pass into 8x16 workspace, constants 0x29cf FIX_1_306562965, 0x1151 FIX_0_541196100, 0x8d4 FIX_0_275899379, 0x2c63 FIX_1_387039845, 0x1ccd FIX_0_899976223, 0x5203 FIX_2_562915447, 0x133e FIX_0_601344887, 0x1050 FIX_0_509795579
|
|
00aa38a0 inverse_mdct stb_vorbis (KAGE ogg.cpp): (vorb* f, int blocktype) with buffer in ECX, n in EDX; n>>1,>>2,>>3 strides, f->A[blocktype] twiddles at f+0x43c, temp_alloc via f+0x60/0x68/0x6c; caller 00aa44d0 = vorbis_decode_packet_rest
|
|
00a97730 png_init_read_transformations ? libpng pngrtran.c: png_ptr->transformations (+0x68) & PNG_EXPAND(0x100), color_type (+0x11e)==PALETTE(3) copies palette[trans] into trans_color (+0x132..0x136), gamma tables via pow (FUN_00a9ae80); called from 00ab33f0 (png_read_update_info/start_read_image, "Out of Memory")
|
|
006b9c10 anm2_resolve_spritesheet_path ? args (std::string* a, std::string* b, bool* outFound) + EDX base path: when both empty clears the flag, else joins strings, ModManager::TryRedirectPath; result fed to Sprite::ReplaceSpritesheet in Entity_NPC::load_graphics, also Menu_Character::ChangeCharacterPage and Menu_Bestiary::LoadPreview
|
|
0078b640 Entity_Player::Render virtual: Entity::Render then RenderBody/RenderHead/RenderTop/RenderGlow, IsHeadless/IsHologram/IsInvisible/IsFullSpriteRendering, _Overlay layers, IsIdxLocalPlayer
|
|
009d45c0 GameState::write_player ? GameState::write calls it per player (count game+0x19d78) and for the 4 0x5dc-byte records at game+0x1cc5c; writes fields via stream vfn 0x1c plus the checksum accumulator FUN_00683410; also from write_rerun
|
|
006998d0 EntityConfig::load_players_xml players.xml: "Could not find root node players", attributes name/skinColor/costume/pocketActive/birthright/bSkinParent; callers Game::ReloadStagesXmlOnLuaReset and the resource loaders
|
|
0072cff0 ItemConfig::load_pocketitems_xml pocketitems.xml: root pocketitems, nodes tarot/tarot_reverse/pilleffect, "Card ID %d out of range", mimiccharge/announcer attributes
|
|
00727430 ItemConfig::load_costumes_xml costumes2.xml: "Could not find root node costumes", anm2root/fxroot/priority/hasOverlay/isFlying/forceBodyColor/skinColor attributes
|
|
008471c0 PlayerHUD::RenderPocketItems this[0]=player this[1]=HUD; PocketItems/CardFronts/HUDSmall anims, #QUESTION_MARKS_NAME via PocketItemConfig::GetName and ItemPool::GetPillEffect, string_scramble_seeded; REPENTOGON asm RenderPocketItemPillIdentifiedCheck lives here
|
|
00849510 PlayerHUD::RenderCraftingTable REPENTOGON PlayerHUD::RenderCraftingTable(Vector* pos, float scale<xmm2>): "Result" anim, Game._challenge==43 Cantripped shows min(GetCollectibleNum(251 Starter Deck)+3,20) slots; called once from RenderPocketItems
|
|
0069c420 load_bossportraits_xml ? bossportraits.xml: root bosses, attributes portrait/nameimage/pivotY/stage/alt/achievement; called from the resource loader 00952df0 (same loader as players.xml); fills EntityConfig._bosses-like vector
|
|
009abe70 load_giantbook_xml ? giantbook.xml: root giantbook, anm2root attribute, entry/layer nodes; path redirected by ModManager::TryRedirectPath in Game::LoadConfigXmls; this[0x467] = entry count
|
|
0072a1b0 ItemConfig::load_wisps_xml wisps.xml: "Could not find root node wisps", color attribute, "Collectible ID out of bounds"; same loader group as costumes2/pocketitems
|
|
00471cc0 NpcAI::ENTITY_GEMINI_baby dispatcher case after MOMS_HEART (type 79 Gemini) for variant 10..19 (Contusion/Suture/Blighted Ovum babies): Shoot/Walk01, ParentNPC, FireProjectiles, Entity_Laser::ShootAngle; variant<10 goes to FUN_00471050
|
|
00567d50 NpcAI::ENTITY_MOTHER_ball_burst the 912.100 ball pops: called by ENTITY_MOTHER and the ball AI when npc+0xbec is 912.100; sound 0x1c, spawn_blood_explosion, ShakeScreen(10), spawn_gibs, spawn_small_maggot
|
|
00716db0 spawn_poop_rewards (seed, x, variant<EDX>, ...): Dirty Mind 576 owner spawns dips (spawn_dip_at), trinkets 2/22/24 owners roll 5.10 heart / 5.20 coin / 5.350 trinket; called by ENTITY_POOP, Entity::DestroyRockGridAt, GridEntity_Poop::Hurt
|
|
009bac40 PlayerManager::handle_coop_join ? this=PlayerManager (players vector at +0/+4): "Joining as possessor", SpawnCoPlayer2/RemoveCoPlayer/CoopBabiesOnly, HUD::AssignPlayerHUDs, SetControllerIndex, InitPostLevelInitStats; from the per-frame manager update 006fa540
|
|
00a01020 Weapon_Brimstone::fire_hitscan ? called 5x from Weapon_Brimstone::Fire with a direction: Capsule::Collide sweep over EntityList::QueryRadius, GetTearHitParams(2,...), AddBrimstoneMark, AddKnockback, BombDamage; PlayerType 28 Tainted Azazel + Birthright 619 branch; returns hit flag. Caller NPCAI_Pathfinder::MoveRandomlyAxisAligned (00a02890, weapon code region) is misnamed
|
|
0096ae70 Entity_Knife::apply_hit_effects ? (pos, Entity target, targetPos, size, damage, 0, 0, isFlying) from Entity_Knife::HandleCollision after ApplyTearFlagEffects: Bone Club (GetBaseVariant==1) bomb tear flags -> BombTearflagEffects/BombDamage, gfx/tears_brokenbone.png shards, Game::Spawn
|
|
00436330 Entity_Familiar::WispInit REPENTOGON Entity_Familiar::WispInit: variant 206 WISP / 237 ITEM_WISP (Lemegeton 712 -> +0xf20), subtype switch applies Map/Compass/BlueMap effects, ItemConfig::get_wisp_config spritesheet + hsv_to_rgb color, UpdateFamiliarCounts; callers are the wisp spawners 0043d7f0/0043e990
|
|
0062aab0 Entity_Familiar::TriggerRoomClear REPENTOGON Entity_Familiar::TriggerRoomClear: called per familiar from Entity_Player::TriggerRoomClear (familiar+0x410 player == this); spawns blue spiders, cards via ItemPool::GetCardEx, wisps via GetRandomWisp+0043d7f0, FindFreePickupSpawnPosition
|
|
00a27038 StringTable::load_xml ? stringtable XML: nodes stringtable/languages/language/category/string with id/key/name attributes; no direct callers (REPENTOGON StringTable::Load(fileName) is the public entry)
|
|
00924440 OptionsConfig::Load REPENTOGON OptionsConfig::Load(path): reads options.ini keys (Fullscreen, MusicVolume, EnableMods, AcceptedPublicBeta_%s, OnlineInputDelay ...), calls OptionsConfig::Save; from 00952410
|
|
00a8e530 VideoClip_Theora::readTheoraVorbisHeaders theoraplayer VideoClip_Theora.cpp _readTheoraVorbisHeaders: "Error parsing Theora stream headers!", "Invalid theora stream!", "End of file found prematurely!"
|
|
00a7f340 glfw_choosePixelFormatWGL GLFW 3.4 wgl_context.c choosePixelFormatWGL: "WGL: Failed to retrieve pixel format attributes", "WGL: The driver does not appear to support OpenGL", "WGL: Failed to find a suitable pixel format"; calls _glfwInputError 00a69f60
|
|
00a69f60 _glfwInputError GLFW init.c _glfwInputError(code, format,...): builds "The GLFW library is not initialized" for 0x10001, "A platform-specific error occurred" ...; win32_thread.c path string nearby
|
|
007d35b0 Entity_Player::try_end_astral_projection ? bool; flag player+0x1519 (projecting) or manager float: RemoveCostume, poof 1000.16 + 1000.111 effects, Teleport back to the body entity (player+0x1eac ptr pos), try_trigger_astral_projection, "Death"/GetDeathAnimName extra anim; in take_damage_impl a true return negates the hit, also called at TriggerRoomClear start
|
|
009bee80 PlayerManager::replace_player ? (oldPlayer, newPlayer) this=PlayerManager players vector: swaps the entry, re-links _otherTwin 0x1e68/0x1e6c and 0x1d9c refs, GameStatePlayer::Init(+0x20ec), EntityList::AddEntity, EvaluateItems, InitPostLevelInitStats, HUD::AssignPlayerHUDs, RemoveStatusEffects; caller 007ac7e0 "Entity_Player::DischargeActiveItem" is a player-type change routine, misnamed
|
|
00694680 EntityConfig::parse_entity_tags ? entities2.xml tags attribute -> flag bits: static strings brimstone_soul/explosive_soul/homing_soul/ghost/spider/cansacrifice/nodelirium/noreroll, "invalid tag: %s"; called once from the entities2.xml loader 006950c0
|
|
00a73e00 netplay_lobby_host_handle_message ? virtual (no callers): dispatches consolidated lobby messages by 4cc "lhcj"/"lhnj"/"lhrj"/"lhum"/"lhwm", "This function should only be called on consolidated messages", RTTI casts to KAGE::Network message types
|
|
005ae840 NpcAI::ENTITY_WORMWOOD_segment_follow ? called once from ENTITY_WORMWOOD_main: segment follows the parent (npc+0x3bc) recorded path deque (+0xc04..+0xc24) using +0xbb0/+0xbb4 (V1) progress, sets velocity +0x360/+0x364
|
|
00402390 init_controller_button_glyph_tables ? 17KB of stack-built int tables copied into DAT_00c5a908 (58 ints) and DAT_00c5a9f0 (32 ints): (button index, 0xabab..0xabb6 PUA glyph codepoint) pairs per controller layout; no callees, no other references to the tables
|
|
009c8d20 GameState::write_room (GameStateRoomConfig* at +0x17c68, RoomDescriptor* at +0x1a0, stream): GameState::write loops _roomCount times with stride 0x2e0; writes shorts via stream vfn 0x1c plus checksum FUN_00683410
|
|
009d71b0 GameState::read_record ? no callers; stream vfn 0x14 (read) into this[0..0x10] plus vector loops (this[0xb]) via FUN_0069ee50, checksum FUN_00683410; counterpart of a GameState::write_* (FUN_009d8660 shared with 009e54d0/009e5710/009e5a30)
|
|
00422830 BossPool::GetBossId REPENTOGON BossPool::GetBossId(leveltype, levelvariant, rng): this indexed by RoomConfig::GetStageID*0x3c (BossPool_Pool[37]), PersistentGameData::Unlocked / Game::GetStateFlag filters, "Failed to pick a boss room variant, defaulting to Monstro"; callers Level::TryInitializeExtraBossRoom, 0074fbe0
|
|
007efa50 Room::on_leave ? Level::ChangeRoom and 006f9000 call it on the current Room: ShopRestockPartial when +0x706c timer, pending SpawnClearAward (_roomClearDelay 1..8 and descriptor flag), IsGreedMode, Entity_Pickup::CanFlip + EntitySaveState::copy of pickups
|
|
0067d560 Entity_Tear::try_make_bridges ? bool; from Entity_Tear::Update for tears without the masked flags (or 1-in-N random): walks the tear path vector (+0x178/+0x17c, 8-byte entries) against room grid entries, Room::TryMakeBridge, set<int> of touched indices
|
|
00666d40 Entity_Tear::play_fire_sound Entity_Tear::Update when +0x46a pending flag: skips variants 9/40/46, variant 50 -> sound 0xed, else 0x99 SOUND_TEARS_FIRE (pitch 1.2 for variants 13/23 with seed effect 0x4f)
|
|
0062b750 Entity_Familiar::trigger_player_damage ? (damageFlags, amount, source) per owned familiar from Entity_Player::take_damage_impl: variant checks, "Crack" anim + Game::SpawnEx (Mystery Egg style), sound, FindFreePickupSpawnPosition, +0xd80/+0xd88 counters, flags & 0x10200020 excluded
|
|
0061bd50 Entity_Familiar::ai_daddy_longlegs Entity_Familiar::Update case variant 16: StompArm/StompLeg anims (shared only with NpcAI::ENTITY_DADDYLONGLEGS), PickEnemyTarget, ANM2::GetFrame
|
|
00640ca0 Entity_Familiar::ai_boiled_baby ? Entity_Familiar::Update case variant 200: "Shoot" event, PickEnemyTarget, Entity_Familiar::FireProjectile toward target, Room::CheckLine, FindFreePickupSpawnPosition; reads owner +0x150c/+0x1510 list
|
|
00632d90 Entity_Familiar::ai_variant_111 ? Entity_Familiar::Update case variant 111: wanders to Room::GetRandomPosition, vector<Vector> path, GridEntity::IsBreakableRock, LerpAngleDeg, Level::GetRoomByIdx on grid +0x394, sounds
|
|
00615d80 Entity_Familiar::ai_blue_fly Entity_Familiar::Update case variant 43 BLUE_FLY: GetOrbitPosition/RecalculateOrbitOffset/get_orbit_parent orbit then PickEnemyTarget attack
|
|
0061c150 Entity_Familiar::ai_orbital_variant_50 ? Entity_Familiar::Update case variant 50: GetOrbitPosition/RecalculateOrbitOffset orbit, PickEnemyTarget, FUN_00652210 (set insert)
|
|
0049cd90 NpcAI::ENTITY_CHIMERA_head_update ? once from ENTITY_CHIMERA_body for variant 0: HeadIdle/HeadCharge/HeadAttack overlay anims, "Shoot" event spawns small maggots / Game::Spawn toward GetPlayerTarget, Entity_Effect::FollowParent
|
|
004a6240 NpcHelper::delirium_remove_minions (type<ECX>, variant<EDX>, self, other): Entity::Remove (vfn 0x28) every room NPC that is not self/alive-check and matches type.variant or other type.variant; type 0x4f (Fistula) also removes the QuerySublist entries; from ENTITY_DELIRIUM morph
|
|
0074beb0 Level::init_rotgut_dungeon_room ? this=Level (stage type +4 is 4/5, RNG +0x182d4..): RoomConfig::GetRandomRoom into the RoomDescriptor at level+0x175d4 (+0x5d75*4) guarded by +0x1830c<3, Seeds::Init3; called once from NpcAI::ENTITY_ROTGUT_face (ROOM_ROTGUT_DUNGEON)
|
|
009997c0 DeathScreen::Show ? called once from Game::End: this[0]=2 state, +0x11c=1, loads gfx/ui/Death Screen.anm2 and gfx/ui/DeedsDeathScreen.anm2, "Diary" anim, logs "Game Over. Killed by (%d.%d) spawned by (%d.%d) damage flags (%d)"
|
|
007f96f0 get_angel_room_chance ? FirstCollectibleOwner of 238/239 Key Pieces, 584 Book of Virtues, 601, 499 Eucharist and game flag 0x20 -> angel room chance; callers Level::InitializeDevilAngelRoom, StatHUD::RecomputeStats (Found HUD chance), 0084cc40
|
|
007c3a60 Entity_Player::preload_item_sounds once from Entity_Player::room_enter: HasCollectible/HasTrinket chains then "Preload sound %d." per owned item
|
|
009ecdd0 Menu_Stats::Render right after Menu_Stats::Update 009ecbc0, rendered in the menu manager render sequence 0098a040; "%d/%d" counters via Font::DrawString, render_color_shader_pass
|
|
00736c30 ItemPool::on_pill_used ? this=ItemPool: clears byte this[0x7e0 + (pillColor & 0x7ff)], bitset over collectible count (manager+0x2a434 vector) with FUN_0041d1b0/FUN_00423290 RNG, vector<int> result; called once from Entity_Player::UsePill with (pillColor, seed, rng*)
|
|
009321c0 Backdrop::constructor ? once from Room::constructor on room+0x1bc8: zeroes smart pointers +0x10..+0x28, ANM2::constructor, creates "Floor Surface", "Floor Surface 2", "Wall Surface", "Temp Backdrop Surface" render buffers (REPENTOGON Backdrop fields floorBuffer/wallsBuffer/floorSurface2/tempBackdropSurface)
|
|
007d3e40 Entity_Player::fire_saturnus_tears once from Entity_Player::room_enter under HasCollectible(595 Saturnus): ring of Entity_Player::FireTear with SetTearFlags, sin/cos spread
|
|
008ca2c0 CompletionWidget::Load ? once from Game::LoadConfigXmls after ScoreSheet::LoadAnm2: this[0]=0, ANM2::Load(this+4, "gfx/ui/DeedsMenu.anm2"), "PlayerCharacter" anim; REPENTOGON CompletionWidget has Render/Update
|
|
00821950 Room::render_water_shader ? Room::Render else-branch: shader_cache_find + uniforms ColorMul/CurrentDir/PixelationAmount/TextureSize from room +0x1b30..+0x1b54 and rect +0x6ae0..+0x6aec, render_quad_set_rect
|
|
00678080 Entity_Tear::fire_split_projectiles ? Entity_Tear::Update when (flags & mask) nonzero: spawns child projectiles matching the owner weapon: FireTechLaser/FireTechXLaser/FireDelayedBrimstone/FireBomb or SpawnEx tears with SetTearFlags/ResetSpriteScale, sin/cos spread
|
|
008dce10 Menu_OnlineLobbyList::Update ? MenuManager::Update (009897d0) case 0x12: "Unhandled scope type (%d) in Menu Lobby List", KAGE::Network::Multiplayer::LobbyImplBase casts, FUN_008de3a0/008de690 list entries; its render is 008ddae0 (#LOADING, ArrowUp/Down)
|
|
008e8240 Menu_OnlineLobby::Update MenuManager::Update case 0x11: #Online/MATCH_ENDED, NO_CONNECTION_TO_HOST; render 008e8af0 (GAME_STARTING_COUNTDOWN, RUN_STARTING)
|
|
008ead10 Menu_OnlineLobby::update_controls ? once from Menu_OnlineLobby::Update: input callbacks via vftable 00c57b18 slot 0x74, CONFIRM_LEAVE_LOBBY prompt, "Attempting to create a message when there is no multiplayer service", toggles this+0x6b8/+0x6bc/+0x6c0 chat state
|
|
008e4b10 Menu_Online::Update MenuManager::Update case 0x13: Cursor, "Daily Run"/"Friend Match"/"Options" entries; render 008e4e30 (#Online/ONLINE_DAILY_DESCRIPTOR ...)
|
|
008e3830 Menu_Mods::Update MenuManager::Update case 0x10 (MainMenuType MODS): WidgetTab, "/disable.it"
|
|
008d6b30 Menu_Collection::render_item_pool_icons ? once from the collection detail renderer 008d5440 (CollectibleTitle/CollectibleDesc/CollectibleItemPools): ItemPool::GetItemPoolsForCollectible then IconShop/IconTreasureRoom/IconBoss/IconDevilRoom/IconAngelRoom/IconPlanetarium... ItemPoolChests anims
|
|
008e6a80 Menu_Online::render_descriptions ? in the menu render sequence between the online menus; string_table_translate(manager+0x4a920, key+"_DESC"), "??????" placeholder, DescriptionPos/TextStartPos null frames, Font::DrawStringScaled; this+0x109/+0x70 flags
|
|
0091d2b0 OnlineChat::render ? sprintf "%s:" name prefix lines, KAGE_ColorShader via FUN_00a140c0, Entity_Familiar::GetPlayerSlot for colors; caller 0091e650 used by the lobby render 008e8af0 and HUD 0090b900
|
|
00906260 SaveSlotManager::constructor ? constructs a ~0x1c90-byte object: PersistentGameData at +0x5c, ANM2s at +0x10b4/+0x18e4/+0x1a18, KColor; called once from the manager constructor 00950610 (writes manager+0x4b3bc..)
|
|
0091a450 load_persistent_game_data_buffer ? (buffer): temp PersistentGameData::constructor then parses the save buffer with FUN_0091b0f0/FUN_0091b960, "Attempting to retrieve read-only buffer in a writable mode", set<int> lookups; from 0090c560
|
|
007508c0 Level::generate_random_layout ? no callers; this=Level (RNG +0x182d4, start index +0x182d0 = y*13+x): RoomDescriptor::Init, GetRoomByStageTypeAndVariant(cfg,0,1,2) start room, loops FUN_0074fbe0 until a room is placed, random shape 1..11 pairs validated by FUN_009b0180, LevelGenerator::CreateRoom, then GetRandomRoom type 3 Error and 0x16 Black Market into the off-grid descriptors +0x16d44/+0x17024 (+0x5b51/+0x5c09 *4), Seeds::Init3
|
|
0074fbe0 Level::try_place_random_room ? bool; only caller 007508c0 loops it until true: picks shape/type (skips types 2/7/3/5), bitset<13> checks, BossPool::GetBossId for boss rooms, uses the mod manager room list (manager+0x2a410) size >= 0x70
|
|
004d64f0 NpcAI::ENTITY_MOMS_HEART_mausoleum_death ? once from ENTITY_MOMS_HEART when stage type 4/5 (Mausoleum/Gehenna), room idx -10 and not friendly: ShakeScreen(50), sound, writes a room descriptor entry (level +0x29fbc index * 0x184 + 0x2a13c), FUN_004d7530 + EntitySaveState::copy of room entities, Game::UpdateVisibility (opens the path to Corpse)
|
|
0071b410 GridEntity_Rock::SpawnDrops zhl SpawnDrops(pos<ecx>,type<edx>,variant,seed,unk,backdrop); "Unknown alt rock type"; called from GridEntity_Rock::Destroy and Entity::DestroyRockGridAt
|
|
00725570 ItemConfig::Load zhl Load(xmlpath, modentry); parses items.xml root "items", "ItemConfig: unknown item type"; this=ItemConfig vectors
|
|
00842230 PlayerHUD::Update zhl PlayerHUD::Update; loads gfx/ui/hud_*.png active item overrides, Costume pngs; called from HUD::PostUpdate
|
|
007cfba0 Game::render_debug_player_info debug text overlay from Game::Render: "Player items","Player effects","History","Hearts: %d(%d rotten)"
|
|
004ae4d0 NpcAI::ENTITY_DOGMA_angel dispatcher case type 950 variant 2; strs NukeStart/NukeLoop/RingLoop/SpreadAttack/Fizzle (Dogma phase-2 angel form)
|
|
005983f0 NpcAI::ENTITY_POLYCEPHALUS_the_pile called from NpcAI::ENTITY_POLYCEPHALUS when npc->_variant==1 (The Pile); strs GoUnder/ComeUp/DirtShrink/Summon
|
|
00709fb0 GridEntity::hurt_func zhl hurt_func(Entity*,DamageAmount<xmm2>,PlayerDamage,u64 DamageFlags,bool IgnoreGridCollisionClass); called per entity from GridEntity::hurt_surroundings; sacrifice-room spikes "#YOU_FEEL_BLESSED"/TeleportUp
|
|
00a99280 png_do_background libpng pngrtran.c: switch on row_info bit_depth, compares pixels to trans_color and replaces with background; caller 00a98430 is png_do_read_transformations ("png_do_dither returned rowbytes=0")
|
|
007d4390 Entity_Player::update_suplex strs LeapUp/LeapDown/SuperLeapUp/SuperLeapDown/HideItem; uses _suplexState (0x1f2c here, zhl 0x1f1c), ThrowHeldEntity, MakeShockwave, BombDamage, Book of Virtues (0x248) AddWisp; called from player update 0x782af0
|
|
005c9930 Entity_Player::trigger_book_of_belial_passive requires HasCollectible(0x3b BOOK_OF_BELIAL_PASSIVE, Judas birthright); switch on used active id adds bonus effects (Necronomicon via UseActiveItem(0x23), AddNullEffect, AddMidasFreeze); called from active_used_post right after TriggerBookOfVirtues
|
|
0092d140 SFXManager::load_xml parses sounds.xml ("sounds"/"sound"/"sample"/"weight"), "Sound Effect %d out of bounds! Update NUM_SOUND_EFFECTS", calls SoundEffect::Load; called from manager config loader 0x952df0 and mod loader 0x8f30d0
|
|
0095cc00 Cutscene::load_xml parses cutscenes.xml ("cutscenes"/"cutscene"/"anm2part"/"videopart"/"letterbox"/"subtitles"), builds CutsceneEntry array (CutsceneEntry::Destructor callee); called from manager config loader 0x952df0
|
|
004477b0 NpcAI::ENTITY_BEAST_ultra_pestilence dispatcher case type 951 sub-switch variant 0x14 (20 = Ultra Pestilence); strs HeadlessIdle/HeadlessSpit/HorseSpit/MaggotAttack, spawn_small_maggot
|
|
0044aad0 NpcAI::ENTITY_BEAST_ultra_pestilence_fly_ball ? dispatcher case type 951 sub-switch variant 0x17 (23 = Ultra Pestilence Fly Ball); no anm strings, AddBurn/SpawnEx/CalcTargetPosition
|
|
0074de30 Game::generate_home_level this=Game (_generationRNG 0x182d4); fixed 6-room layout via LevelGenerator::CreateRoom then RoomConfig::GetRandomRoom(stage 0x23=Home, types 1/5/4/5/1/2) and GetRoomByStageTypeAndVariant(0x23,0x10,0x29a)
|
|
00920940 NightmareScene::Render zhl declares NightmareScene::Render; called from manager render switch for state 5 (STATE_NIGHTMARE); anims Levels/Connector/ClearFloor/BossIndicator/IsaacIndicator/Clock sit next to NightmareScene::Show strings
|
|
006174c0 Entity_Familiar::ai_charger Entity_Familiar::Update cases 3/0x19/0x3b/0x68/0x82/0xd5/0xd6/0xdf/0xe8 (Little Chubby, Bobs Brain, Big Chubby, Jaw Bone, Knife Piece 1/2, Knife Full, Lil Portal per CheckFamiliar item ids); anims Float*/Hit*/Throw/Touched/Charge3
|
|
00644e80 Entity_Familiar::ai_shadow_intruder_damocles Entity_Familiar::Update cases 0x83/200/0xc9/0xca (My Shadow 433, Intruder 575, Damocles 656 per CheckFamiliar); RemoveCollectible(0x290 DAMOCLES_PASSIVE), SwapANM2, inlined Game::Spawn
|
|
00734f30 ItemPool::Init zhl Init(seed, filename); this=ItemPool, stores seed at +0 and +0x654, RNG shift consts, calls shuffle_pools/ResetTrinkets; caller 0x6f8140 is the run start ("RNG Start Seed", "itempools.xml")
|
|
0075b540 costume_path_apply_skin_color free fn (out,path,-1,playerType,..): finds "costumes" in path and appends _black/_blue/_green/_grey/_white skin suffix, ModManager::TryRedirectPath; callers UpdateCostumes/update_player_skin
|
|
00911120 NetplayManager::update_player_removal ? handles eRemoveMessageType::MSG_REMOVE_FRAME, IsPlayerRemoveConfirmed, "YOU WERE KICKED"; this holds vectors of pending removals; called from lobby update 0x90b150
|
|
005b23f0 Entity_Player::use_card_hagalaz UseCard case 0x20 (CARD_RUNE_HAGALAZ; case 0x1f is Joker, 0x21 Jera); walks room grid calling Destroy on every non-door grid entity, morphs rock NPCs (type 0x13 variants 2/3 etc.) via Entity_NPC::Morph, ItemOverlay::Show(0x14)
|
|
00528ec0 NpcHelper::migraine_timer_spawn ? NpcAI::ENTITY_SPIDER passes 0x528ec0 as the callback of Entity_Effect::CreateTimer(interval 4, 3 times) for type 0x365 (Migraine); callback(Entity*) spawns around the entity pos (inlined Game::Spawn)
|
|
004b70c0 NpcHelper::hornfel_spawn_doors ? spawns ENTITY_HORNFEL_DOOR (0x3c7) at sin/cos offsets 3 times; caller 0x4bc460 sits in the Hornfel helper block next to NpcHelper::hornfel_get_rail_direction
|
|
008588f0 Leaderboard::render_daily_score_breakdown draws #DAILY_RUN_*_BONUS/_PENALTY/_TOTAL lines and %d:%02d:%02d time with Font::DrawString; in the Leaderboard block (Leaderboard::Show 0x8580e0), caller 0x858050 is reached from Game::Render and the menu renderer
|
|
00a671b0 render_quad_draw KAGE renderer: takes (color/settings*, quad from render_quad_set_rect, flags) with ECX = quad renderer; builds vertices per attribute format (cases 1-8, "Unknown attribute format specified"), divides UVs by texture size at this+8 (+0x10/+0x14); callers Entity::PostRender, HUD, debug overlay
|
|
009cb620 GameState::read_player ? this=GameState (_saveFile at +0x1fe24, version at +0x1fdf0); deserializes a GameStatePlayer record (player type as short, 8-int block at +0x1c, flags +0x44) via GameStateIO vtable slot 5 and checksums each field with the hash helper 0x683410 like GameState::write
|
|
00723f20 ItemConfig::parse_cache_flags static string->CacheFlag table (color/damage/familiars/firedelay/flying/pickupvision/range/shotspeed/speed/tearcolor/tearflag/weapon, _Init_thread_header); called from ItemConfig::Load right after reading the "cache" attribute
|
|
0042dbb0 DebugRenderer::Render Game::Render calls it with ECX=Game+0x6772c, the same list head/count (+0x6772c/+0x67730) DebugRenderer::Get walks and Game::Update expires by timeout; draws each entry (vector<Vector> points, UTF-16 text with 0xfff9/0xfffa/0xfffd tokens) with Font::DrawString/render_color_quad relative to the room render offset
|
|
006f3060 Game::~Game no callers; destroys members up to this+0x6778c (DebugRenderer list via 0x42f060, ANM2s, Console/HUD sub-objects); next to Game::Update/Render
|
|
0081f130 Room::render_debug_grid_indices called from Room::Render; sprintf_s("%d,%d") per grid cell plus render_color_quad with floor()
|
|
00aa2850 stb_vorbis_decode_residue stb_vorbis decode_residue(f, residue_buffers, ch, n, rn, do_not_decode): Residue r = cfg+rn*0x18 with classbook byte at +0xd indexing f->codebooks (f+0x8c, Codebook stride 0x830), (end-begin)/part_size, temp_alloc; region holds stb_vorbis asserts
|
|
00616db0 Entity_Familiar::ai_walker Entity_Familiar::Update cases 0x2b-0x2f/0x38/0x46-0x48 (Cube of Meat 3-4, Ball of Bandages 3-4, Leech 0x38 from item 0x10e); anims Attack/Move Down-Hori-Up, WalkHori/WalkVert, PickEnemyTarget + PathFinder::FindGridPath
|
|
008e5790 Menu_Online::render_descriptor called from Menu_Online::Render (0x8e4e30, uses _state +0x230) with the translated #Online/ONLINE_*_DESCRIPTOR string; this+0x34 is _anm2._animState, null frame "Descriptor Position"
|
|
008df1d0 Menu_OnlineLobby::render_lobby_list sub-render of the online lobby menu 0x8ddae0 (reached from the menu renderer 0x98a040): LobbyList anim, "#Online/IN_LOBBY", "#Online/NO_PUBLIC_LOBBIES", "%d / %d", Loading
|
|
008db8f0 Menu_OnlineLobby::render_player_slots ? sub-render of the online lobby menu 0x8ddae0: layers Box10..Box20, Idle/Idle_Daily, BackButton/BackKey
|
|
00a1a730 Font::Load zhl Font::Load(path, bool); opens the font file, sprintf page names, builds glyph table; 0x85e470 "KColor::Load" is just Font::Load(path,0) and is misnamed
|
|
009ed780 Menu_Stats::load_achievements_xml ? parses achievements.xml ("achievements"/"achievement", TryRedirectPath) into 0x34-byte records at this+0xa4a8 (Menu_Stats is 0xa478 in zhl); caller 0x9ed3c0 is the secrets page (achievements.anm2, SecretsMenuComponents.anm2) next to Menu_Stats::Update
|
|
00aba020 theora_oc_dec_frags_recon_mcu_plane ? libtheora decoder internal (region has "Xiph.Org libtheora 1.2.0alpha"); last per-plane call in the frame decoder 0xacebf0, 7 args, per-channel row pointer tables with memcpy, block size 16 default
|
|
00ad2c00 theora_oc_dec_dc_unpredict_mcu_plane ? libtheora decoder internal called from the frame decoder 0xacebf0 right before 0xaba020; memsets a plane-sized buffer ((+0x24)/2*4)
|
|
0041d670 AfterbirthPersistentGameData::check_header ? validates AB/AB+ save headers CNGSAVE06R/07R/08R, "AfterbirthPersistentGameData wrong file header", "Different number of achievements/challenges/..."; caller 0x92b930 is reached from PersistentGameData::TryImportABLocalSave
|
|
00568cc0 NpcHelper::mother_spawn_parts ? called from NpcAI::ENTITY_MOTHER; spawns three ENTITY_MOTHER (0x390) variant 0 children with subtypes 1,2,3 parented to the npc, SetVisibleFlag/SetSize
|
|
0052c2f0 NpcAI::ENTITY_VIS_chubber_projectile called from NpcAI::ENTITY_VIS when npc->_variant==0x16 (Chubber projectile); atan2f/normalize_angle_degrees aiming, IsPositionInRoom, ANM2::Play
|
|
009036b0 write_desync_dump ? console command handler 0x68cdc0 (reached from Isaac::ExecuteCommand) writes a netplay desync report: "Desync Frame", "Current Frame", "Application Address = 0x%llx", "Could not open file for writing"
|
|
006431d0 Entity_Familiar::ai_bot_fly Entity_Familiar::Update case 0xda (variant 218, CheckFamiliar from COLLECTIBLE_BOT_FLY 629) after GetOrbitPosition; anims Attack/Shoot, fires tears via SpawnEx + SetTearFlags + convert_shot_for_enemy_owner
|
|
004a2ce0 NpcHelper::colostomia_pick_dive_target ? called from NpcAI::ENTITY_COLOSTOMIA right before playing GoUnder; GetNearestPlayer, Room::GetRandomPosition/FindFreePickupSpawnPosition/GetGridCollision/IsPositionInRoom
|
|
0098d560 Minimap::Init ? called from Game::LoadConfigXmls; loads gfx/ui/minimap1/2.anm2, minimap_icons, mapitemicons, hudpickups, minimap_questionmark.png, creates "Minimap Surface" render image
|
|
00948fc0 Menu_Character::Reset ? this=Menu_Character (sets Status=0, _DifficultyPageSprite), anims Appear/Disappear/Unlocked/"AB+", Seeds::String2Seed+set_start_seed, DoPageSwap, IsCharacterAvailable; zhl lists Reset() as the only no-arg method left unnamed
|
|
009bba30 PlayerManager::enter_level ? this=PlayerManager (player vector at +0); builds co-op spawn offsets relative to player 0 into a global Vector list, Entity_Player::room_enter per player, Game::save_rewind_state, TextureCache::Purge; called from Level::generate_greed and the stage-start routine 0x706020
|
|
009e0f60 ProceduralEffect::roll_params ? called from ItemPool::CreateGlitchedCollectible(x, kind, seed); stores first arg at this+0, switch on kind rolls RNG::RandomInt/RandomFloat, ItemConfig::GetCollectible, BitSet128 masks
|
|
0062e120 Entity_Familiar::ai_samsons_chains Entity_Familiar::Update case 0x4b (variant 75, CheckFamiliar from COLLECTIBLE_SAMSONS_CHAINS 321); EntityList::QuerySublist + Room::GetGridCollision + distance checks for the dragged ball
|
|
009a3ac0 HUD::render_fortune_text ? this=HUD (anim state +0x5288 near zhl _fortuneSprite 0x5278, render target +0x536c); picks Text/Text2/Text3 by line count and pre-renders into the fortune render target; called from HUD::ShowFortuneText and Game::ShowFortuneText
|
|
00872090 render_debug_lua_memory called at the end of Game::Render; requires the LuaEngine global (DAT_00c71690, lua_State at +0x18) and Game debug flag bit 13 (flag 14 = Lua Memory Usage); draws bars with render_color_quad and a 30-frame timer at LuaEngine+0x264
|
|
0078ff90 Entity_Player::TriggerCollectibleRemoved REPENTOGON asm hook EntityPlayer_RecomputeWispCollectibles_TriggerCollectibleRemoved: the call followed by "cmp byte [edi+..],0 / je / push 0 / push" is exactly the call site in 0x7d7740; per-item removal side effects (Magic Mushroom 0xc RemoveCostume, Dead Cat 0x51, Heartbreak 0x2b6 AddBrokenHearts, Starter Deck 0xfb GetMaxPocketItems)
|
|
009b7680 PauseScreen::Show ? sets this+4=1 and resets a timer, anims Appear/Blood/Invite (Repentance+ pause menu invite option), SFXManager::StopLoopingSounds; called from Game::Update when pausing, sits with PauseScreen::Init (0x9b5840) and the #QUIT_DAILY_RUN pause update 0x9b5d20
|
|
007a37c0 Entity_Player::remove_twin ? called from RemoveCollectible when the other twin (Esau for Jacob 0x13, Dead Lazarus 0x1d, The Soul 0x26) must go: TemporaryEffects::ClearEffects, AddCostume, PlayerManager::RemoveCoPlayer
|
|
00772530 Entity_Player::replace_trinket ? this=Entity_Player (checks _variant/_isCoopGhost), logs "Replacing (smelted) trinket %d (%s) from player %d (%s) with trinket %d (%s)", TriggerTrinketRemoved/Added, costumes; called from Entity_Pickup::HandleCollision for golden Store Credit (trinket 0xd) with RandomInt(4)==0
|
|
00a1bb10 Font::measure_string ? (out Vector*, str, settings, scale=&1.0f): string size without drawing; used by Console::RenderHistory for wrapping and by the grid-index debug overlay to center text; sits between Font::DrawString and the glyph table code
|
|
009e2f20 RailManager::Render Room::Render calls it with ECX=&room->field_0x7468 (zhl Room _railManager 0x7468); SetAnimation on the rail anm2, iterates grid width*height (*this->room +0xc/+0x10), AnimationState::Render per rail cell
|
|
00429be0 DeathmatchManager::set_type ? switch(type) allocates DeathmatchTypeNormal/Ipecac/... (RTTI vftables) into this+0xc after releasing the old one, "Unknown type specified"; callers Game::constructor and run start
|
|
0061a240 Entity_Familiar::ai_blue_babys_only_friend Entity_Familiar::Update case 0x4d (variant 77, CheckFamiliar from COLLECTIBLE_BLUE_BABYS_ONLY_FRIEND 320); steered by Entity_Player::GetShootingJoystick and clamped with Room::GetClampedPositionImpl
|
|
006437a0 Entity_Familiar::ai_stitches Entity_Familiar::Update cases 0xdd/0xde (variants 221 Paschal Candle 567, 222 Stitches 635); anims TeleportDown/TeleportUp, aims with GetShootingJoystick + Room::GetClampedPositionImpl
|
|
00582b60 NpcHelper::scourge_spawn_chain (kind 0/1/2, npc, pos) spawns ENTITY_SCOURGE (0x38d) variant 10 (chain) and sets its anim; called 5x from the Scourge body AI 0x587aa0 (misnamed Entity_Familiar::HandleCollision, dispatcher case for type 909 variant!=10)
|
|
00ad60a0 theora_oc_state_frag_recon ? libtheora fragment reconstruction (state, fragi, pli, short* dct coeffs, last_zzi): inlined 8x8 idct then 8 pixels per row clamped through a 0x3ff lookup table; no direct callers (reached via the oc_dec opt vtable)
|
|
00499a50 NpcHelper::chub_nearest_segment ? this = array of 3 segment entities, arg = a segment: returns the other segment closest by position (0x33c); called from NpcAI::ENTITY_CHUB and 0x4999d0
|
|
007e7820 pathfinder_can_reach_pos ? ECX=Vector pos, arg=Room: reads Room::_gridPath (+0x76c, 0x1c0 ints, 1000 = blocked) at the pos cell, copies the whole grid path table and flood-fills (most blocks folded by the decompiler); sits in the NPCAI_Pathfinder block next to HasPathToPos; caller 0x7a4ba0 tests every trapdoor (grid type 0x11)
|
|
0081df80 Room::compute_overlay_texcoords ? (out, world pos, texture with w/h at +0x10/+0x14, shader): maps a world position through the room render offset (+0x1204) to normalized texture coordinates, assert_lerp "Start and End parameters cannot be the same!"; used twice in Room::Render for the layers at +0x70c4/+0x70e0
|
|
005add40 NpcHelper::visage_handle_collision ? per-type collision hook reached from Entity_NPC::HandleCollision: Visage body (variant 0) in state 0x76 touching ENTITY_VISAGE (0x387) variant 0x14 plays sound 0xb9 with rising pitch, removes it via its vtable and heals; other variants check type 9 variant 2 projectiles
|
|
00817830 Room::render_water this=Room: _waterAmount 0x7240, backdrop id 0x1d18, flooded stage ids 4/5/6/0x1b/0x1c, skipped under Curse of Darkness; KAGE_ColorTextureShader (REPENTOGON calls it Backdrop::RenderWater but the this is Room)
|
|
006950c0 EntityConfig::LoadEntities (path, isMod): parses entities2.xml ("Could not find root node 'entities'", collisionRadius/gibs/bestiary attrs); called by Manager config loader with entities2.xml
|
|
00cfe390 steamstub_drm_entry SteamStub header magic 0xc0dec0df, XOR-decrypt loops, resolves 34 imports by name, int3 on failure; entered via the call/pop thunk at 00cfe315
|
|
0057e4a0 NpcAI::ENTITY_ROTGUT_maggot 911.1 (dispatcher case 0xdf variant 1); strs ButtAttack1-3/HeadAttack1-3/Shoot, spawn_small_maggot, 1000.006_rotgut detail.anm2
|
|
00932810 Backdrop::LoadConfig parses backdrops.xml ("Could not find root node 'backdrops'", walls/floors/watergfx/props attrs); Room::constructor calls it (REPENTOGON Backdrop::LoadConfig(char* xmlpath))
|
|
007a4ba0 Entity_Player::level_start per-player new-level setup (param: isForced): start position incl. Ascent/Home, glitch baby subtype + "Glitch" anim, Map/Compass/Blue Map effects, UseActiveItem 0x11c; called per player from 009bb960 and the player update
|
|
004a8b70 NpcHelper::delirium_fire_pattern Delirium (from NpcAI::ENTITY_DELIRIUM, after morph back): 11 bullet patterns picked by npc+0xbd8 byte (0xff = random), spiral angle tables, FireProjectiles; skips while type 0x2d or 0x54.10
|
|
0092f1c0 StageTransition::Update this=Game._stageTransition (0x1ba78), switch on state; "[warn] No ending for big chest!", Player Exit/Pickup anims, Level::SetNextStage/Init/ShowName, Game::End; called from Game::Update when the state != 0
|
|
006ab440 Entity::PlayerCollideWithGrid (bool): __RTDynamicCast to Entity_Player else log "Called PlayerCollideWithGrid with Entity type != Entity_Player"; CanCrushRocks, TryBlowOpen, TryMakeBridge, SpawnGridEntity
|
|
007a0080 Entity_Player::trigger_npc_death (Entity* npc): called per player from Entity_NPC::Update on death and take_damage_impl; AddBestiaryKill, award_fly_kill_points, on-kill item/trinket effects (TemporaryEffects, AddHearts, AddActiveCharge, AddCostume)
|
|
009b5d20 PauseScreen::Update next to PauseScreen::Init 009b5840; #QUIT_DAILY_RUN prompt via GenericPrompt, BackKey, Game::End, DeleteSaveState; called from the menu update 00954cd0 and 006fa540
|
|
0094ef10 Menu_Collection::Render item collection page render: "Diary" anim, item ids < 0x2dd, 120 items per page, ItemConfig_Item::GetLocalizedName, ModManager::RenderCustomCollectionItem, KAGE_ColorTextureShader
|
|
0096d3f0 Entity_Laser::impact_tear_flag_effects (pos, dir) at the laser end: BombTearflagEffects + BombDamage (explosive), 1000.1 explosion, split tears with SetTearFlags, random pickups; called from UpdateHits and update_laser
|
|
0044c070 NpcAI::ENTITY_BEAST_ultra_war 951.30 (Beast case variant switch 0x1e); strs ChaseLoop/DashStart/LungeBomb/ThrowBomb/QuickBurst/Shockwave, BombExplosionEffects
|
|
00443e50 NpcAI::ENTITY_BEAST_ultra_death_scythe 951.41 (Beast case variant switch 0x29); strs Rotate3-6, QueryRadius, normalize_angle_degrees
|
|
004b0200 NpcAI::ENTITY_DOGMA_10 ? 950.10 (Dogma case, variant 10); strs Appear/DashStart/DashUp/DashDown/DashRight, DamageRadius, ShakeScreen, CalcTargetPosition
|
|
006378c0 Entity_Familiar::ai_lil_harbingers Entity_Familiar::Update case; "[err] Wrong Harbinger subtype %u!", FloatDown/PreSpawn, convert_shot_for_enemy_owner
|
|
0063c1c0 Entity_Familiar::ai_minisaac Entity_Familiar::Update case 0xe4 (FamiliarVariant.MINISAAC 228); Head*/Walk*/Fly* dir anims, Transform/TransformFlying, Poof_Small
|
|
00700061 Game::BombExplosionEffects spurious split: 00700060 is PUSH EBP and 00700061 MOV EBP,ESP of the same function body (BombDamage/BombTearflagEffects callees); not a separate function
|
|
0084c2c0 StatHUD::Render HUD::Render calls it with a position; per-player slots at this+0x114 (stride 0xcc), "%.1f%%"/"+%.2f" stat strings, Font::DrawString
|
|
0084cc40 StatHUD::update_player ? (oldPlayer, newPlayer): finds the slot whose player == param1 (this+0x114, stride 0xcc), stores the new player's stats (0x1568 damage, 0x1460/0x1470/0x1480 speed/range...) with lerp fields; CanSpawnDevilRoom/GetDevilRoomChance for the deal chance line
|
|
00a65190 image_load_jpeg libjpeg: jpeg_std_error table ("Bogus message code %d"), setjmp3 error exit, "Failed to load image '%s' because ... channels (%d)"
|
|
00ab5cc0 libjpeg_jinit_master_decompress ? libjpeg internal called by image_load_jpeg: cinfo->err->msg_code = 0x30 then error_exit, memset, three jinit-style callees
|
|
00aad3b0 vorbis_synthesis_blockin libvorbis: v->lW = v->W; v->W = vb->W (edx[7]); v->nW = -1; vb->granulepos edx[0xe..0xf]; v->granulepos/sequence = -1
|
|
00952df0 Manager::load_configs this=Manager (zeroes 0x21628/0x21984 fields); ModManager::TryRedirectPath + load of achievements.xml, babies.xml, entities2.xml (EntityConfig::LoadEntities), items.xml, players.xml ... and the 4 .fnt fonts
|
|
0074a500 Level::generate_home this=Game (_generationRNG 0x182d4, _nbRooms 0x182cc, 0x18314): fixed rooms at (6,6) start shape 4, (6,8),(7,7),(5,7),(6,4) from stage type 0xd (Home) via GetRoomByStageTypeAndVariant/GetRandomRoom; Tainted Keeper (0x21) check
|
|
007b8cb0 Entity_Player::update_footprints ? from the player update: _footprintColor1/2 (0x1828/0x1854 ColorMod) drawn into the floor render target (SetRenderTarget/render_quad_set_rect/pop_render_target), skipped for coop ghosts/holograms; spawns 1000.99 particles
|
|
007ea630 init_room_render_surfaces creates the named render surfaces ("Floor Water Surface", "Shadow Surface", "Mirror Surface", "Heat Wave Surface"...) via Manager::LoadImage, gfx/grid/lava.png, caustics.png; called by Room::constructor and 007084c0
|
|
0062ee30 Entity_Familiar::ai_lil_gurdy Entity_Familiar::Update case 0x57 (FamiliarVariant.LIL_GURDY 87): charges while fire is held (ChargeStart/Charging, up to 90 frames), dashes in the aim direction (Dashing/DashStop), DamageGridWithSource breaks rocks, MakeSplat
|
|
009462c0 Menu_CustomChallenge::Render ANM2 at +0x14, pos +0xc, layers CustomTab/CustomPaper/CustomText/CustomButton; struct size 0x124 matches MenuManager._menuCustomChallenge (0xd808); called from the menu render 0098a040 after Menu_Title
|
|
009b4810 Menu_Options::load_graphics ? hides "Sketch" layers, swaps OptionsMenu.png for gfx/ui/main menu/OptionsMenuDark.png (ReplaceSpritesheet), loads GammaMenu.anm2 "Counter"; callers 009b2150 (OptionsMenu.anm2 init), 009b52a0 (from PauseScreen::Update)
|
|
009c4100 InviteFriendsMenu::load_graphics ? ANM2::Load of gfx/ui/InviteWidget.anm2 (+4) and gfx/ui/main menu/InviteFriendsMenu.anm2 (+0x118), Appear/ArrowUp/ArrowDown/Cursor, "list too long"; called from PauseScreen::Update and 008ead10
|
|
009b6840 netplay_lobby_menu_update ? online lobby overlay update: Invite/InviteKey/KickKey/PasswordPaper/ShowPassword(Key), Appear/Cursor/Dissapear, NetplayManager::IsIdxLocalPlayer; called from Game::Update (Game+0x1d520 != 0) and after PauseScreen::Update in 00954cd0
|
|
008caa30 netplay_lobby_render ? renders the online player list: layers "Player%d Text"/"PlayerCharacter%d"/"Player_Character"/"Player_Me" ("[warn] no layer named %s"), vector of 0x38-byte entries at +0x568, ANM2 +0x118; called from Game::Render next to the revive prompt render
|
|
00421bf0 BossPool::load_xml (path, isMod): parses bosspools.xml ("Boss pool: Unknown stage '%s'", "BossID out of bounds", stage names basement..mortis, doubletrouble); callers 004218e0 (bosspools.xml) and ModManager loader 008f4890
|
|
00706020 Game::rewind ? Glowing Hourglass style restore: Level::GetRoomByIdx current room, Room::Update, TryDecreaseGlowingHourglassUses, RemoveCoPlayer, IncreaseEventCounter; called from the console command handler 0068cdc0 and 00830950
|
|
00426a50 DailyChallenge::Init ZHL sig (prefix drift: 53 8b5d08 56 vs 53 56 8bf1): this->_id = dailyDate, _specialDailyId, seeded xorshift picks of challenge params (mod 20 excluding 0xb/0xc/0x11/0x14, stage 6/8/10/11), "GetTaintedId() could not find tainted counterpart"
|
|
00814a50 pickup_roll_random_variant (seed, &variant, &subtype, rng): random pickup variant/subtype via ItemPool::GetCollectible/GetTrinket/GetCardEx/GetPill, lua_callback_run_get_card; called from Entity_Pickup::Init (00814980) and Entity_Pickup::Morph when variant 0
|
|
00a9ae80 libpng_png_build_gamma_table ? libpng: malloc(256) table[i] = pow(i/255, gamma)*255+.5 stored at png_ptr+0x15c, "Out of Memory" (png_malloc string); caller 00a97730
|
|
00a8da40 audio_stream_seek ? KAGE audio streaming (" [seek]: fineseeking failed, _readData failed!"), tracked_alloc, no direct callers (virtual)
|
|
008d3890 PauseScreen::update_items_page ? pause menu items list: iterates the player's collectible history (player+0x1dec, 0x1c-byte entries) keeping HasCollectible ones, ItemsArrowUp/Down, LoadImage; called from the pause item-description page 008d3360 (DescriptionArrowUp/Down) <- PauseScreen::Update
|
|
009ee2a0 Menu_Stats::update_achievements called from Menu_Stats::Update when _isAchievementScreenVisible; Icon%dLocked/Unlocked(Selected) spritesheets, Achievement_Locked.png, Appear/Dissapear
|
|
0099c790 HomingLaser::build_bezier_path (isHoming, source): this=HomingLaser (_origin 0x4, _endPoint 0xc, _bezier vector 0x48 of 0x18 HomingLaser_Bezier); straight segment when empty, else targets via room entity list (IsVulnerableEnemy/IsDescendantOf, CalculateEndPoint); called by Entity_Knife::InitHomingPath and Entity_Laser::update_laser
|
|
0099fed0 HomingLaser::build_wiggle_bezier (tearFlags): this=HomingLaser; perpendicular (cos/sin pi/2) offsets scaled by amplitude pushed as 0x18 bezier entries into _bezier (0x48); called from Entity_Laser::update_laser when the laser's tear flags & mask 0xc34860
|
|
009a0850 HomingLaser::build_ring_bezier (center, mode, radius): 6 bezier segments around a circle (angles k/6*2pi) pushed into _bezier (0x48/0x4c); Entity_Laser::UpdateHits calls it with the laser pos and laser+0x3bc radius (Tech X ring)
|
|
009a0fa0 HomingLaser::apply_sample_wiggle ? this=HomingLaser: _samples (0x1c/0x20) offset along their direction by sin(k*2pi/n - frame*0.16)*10 when _unkInt (0x40)==1, else by _unkFloat2/500; called from Entity_Laser::update_laser after get_tear_trinket_multiplier(0x1e)
|
|
007a6680 Entity_Player::room_exit ? (bool): per player from Game::ChangeRoom, the player update, 009bd150, 009bee80; RemoveCompassEffect, ClearTemporaryEffects, FlushQueueItem, ResetItemState, RemoveCoPlayer, TemporaryEffects::RemoveEffect/RemoveNullEffect
|
|
0044b6f0 NpcAI::ENTITY_BEAST_ultra_pestilence_maggot 951.22 (Beast case variant switch 0x16); strs Maggot/MaggotBack/ShootPos, Entity_NPC::ParentNPC, spawn_blood_explosion
|
|
006a69e0 resolve_resource_path ? (out string, path, vector<string> roots): tries each root (0x18-byte std::string entries) then ModManager::TryRedirectPath/FileSystem::ResolvePath; called from Entity_Bomb::update_sparks for the sparks gfx
|
|
0054ccc0 NpcHelper::bulb_player_collision (Entity_Player*): Entity_NPC::HandleCollision for variant 6 (61.6 Bulb): 1 dmg to players (10 to familiars), bounces back (V1 negated, state 6), AddActiveCharge(charge/3) + HUD::FlashChargeBar, PlayExtraAnimation
|
|
008257a0 Room::spawn_grid_from_desc ? (gridIdx, GridEntityDesc*, ANM2*) -> bool: GridEntity::GridEntity/Init at the index, SetBigRockFrame, UpdateNeighbors, TrySpawnWorms/TrySpawnLadder, "SpawnGridEntity: Grid index invalid"; called from Room::PickupGridEntity
|
|
008ef990 coop_join_menu_update ? multiplayer-only overlay (called from 006fa540 when !is_single_player and Game::Update): state machine on MENUCONFIRM/MENULEFT/MENURIGHT/MENUDOWN (0xe/0x14/0x15/0x17), two ANM2s (+0x10, +0x124), Player_stats_add, count_main_players
|
|
0043a5e0 Entity_Familiar::wisp_take_damage Entity_Familiar::TakeDamage for variants 0xce/0xed (WISP 206, ITEM_WISP 237): GetLastSpawner, AddFear, AddErasedEnemy/ShouldEraseEnemy, RemoveWithPoof, HasInvincibility
|
|
0054f670 NpcHelper::needle_render Entity_NPC::Render calls it for type 0x371 (881 Needle/Pasty): ANM2::GetLayer + distance math (burrow render)
|
|
00754980 input_state_reset ? zeroes a controller/input state block: 4 x 0x18 entries at +0x8c (id -1), fields 0xec-0x1ac; called from Entity_Player::constructor, 00906100 and 0090c7e0 ("Failed to find input device for UserId")
|
|
004a2940 NpcHelper::colostomia_pick_target (out Vector*, out bool*) -> Vector*: NpcAI::ENTITY_COLOSTOMIA stores the result as _targetPosition; EntityList::QuerySublist, GetPlayerTarget
|
|
004568d0 NpcAI::ENTITY_FLY_isaac_spawned NpcAI::ENTITY_FLY branch for _spawnerType 0x66 (102 Isaac/??? boss) and subtype != 0: orbits the spawner (QuerySublist, radius 100/85, V1 direction)
|
|
00959180 save_rerun_to_steam_cloud Game::End callee: GameState::write_rerun (Manager+0xfa4), "[warn] GameState::SaveRerunToSteamCloud could not open %s for writing", "[warn] GameState::Save: no filename specified", GetExtraLives
|
|
00996580 FXLayers::render_veins ? Room::Render callee: 10 vein entries at +0xd8 (count at +0xc4) set scale/offset of ANM2[idx] at +0x364 (stride 0x114, FXLayers._veinANM2) then AnimationState::Render
|
|
009353b0 Backdrop::render_ashpit_ash Backdrop::load_details callee; this=Backdrop (rng at +0x4f28): gfx/backdrop/04x_ashpit_ash(_Lfloor/_Nfloor).png via Manager::LoadImage drawn into a render target (SetRenderTarget/Clear/Sprite::RenderLayer)
|
|
006fefd0 apply_tear_effects_in_rect ? (Vector* min, Vector* max, Entity* source): EntityList::QueryRadius then Entity_Tear::ApplyTearFlagEffects on each hit with EntityRef(source), source type/flag checks; only caller NpcAI::ENTITY_NERVE_ENDING
|
|
008276e0 Room::spawn_options_alternative (Entity_Pickup*): Room::SpawnClearAward calls it when a player has COLLECTIBLE_OPTIONS (0x29e): spawns a second pickup (RoomClear_PickVariant, Morph, CanSpawnObstacleAtPosition) linked with AssignOptionsIndex
|
|
004d4610 NpcHelper::moms_heart_pick_attack NpcAI::ENTITY_MOMS_HEART (state 4 after frame 0x1f): picks a random attack id into V1.y from ranges by subtype/variant (I1==5 -> 8), state 8, SpawnFollowingEffect198
|
|
009615e0 Entity_Familiar::multidimensional_baby_copy_knife Entity_Familiar::Update case 0x65 (MULTIDIMENSIONAL_BABY 101) when Entity_Knife::IsFlying: SpawnEx(8, knife variant) + Entity_Knife::InitHomingPath/GetRootParent
|
|
00599f80 NpcHelper::tuff_twins_body_attack_anim NpcAI::ENTITY_TUFF_TWINS helper: picks Body1-3Attack{Hori,Vert} by (npc+0x3ec % 3) and the parent (0x3bc) direction, SetFrameFloat by angle, flip flag +0x148
|
|
00857450 Leaderboard::Update this=Game._leaderboard (0x1d5f8): returns when _displayState (+4)==0; Appear/DisplayRankStart/DisplayRank/Loading anims; called from Game::Update when Game+0x1d654 != 0 and from the daily menu 008cf610
|
|
0068cdc0 Console::RunCommand called by Isaac::ExecuteCommand with (in,out,player); console command strings (Spawned entity, Changed stage...); zhl Console::RunCommand(std_string&in,std_string*out,Entity_Player*)
|
|
00431be0 FamiliarAI::umbilical_baby Entity_Familiar::Update case 0xf0 (FamiliarVariant 240 UMBILICAL_BABY); allocates UmbilicalBabyData extra data, CreateWeapon/aim
|
|
009688d0 Entity_Knife::UpdateSwingHits called from Entity_Knife::Update when _isSwinging && !_isFlying; QueryRadius, HitListContains, AddKnockback/AddBurn, Reflect projectiles, GetTearHitParams; Swing/Swing2/SwingEnd anims
|
|
0094a500 Menu_Character::Render called in menu render sequence (0098a040) next to Menu_DailyChallenge::Render; right after Menu_Character::Update (00949c20); CompletionWidget::Render, Seeds::CountUnlockedSeedEffects/AchievementUnlocksDisallowed, ButtonIcon layer, Font::DrawString
|
|
0093f1d0 Backdrop::RenderWalls Room::Render passes (&offset, Room._wallColor ColorMod 10 dwords); this=Backdrop (0x150 backdropId, 0x2c waterGfx, 0x4f18 unkVec1); zhl Backdrop::RenderWalls(Vector const& renderOffset, ColorMod color)
|
|
00940d30 Backdrop::RenderWater called at top of Backdrop::RenderWalls only when Backdrop+0x2c waterGfx != 0, with the render offset; zhl Backdrop::RenderWater(Vector const& offset)
|
|
009d05d0 GameStatePlayer::read called by GameState::read_rerun and 0090c7e0 right after GameStatePlayer::Init(&local) with the stream ptr; per-player [warn] strings (Invalid player type, pocket item, trinket, voided active item); Ghidra split its tail into FUN_009d16ee and FUN_009d2656 (costume/familiar/history count warnings)
|
|
008f4a30 ModManager::LoadShaders shaders.xml parse ("Could not find root node shaders in mod %s", vertex/fragment/parameters); callers ModManager::TriggerResize and the reload paths; zhl ModManager::LoadShaders()
|
|
0072ba80 ItemConfig::LoadLocustConfig locusts.xml parse ("Could not find root node locusts", locust/id/color/scale/quality), params (char* xmlpath, int mod) match zhl ItemConfig::LoadLocustConfig(char*,ModEntry*); this=ItemConfig; callers Console::RunCommand reload, mod content load
|
|
00a93860 png_write_find_filter libpng: caller 00a63ba0 is png_write_row (interlace pass switch on row_number&7 / width<5, then do_write_interlace 00a93640, do_write_transformations 00a94c80, this, then write_row_fn callback at +0x194); SIMD filter heuristic over row bytes; sibling 00a94b10 has "zlib error"/"Call to NULL write function"
|
|
0098fa60 FXLayers::parse_fx_params_node parses stage/fxParams xml attributes (backdrop, brightness, contrast, colorModifier, lightColor, shadowAlpha, shadowColor, waterColor, waterEffectColor, waterv2, altStages) into FXLayers+0x4f8 _fxParams (writes +0x504..); recursive on child "fxParams"; called from fxlayers.xml loader 00990a40
|
|
007f1380 Room::LoadBackdropGraphics this=Room (0x4 _descriptor, 0x8 _roomType, 0x1bb0 _bossId); loads gfx/backdrop/shading_*.png, fxlayers.xml, Backdrop::Init; REPENTOGON ASMLevel.cpp calls this "Room::LoadBackdropGraphics" (LoadBackdropGraphics_VoidEx patch); called by ENTITY_DOGMA before Backdrop::load_details
|
|
007ba2b0 Entity_Player::update_baby_skin_effects called from player update when _variant==1 (co-op baby) or _isCoopGhost; switch on Entity_Player+0x1aec _babySkin (0,3,5,0x28,0x29..) spawning creep/troll bombs/blue spiders, "Dripping" overlay, HasCollectibleEffect checks
|
|
009c79a0 GameState::Clear called by GameState::Delete and the SteamCloud/local GameState load paths; constructs RoomDescriptor, GameStatePlayer::Init, memset; zhl GameState::Clear()
|
|
0094c580 Menu_Character::handle_input called from Menu_Character::Update when Status != 2 before UpdateRotations; polls menu input actions (0xe,0x14-0x17 confirm/back/left/right) via the input vftable, DoPageSwap, SetStartSeed, IsCharacterAvailable, SoundEffects::Play
|
|
0098e4d0 Minimap::Render called from HUD::Render (non-greed); this=Minimap (+0x620 _shakeOffset, +0x18 MinimapConfig: +0x13c borderPadding, +0x148 borderScale); renders map ANM2, Seeds::GetForcedCurses/GetPreventedCurses (curse of the lost), Room::IsMirrorWorld, "Frame" anim
|
|
00988d80 MenuManager::LoadGraphics loads gfx/ui/main menu/TitleMenu.anm2, ChallengeMenu, CollectionMenu, Death Screen anm2s then calls each menu loader (009ef740, 009d9560, 00980eb0, 00948200); separate from MenuManager::constructor 00986450
|
|
00948200 Menu_Character::LoadGraphics called from MenuManager::LoadGraphics (00988d80); loads gfx/ui/main menu/CharacterMenu*.anm2, DifficultyWidget, SeedEntry, SeedWidget, WinStreakWidget, PageSwapWidget
|
|
0069bd50 EntityConfig::LoadBabies babies.xml parse ("Could not find root node babies in %s"), param_1 = xml path, appends 0x38-byte entries to vector at this+0x14 (= zhl EntityConfig::GetBabies at 0x14); zhl EntityConfig::LoadBabies(char*)
|
|
008f30d0 ModManager::LoadModContent iterates ModManager mods vector (this+0/+4) skipping disabled (+0xfd), Mod::GetContentPath for entities2.xml/items.xml/items_metadata.xml/pocketitems.xml/locusts.xml/info_display.xml/... and calls each config loader (ItemConfig::LoadLocustConfig 0072ba80, 0084eba0 info_display)
|
|
009282e0 PersistentGameData::write called from PersistentGameData::Save between stream flushes; writes section headers (id 1 len 0x282 achievements bytes at +0x38, id 2 len 0x82c = 0x20b event counters at +0x2bc, id 3 ...) through the stream vtable +0x1c and updates the checksum (00683410)
|
|
007d1c10 Entity_Player::play_hurt_effects called from Entity_Player::take_damage_impl unless damage flags & 0x100d0400 (no-gib flags); spawn_gibs, Game::ShakeScreen, ANM2::Play hurt anim, Color flash, Room::IsPositionInRoom
|
|
00934770 Backdrop::PreRenderControls this=Backdrop (0x150 backdropId==3, 0x4f18 unkVec, +0x5050 ANM2 "Controls"/"Keyboard" anims, EntityConfig_Player::_moddedControlsANM2 + GetDisplayName); REPENTOGON ASM hook Backdrop_PreRenderControls_GetCharacterAnimName lives here; called from Backdrop::load_details chain (009356a0)
|
|
0093ea00 Backdrop::RenderFloor Room::Render passes (&offset, Room+0x72a4 _floorColor ColorMod 10 dwords), same shape as the Backdrop::RenderWalls call; this=Backdrop (in_ECX[0x54]=0x150 backdropId==0x1c, in_ECX[0x13c6..]=0x4f18 unkVec); ANM2::Render, shader_cache_find, render_quad_set_rect
|
|
00ad9840 jpeg_idct_15x15 libjpeg jidctint.c: params (cinfo, compptr, coef_block, output_buf, output_col); constants 0x2731=FIX(1.224744871), 0x4ea3=FIX(2.457431844), 0x2ace=FIX(1.337628990), 0x1a9a=FIX(0.831253876) are the 15x15 set; workspace 8*15 ints; CONST_BITS 13 rounding 0x400
|
|
00a8ecc0 wgl_provider_resolver libepoxy wgl_generated_dispatch.c: switch over provider enum, epoxy_wglGetProcAddress("wglGetExtensionsStringARB"), entrypoint name table indexed from "wglAllocateMemoryNV", WGL_* extension names, "Implementation unexpectedly missing WGL_ARB_extensions_string. Probably a libepoxy bug."
|
|
009b1220 LevelGenerator::try_resize_room logs "[LevelGenerator] try_resize_room: invalid room" and, in its end-room branch, "try_resize_endroom: invalid room"; (room, uint shape, int) params; callers LevelGenerator::GetNewEndRoom, DetermineBossRoom
|
|
007d7c30 Entity_Player::trigger_cracked_orb called from take_damage_impl when HasCollectible(0x2a3 COLLECTIBLE_CRACKED_ORB); GridEntity_Door::TryBlowOpen/TryUnlock, Minimap::Refresh, spawns effect FollowParent
|
|
006ca930 Entity_NPC::update_frozen called from Entity_NPC::Update when _flags & (1<<49) FLAG_ICE_FROZEN, then returns; ring buffer at +0xc4c..0xc58, DoesEntityShareStatus
|
|
006f2060 HUD::constructor called from Game::constructor; constructs ANM2s at +0x3778,+0x388c,+0x39a0,+0x3ab4,+0x3bc8 = zhl HUD _chargeBarSprite 0x3798/_heartsSprite 0x39c0/_pickupHUDSprite 0x3ad4/_cardsPillsSprite 0x3be8 minus the 0x20 drift seen for this exe; HUD render (009a6fe0) passes +0x39a0 as the hearts ANM2
|
|
00834350 Ambush::Update called from Room::Update when roomType is challenge(0xb)/boss rush(0x11) and Game._ambush.active; this=Ambush (+0x18 maxBossWaves, +0x24 currentWave, +0xc/+0x10 wave vector, +0x28 countdown); Ambush::SpawnWave/SpawnBossrushWave, Room::SpawnClearAward, MusicManager::Crossfade
|
|
009f5ad0 Weapon::fire_tear called from Weapon::TriggerTearEffects; this=Weapon (+4 owner); Entity_Player::FireTear(pos, dir, ...) when owner is a player else Game::SpawnEx(2,0,...) and vtable+0x40 (SetDamage); returns the tear
|
|
00425b70 init_coop_awards called from Game::constructor right after constructing the 21x0x34 award array at Game+0x1bbec (ECX = that array); fills each entry with "#Online/COOP_AWARD_*" name, id, flags, 1.0f
|
|
007bbbd0 Entity_Player::Init ? no direct callers (vtable Init); this=Entity_Player: looks up EntityConfig_Player by _playerType 0x13c0 ("Could not load config for player type %d"), stores GetDisplayName into +0x13c4, sets red hearts/max (+0x1340/+0x1344) and armor from config, many inline RNG::Next ("RNG Seed is zero!")
|
|
00596c60 NpcAI::ENTITY_BEAST_rock_projectile dispatcher case for The Beast (951) variant 2 (ROCK_PROJECTILE); "Rotate%d" anims; sibling naming NpcAI::ENTITY_BEAST
|
|
00444cc0 NpcAI::ENTITY_BEAST_ultra_famine dispatcher case for The Beast (951) variant 10 (ULTRA_FAMINE); DashStart/DashLoop/DashEnd, Summon, HeadLoop, Reverse, Transition anims
|
|
00440630 NpcAI::ENTITY_BEAST_background dispatcher case for The Beast (951) variants 100-104 (BACKGROUND_BEAST/FAMINE/PESTILENCE/WAR/DEATH); Cheer, Leave, ScreamStart/Stop, Shoot anims
|
|
005ad8a0 NpcAI::ENTITY_VISAGE_plasma dispatcher case 0xd7 (Visage 903) variant 0x14 (VISAGE_PLASMA), beside NpcAI::ENTITY_VISAGE (variant 0) and ENTITY_VISAGE_mask (variant 1)
|
|
00616050 FamiliarAI::blue_spider Entity_Familiar::Update case 0x49 (FamiliarVariant 73 BLUE_SPIDER); Appear/Idle/Walk and Idle_Deathmatch/Walk_Deathmatch anims; HasCollectible(0xf7 BFFS) size check
|
|
0063d570 FamiliarHelper::fly_head_pathfind_move ? called from the Entity_Familiar::Update case 0xe4 (variant 228) routine 0063c1c0 (FlyUp/FlyDown/HeadUp/HeadDown, Transform/TransformFlying anims); PathFinder::FindGridPath, Room::CheckLine, EntityList::QuerySublist, GetAxisAlignedUnitVectorFromDir; Ghidra cannot decompile it
|
|
00824ee0 Room::update_water_current called from Room::Update; this=Room (+0x7460 _waterCurrent Vector, +0x125c/+0x1264 entity list, +0xc/+0x10 grid dims, +0x24 grid array); pushes pickups/NPCs by _waterCurrent*0.4 and spawns effect 1000/99 splashes every 3 frames
|
|
007f01c0 Room::update_player_exits called from Room::Update; this=Room (+4 _descriptor, +8 _roomType, +0x724 door slots x8, +0x1c/+0x20 bounds); checks each player against the 8 doors and, for ROOM_DUNGEON (0x10) crawlspaces, walking off the edges -> Game::StartRoomTransition with _leaveDoor
|
|
00824a70 Room::update_ambient_effects ? called from Room::Update; this=Room (+8 roomType, +0x1bb0 _bossId, +0x1d18 _backdropType, +0x14..0x20 bounds); skips boss 0x5b room and Level::HasAbandonedMineshaft; spawns effect 1000/0x8a particles with color per backdrop (0x2b/0x2c CORPSE2/3)
|
|
00749270 Level::maze_swap_rooms called from Level::ChangeRoom after Random()%5==0 for a room whose 00748d40 lookup returns a match (Curse of the Maze teleport); this=Level: GetRoomByIdx(param_1) and the target, requires equal RoomConfig shape (+0x46/+0x47), swaps the two RoomDescriptor contents (+0x14 + idx*0xb8)
|
|
0083a3d0 render_beast_arena_background ? called from Room::Render only when Room+0x1d18 _backdropType == 0x39 (57 DUNGEON_BEAST); ECX struct holds the Room at [0] (reads Room+0x6ae0 bounds, +0x11fc camera), full-screen render_quad_set_rect with KAGE_ColorTextureShader, "Shader stack empty"
|
|
006b5320 Entity_Tear::reroll_hit_entity ? called from Entity_Tear::HandleCollision when tear flags & DAT_00c34670 (bit 81) hit a vulnerable non-boss enemy: EntityFactory::Create replacement + EntityList::AddEntity, Game::ShouldEraseEnemy -> RemoveWithPoof, rerolls pickups via ItemPool::GetTrinket/GetCardEx/GetPill, lua pre_entity_spawn
|
|
0065ad30 reroll_entity_to_free_tile ? no callers; same callee set as 006b5320 (EntityFactory::Create, ShouldEraseEnemy, RemoveWithPoof, ItemPool::GetTrinket/GetCardEx/GetPill) but first searches up to 0x20 Room::GetRandomPosition/FindFreeTilePosition spots >20px from param_1 and >80px from the nearest player
|
|
00ac2da0 decode_mcu_slow ? libjpeg jdhuff.c entropy decoder: 0xFF byte-stuffing/marker handling into cinfo+0x18c, HUFF_LOOKAHEAD lookup table (nbits<<8|symbol, nbits<9 fast path), loops cinfo->blocks_in_MCU (+0x144) with MCU_membership (+0x148); caller 00ac3450 is the decode_mcu dispatcher
|
|
006d7230 Entity_NPC::update_damage_history ? called at the end of Entity_NPC::Update (both paths) after 006d7010; sums this frame hit-list entries (+0x8..0xc, 0x38 bytes each, skipping flag 0x2000) into a ring buffer at +0xc4c..0xc58, clears the list, spawns effect 1000/0x36 when flags bit 47 set
|
|
0067aaf0 Entity_Tear::apply_link_spring_forces ? called once from Entity_Tear::Update; this=Tear with two linked entity refs (+0x494/+0x498): spring toward rest distance 10 using +0x38c/+0x390 pos, +0x394/+0x398 vel, +0x39c mass, writes velocity +0x360
|
|
00967a70 Entity_Knife::apply_wiggle ? called from Entity_Knife::Update when tear flags & DAT_00c34870 (bit 10 TEAR_WIGGLE); offsets the knife position relative to its parent player (+0x3bc parent, type 1 or knife 8 -> player)
|
|
0099efc0 Entity_Laser::update_wiggle_path ? called from Entity_Laser::update_laser when tear flags & DAT_00c348e0 or DAT_00c348a0 (with get_tear_trinket_multiplier 0x2e/0x1a Hook Worm); this=Laser (+0x40 mode, +0x1c/+0x20 sample vector, +0x4..0x10 endpoints), sin/cos/pow displacement of the path samples
|
|
0096ee00 Entity_Laser::get_tear_spawn_color ? result passed to Entity::SetColor (vtable+0x3c) on the tear spawned by Entity_Laser::update_laser; Color::apply_to_kcolor, Color::__mul
|
|
009dc830 init_procedural_item_surfaces ? called from Game::LoadConfigXmls (and two reload paths); creates render targets "Procedural Item Surface"/"Procedural Item Collection Surface" and calls ItemPool::CreateGlitchedCollectible setup
|
|
006f6260 daily_challenge_params_assign ? called from Game::StartDailyChallenge with the params struct; copy-assigns string (+0), set (+0x18), two int vectors (+0x20, +0x2c) from param_1 into this
|
|
0083bc50 PlayerManager::remove_coplayer_slot ? called from PlayerManager::RemoveCoPlayer with the player; ECX = 5-dword slot array at Manager+0x1da04: finds the slot whose [0]==player, zeroes it and shifts the rest down
|
|
006fa540 Manager::update_ingame_input ? called from Manager::Update case 2 (in game) when no overlay/menu consumed input; ACTION_PAUSE (0xc) -> Game+0x26534 pause request, ACTION_MUTE (0x12) per controller ("Out of bounds"), menu confirm/back (0xe/0xf), Player_stats_add(8,..)
|
|
00910980 NetplayManager::try_advance_frame ? returns bool; called from the lobby/daily join path 0090b150; iterates the player array (+0/+4) hashing per-player state (00a790b0/00a2a460 when DAT_00c79a58 netplay active), compares queued input frames in three vectors (+0x1878,+0x1884,+0x1890) against the current frame (+0xc), clears +0x18
|
|
008413a0 HUD_Message::render_text_image ? called twice from HUD_Message::UpdateTextImage with (utf8 str, wide str, size, out); lays out glyphs (00a1c480), renders into the layer texture with KAGE_ColorShader (Exposure/Gamma uniforms), render_quad_set_rect
|
|
00a1c480 Font::layout_glyphs ? (out run, text, FontSettings*, size*) builds a vector of 12-byte glyph quads for a string; callers GenericPrompt::Render, GenericPopup::Render, HUD_Message::render_text_image
|
|
007e6b90 PathFinder::update_chase_movement ? called from NpcAI::ENTITY_PEEPER_FATTY; ECX struct with the NPC at [0] and countdown at +0x28 (PathFinder); charmed/controlled NPC uses Entity_NPC::GetControllerInput, else GetPlayerTarget + PathFinder::Reset/FindGridPath, approach_angle; returns velocity
|
|
0084f780 InfoDisplay::describe_pickup_stats ? builds description lines (" red heart", "Heals all red hearts", " soul heart", " black heart", " coin", " bomb", "empty red health") into a vector of 0x68-byte entries from a stats struct (+0x58..+0x6c); callers 0084f0a0 (info_display.xml entry parser: achievement/collectible/info/notcollectible/player attrs), 00850480, 00851b20
|
|
008df9b0 Menu_LobbyList::render_lobbies ? called from the lobby-list menu render 008ddae0 right after "Unhandled scope type (%d) in Menu Lobby List"; "LobbyList" layer, "#Online/IN_LOBBY"/IN_DEATHMATCH/NO_LOBBIES, "%d / %d", current_stage/lobby_mode fields, Font::DrawStringScaled
|
|
008da510 Menu_KeyConfig::render_gamepad_layout ? called from the key-config menu render 008d9340 only when the device casts to InputDeviceGamepad with flag 0x20 or type 3; draws #INPUT_* labels (incl. FULLSCREEN/MUTE) with Font::DrawString next to button icons (ANM2::GetLayer/RenderFrame)
|
|
00919980 Menu_Save::load_slot_data ? called from Menu_Save::Reset for each slot after Manager::SetSaveSlot; constructs a local PersistentGameData, reads "sharedsave%d.dat", logs "Merging eden coins: pdTokens=..."
|
|
007b0070 Entity_Player::restore_state_entities called from the player update 00782af0 and the GameState player restore loop 009bd010 with a GameStatePlayer-like record; "m_FamiliarCount does not match m_Familiars.size()" (+0x37c/+0x380), respawns familiars (type 3) and friendly NPCs (+0x22c/+0x244, Entity_NPC::Morph, controllerID), "GhostAppear" for co-op ghost, EvaluateItems
|
|
0061d030 FamiliarAI::lil_haunt ? Entity_Familiar::Update case 0x4f (FamiliarVariant 79); FloatDown/FloatDownRage/Rage/RageEnd anims (NPC haunt anm2 set), Entity_Familiar::FollowParent then PickEnemyTarget + EntityList::QueryRadius, "Rage" when its counter runs out, HasCollectible(0xf7 BFFS)
|
|
0064f860 FamiliarAI::thrown_familiar_239 ? Entity_Familiar::Update case 0xef (FamiliarVariant 239); thrown/bouncing object: height +0x350 and fall speed +0xd6c (+0.7 gravity), grid collision class +0x184 set 3 in air / 5 on landing, friction +0x36c, spawns effect 1000/0x36 dust and 1000/0x3b on landing
|
|
009d2656 GameStatePlayer::read_part3 not a real function: Ghidra split the tail of GameStatePlayer::read (009d05d0) into FUN_009d16ee and this chunk (no prologue, unaff_EBP/EBX/ESI, reached by fallthrough from 009d16ee); carries the [warn] Invalid pocket item / costume count / familiar count / history count / temporary effect "Save file %s might be corrupt" reads
|
|
0077b020 Entity_Player::update_shooting ? called from player Update; reads shoot actions 4-7, GetMouseAimTarget/GetShootingJoystick, Head* anims, LiftItem/HideItem per held active (0x2a,0x2f,0x31,0x121,0x160...), 'No Such State %d'
|
|
00635390 FamiliarAI::sprinkler Entity_Familiar::Update case 0x78 (120 SPRINKLER); 'Loki Appear' with 0x57, 'MomsEye Appear' with 0x37; FireTear/FireBomb/FireTechXLaser spin
|
|
004386f0 Entity_Familiar::fire_wisp_projectile only caller Entity_Familiar::FireProjectile for variant 0xce/0xed (Wisp/Item Wisp); get_wisp_config, AddBlueFlies, FireBrimstone
|
|
00a85710 tdefl_compress miniz: assert strings TDEFL_MIN_MATCH_LEN/TDEFL_LZ_DICT_SIZE, out-buf pow2 check returns -3 (TDEFL_STATUS_BAD_PARAM)
|
|
007dfaf0 Music::LoadConfig ZHL Music::LoadConfig(xmlpath, ismod): 'Could not find root node music in %s', layer/layerintro/layermode attrs, ModManager::TryRedirectPath
|
|
00850480 InfoDisplay::load_collectibles_xml ? info_display.xml 'collectibles' node (caller 0084eba0 does collectibles/trinkets/pills/cards); collectible id/info/text with player/notplayer/collectible/trinket/achievement conditions
|
|
007b0be0 Entity_Player::StoreGameState ZHL StoreGameState(GameStatePlayer*, bool saveTemporaryFamiliars): caller 00906100 does GameStatePlayer::Init(&s) then this(&s,1); copies 0x13c0 playerType etc into state
|
|
00728cc0 ItemConfig::load_wisp_node ? wisps.xml entry attrs coreColor/flameColor/tearColor/procChance/damageMultiplier; caller 0072a1b0 is likely LoadWispConfig
|
|
00722cb0 ItemConfig::parse_tags 'invalid tag: %s' with tag names angel/devil/battery/quest/offensive/nolostbr...
|
|
004a9860 NpcHelper::delirium_morph_update ? called twice by NpcAI::ENTITY_DELIRIUM; Taunt/JumpUp/Attack1/HeadlessAttack1 anims then Entity_NPC_UpdateAI_dispatch for the mimicked boss
|
|
0041e960 BeamRenderer::End 'Beam renderer needs per-vertex colors for Dogma'; RenderSegmentLink calls Begin, 5x 0041e720 (Add) then this; draws quads via shader
|
|
008fa390 ModManager::UpdateWorkshopMods ? ZHL name; walks 0x50-byte workshop entries, state 2 -> '#MOD_UNINSTALLING', '#MOD_INSTALLING'/'#MOD_UPDATING', writes /disable.it /unfinished.it, FileSystem::ResolvePath
|
|
00adebd0 th_decode_packetin libtheora decode.c: (dec, ogg_packet* op, granpos*); oc_pack_readinit on op->packet/bytes, 1-bit frame type, up to 3 6-bit qis; vendor string nearby
|
|
00acebf0 mapping0_inverse libvorbis mapping0.c: vb->vd at +0x40, vd->vi +4, vi->channels +4, vi->codec_setup +0x1c, alloca bundles, no callers (mapping_P table)
|
|
0062f7f0 FamiliarAI::bumbo Entity_Familiar::Update case 0x58 (88 BUMBO); Level1Float/Level2Idle..Level4Walking anims, PickEnemyTarget, FindFreePickupSpawnPosition
|
|
00618b00 FamiliarAI::gb_bug Entity_Familiar::Update case 0x5d (93 GB_BUG); Collide/Float anims, Entity_Pickup::Morph + IsChest on hit pickups, FollowParent
|
|
0064aab0 anm2_apply_gfx_overrides parses 'anm2=' 'spritesheet=' 'animation=' entries of a split string into an ANM2 (ANM2::Load, ReplaceSpritesheet, SetAnimation); used by locust config and Entity_NPC::HandleCollision
|
|
009f6e60 fire_fetus_tear ? (pos<ecx>, vel, variant 7, source, dmgMult): TearParams from GetTearHitParams(WEAPON_FETUS 0xe), Marked flag strip; callers sprinkler and Weapon_Fetus::Fire
|
|
00698e80 EntityConfig::load_boss_colors bosscolors.xml: 'Could not find root node bosscolors', 'Cannot patch boss colors for Entity %d.%d', EntityConfig::GetEntity; called from config loader 00952df0
|
|
00735a30 ItemPool::load_pools ZHL ItemPool::load_pools(xmlpath, ismod): 'Could not find root node ItemPools', 'Pool %s not found', Item/Weight/DecreaseBy/RemoveOn
|
|
0072b230 ItemConfig::load_locust_node ? locusts.xml entry attrs locustFlags/mutexFlags/shootGfx/overlayGfx/procChance; caller 0072ba80 has 'Could not find root node locusts' (= LoadLocustConfig)
|
|
009a6fe0 HUD::render_player_hud ? HUD::Render calls it per player index; this+idx*0x6dc PlayerHUD, draws hearts (00843df0), RenderSpellQueue, coop ghost alpha
|
|
00addab0 oc_dering_block libtheora pp.c: mod_hi=min(3*dc_scale, OC_MOD_MAX[]), mod=32+dc_scale-(abs(diff)<<shift), <-64 -> sharp_mod else clamp; caller oc_dering_frame 00adcd70
|
|
005b1a20 Entity_Player::moms_bracelet_grab ? this Entity_Player: when +0x1600 != 0x25c (Mom's Bracelet) picks the facing grid entity (CanPickupGridEntity/PickupGridEntity) or an enemy in radius -> TryHoldEntity; Rock1/redhost/mobile host gfx; no resolved callers (UseActiveItem jump table)
|
|
0060bae0 Entity_Effect::setup_loot_preview only caller CreateLootPreview, right after spawning 1000.191; questionmark.png, Pickup_PickVariant, ItemConfig::GetCollectible, forced/prevented curses
|
|
008e8af0 Menu_OnlineLobby::Render ? eMainMenuType ONLINELOBBY=17 is 008e8240 (Update); rendered from 0098a040; layers Menu_background3/Show_Password/Winstreak/Best_Winstreak/ChallengeName, '#RunStatus/*' and '#Online/*' strings
|
|
00a8a090 TheoraVideoManager::TheoraVideoManager theoraplayer ctor log 'Initializing Theoraplayer Video Playback Library (', '- libtheora version:', '- libvorbis version:'
|
|
009f0290 rich_text_layout ? (text, font, w, h, out lines): splits markup text into runs (type 0 text drawn via 00a1b050, 1-4 icon types via 009f24b0); caller 009efdb0 renders with inline redheart/soulheart/blackheart/collectible icons
|
|
009efdb0 rich_text_render ? renders lines from 009f0290 with inline heart/pickup/collectible icons; used by PlayerHUD::RenderHearts and item info pages
|
|
00616770 FamiliarAI::bobs_brain Entity_Familiar::Update case 0x30 (48 BOBS_BRAIN); WalkDown/WalkHori/WalkVert, PickEnemyTarget, FindGridPath, SpawnEx explosion
|
|
0062e9c0 FamiliarAI::lost_fly Entity_Familiar::Update case 0x55 (85 LOST_FLY); QueryRadius + IsVulnerableEnemy + Entity_NPC::TryForceTarget (distracts enemies), CheckLine
|
|
00638170 FamiliarAI::mystery_egg ? Entity_Familiar::Update case 0x7c (124); 'Crack' event -> SpawnEx enemy, MakeChampion, AddCharmed, BloodExplode; FollowParent
|
|
006196e0 FamiliarAI::variant_53 ? Entity_Familiar::Update case 0x35 (53); moves along Entity_Player::GetShootingJoystick *1.25, Float/FloatSide/StoppedDown anims, PlayShootAnim, Room::CheckLine (Robo-Baby 2.0 like)
|
|
0061c3f0 FamiliarAI::variant_66 ? Entity_Familiar::Update case 0x42 (66); 'Walking', PathFinder, shoots (apply_tear_modifiers/convert_shot_for_enemy_owner), SpawnEx(3,0x49)
|
|
0064fd40 FamiliarAI::variant_241 ? Entity_Familiar::Update case 0xf1 (241); Idle/Move Down/Hori/Up, PickEnemyTarget, FindGridPath, MakeSplat, AddPersistentEntity, cap 5 (10 with Mom's Wig 217)
|
|
00644780 FamiliarAI::variant_204 ? Entity_Familiar::Update case 0xcc (204); spawns child effect 1000.166 at +0x3c0 (scale .6, tinted), GetOrbitPosition, HasEntityFlags
|
|
00755470 Entity_Player::Init 'Got non existing player type %d in Player::Init!', '[Frame: %d] Initialized player with Variant %d and Subtype %d', Entity::Init, GetGlitchBabySubType; vtable (no direct callers)
|
|
00a87300 tdefl_optimize_huffman_table miniz: num_codes[33] memset 0x84, counts m_huff_code_sizes[table][i] when static_table, this=tdefl_compressor, EDX=table_num
|
|
00ae4bf0 oc_idct8x8_mmx ? libtheora MMX idct: pmulhw with OC_C1S7 0xfb15, OC_C2S6 0xec83, OC_C3S5 0xd4db, OC_C5S3 0x8e3a, OC_C7S1 0x31f1; (y, x) int16x8 rows
|
|
00a1bd80 Font::render_glyph_quads ? this Font (+0x14 line height); draws a vector of 12-byte glyph entries with 'KAGE_ColorTextureShader', alignment switch 3-8; Console::RenderHistory after layout 00a1bb10
|
|
007bb5e0 Entity_Player::coop_baby_death_effect ? TriggerDeath calls it when _variant==1 (co-op baby) before removal; spawns blue flies/spiders, ThrowSpider, FireTear, UseCard(0x14)
|
|
006f8140 Game::restore_game_state ? (GameState* state, bool) copies seeds/stage/flags from state into Game, Level::RestoreGameState, Ambush::StartChallenge, 'RNG Start Seed: %s (%u) [Continue, %d]'; callers 00706020 (hourglass restore) and 00959720
|
|
006f9000 Game::store_game_state ? (GameState*) mirror of 006f8140: ItemPool::StoreGameState, Seeds copy, 009bd150; callers Game::save_rewind_state, 009172f0, 00958ed0
|
|
009172f0 write_game_state_to_stream ? writes header, player list then 006f9000 + GameState::write into 128K stack buffer, miniz compress (00a850f0/00a85140), 'Buffer overflow'; caller 00916f70 (no callers; online)
|
|
00904050 make_timestamp_string sprintf_s(global,0x40,'%02d_%02d_%d__%02d_%02d_%02d'); caller 009047f0 appends it to 'online_logs/desyncs/'
|
|
009e14b0 trigger_effect_execute ? called from trigger_set_dispatch; switch on effect type: 0 UseActiveItem, 1 AddCollectibleEffect, 2/4 Spawn, 3 tear flags, 5 Game::Fart; 'Collectible ID out of bounds!'
|
|
009cb020 read_entity_save_state_tree ? reads EntitySaveState fields from stream (vtable+0x14) via 00683410, recurses for children (0x78 stride); caller 009cb620 (game state read)
|
|
0098dba0 Game::update_map_input ? Game::Update helper: per local player input_is_action_pressed(0xd ACTION_MAP), Level::ShowName(1), HUD_Message::text_out
|
|
0097fe60 Entity_Laser::update_sample_points ? update_laser helper: walks +0x480 8-byte vector, angle +0x41c deg->rad, normalize_angle_degrees/atan2
|
|
0096d160 Entity_Laser::get_segment_start_dir ? (outPos, outDir): default pos +0x33c, else interpolates between stored sample points; followed by Vector::GetAngleDegrees in update_laser
|
|
0097f820 Entity_Laser::spawn_impact_effect loads gfx/1000.050_brimstoneimpact_static.anm2, Spawn; callers update_laser and 009704a0
|
|
00417930 Room::init_render_buffers ? Room::constructor helper: allocates 4 buffers (0x4000/0x100/0x800/0x4000 entries), EntityList::Reset, Manager::LoadImage gfx/shadow.png
|
|
009956e0 render_color_quad_list ? renders list of 0x4c-byte entries (+0x18..+0x1c) with 'KAGE_ColorShader' via render_quad_set_rect; Room::Render and 0080ea80 (render target pop)
|
|
006b6ed0 Entity::get_water_splash_variant ? Entity::Update when room water level >0: picks effect variant (0x40/0x26/0x25/0x1b/0x19) by entity type/variant, Room::IsMirrorWorld
|
|
004291c0 update_cutscene_state_machine ? Game::Update after HUD::Update: state 2..5 timers, sound 0x341, Camera::SetFocusPosition lerp, entity_vector_set_flag_410, 00429810(3/5)
|
|
009446e0 Camera::update_follow Camera::DoUpdate non-override branch: computes target, ring_buffer_push ('Cannot erase from empty buffer'), Camera::ClampedToRoom
|
|
00732fa0 ItemPool::pick_weighted_item ? (pool, rng float) weighted pick with repicks, Item::IsAvailable, RemoveCollectible; '[warn] item pool ran out of repicks'; GetCollectible calls it
|
|
00581430 NpcAI::rotgut_fire_projectiles ENTITY_ROTGUT calls on Shoot event; ProjectileParams + Entity_NPC::FireBossProjectiles toward GetPlayerTarget
|
|
0074d4a0 Level::prepare_blue_room ? StartRoomTransition: when target room flag 0x40000, builds RoomDescriptor DAT_00c81090 via RoomConfig::GetRandomRoom type 0x1c (ROOM_BLUE), caller sets room idx -0x10
|
|
005911b0 NpcAI::siren_release_stolen_items ENTITY_SIREN_main state 0x12: 'Death', AnimateCollectible 'Pickup'/'PlayerPickupSparkle' on owner +0xf40, RemoveCollectible 0x51/0xb, Spawn 0x388
|
|
00a13750 kage_graphics_flush ? compares global render state DAT_00c79900.., 00a670c0/00a66e30 submit; called from Entity::PostRender after shader set and 00a11080
|
|
00824800 Room::update_ambient_spawns ? Room::Update tail: Room::GetTimeScale, random SpawnEx(1000,0x87) at clamped positions
|
|
004bc8c0 NpcHelper::horny_boys_pull_entity ? (slot, targetPos): entity from ring +0xbf4/+0xbf8/+0xbfc, only type 4 (bomb), sets its parent +0x3bc to npc and velocity toward target scaled 10..28
|
|
009c6860 load_preloads_xml 'Could not find root node preloads in %s', preload nodes; Game::LoadConfigXmls
|
|
005aef20 NpcAI::wormwood_pick_emerge_position ? ENTITY_WORMWOOD_main calls it in state 3 and when _v1 is invalid; GetPlayerTarget/CalcTargetPosition + Room::GetGridIndex, writes +0x334/+0x338 and velocity, _state 3 -> 8, 0xba4 = -1
|
|
008d5f70 render_item_info_text ? shared by 008d5440 (CollectibleDesc/Title/ItemPools), 008d5640 (TrinketDesc), 008d57f0 (PocketDesc): string_table_translate + rich_text_render 009efdb0, Game::GetPlayer
|
|
008e0660 render_lobby_info ? online lobby panel: '%d / %d Players', '#Online/IN_LOBBY', lobby_mode/lobby_tag/game_difficulty/current_stage, LobbyInfoTextPos, Font::DrawStringScaled; 3 lobby-menu callers
|
|
009dbdd0 Menu_Save::update_save_drawings ? swaps gfx/ui/main menu/SaveDrawings/*.png (1SaveFileToGo, Complete1-3, Infinity1-3) per slot layer; callers Menu_Save::Reset, 0098aa30, 009d9c60
|
|
009fa450 Weapon_Bone::Fire Weapon_Bone vftable slot 3 (Fire); gfx/tears_brokenbone.png, TryForgottenThrow, Entity_Knife::Shoot
|
|
00a0a720 Weapon_Tears::Fire Weapon_Tears vftable slot 3 (Fire); gfuel promo casing/muzzle_flash anm2, GetMultiShotParams, TriggerTearEffects
|
|
00aa5250 stb_vorbis::start_decoder stb_vorbis lookup1_values asserts "pow((float) r+1, dim) > entries", ogg.cpp, "vorbis" header check
|
|
00800500 Room::update_ambient_sounds this=Room; averages player positions, then SFXManager::SetAmbientSound x8 smoothing volumes stored at Room+0x7084..; called from Room::Update
|
|
0080c810 Room::render_grid_entity_light this=Room (+0x1d18 backdrop); switch GridEntity type PIT/DOOR/TRAPDOOR/PRESSURE_PLATE/TELEPORTER drawing glow sprites into light target; called per grid entity from light pass FUN_0080ea80
|
|
00a052b0 Weapon_Laser::Fire Weapon_Laser vftable slot 3 (Fire)
|
|
00a0e630 Weapon_UrnOfSouls::Fire Weapon_UrnOfSouls vftable slot 3 (Fire)
|
|
00aa44d0 stb_vorbis::vorbis_decode_packet_rest stb_vorbis assert "f->alloc.alloc_buffer_length_in_bytes == f->temp_offset" (vorbis_decode_packet_rest), ogg.cpp
|
|
00a87970 miniz::tdefl_start_dynamic_block miniz.cpp asserts "code < TDEFL_MAX_HUFF_SYMBOLS_2" and "bits <= ((1U << len) - 1U)" (tdefl_start_dynamic_block/tdefl_optimize_huffman_table inlined)
|
|
0078ca00 Entity_Player::Render Entity_Player vftable slot 5 (Entity::Render); IsInvisible, GetFlyingOffset, Font::DrawString
|
|
009b31c0 Menu_Options::Render option label layer names (Fullscreen, Gamma, HUDOffset, MapOpacity...), called from menu render dispatcher FUN_0098a040 beside Menu_DailyChallenge::Render
|
|
008f06e0 Menu_SpecialSeeds::Render PaperTop/PaperMiddle/PaperBottom, NoAchievement, {numseeds}, Seeds::CanAddSeedEffect, string_scramble_seeded; called from menu render dispatcher FUN_0098a040
|
|
00859290 Leaderboard::render_scores Leaderboard state 1 render (TextGlobal/TextFriends/TextMine, SoloScore, "Lv%2d %d:%02d:%02d", #LEADERBOARD_NO_ENTRIES), from FUN_00858050 state switch
|
|
00780f40 Entity_Player::update_bomb_input ACTION_BOMB (8) input_is_action_triggered -> place bomb (GetBombFlags, check_bomb_tearflags) or Tainted Blue Baby (playertype 0x19) UsePoopSpell/poop_spell_roll/AddPoopMana; called from Entity_Player::Update (vtable slot 3 = 00782af0)
|
|
0085f0f0 lua_searcher_resources_scripts Lua package searcher: appends ".lua", tries "resources/scripts/" path, builds "\n\tno file" message; called by FUN_0085fcc0 ("error loading module")
|
|
00950610 Manager::constructor PersistentGameData::constructor at this+0x14 (Manager.zhl _persistentGameData : 0x14), ModManager at +0x2a6c0, Seeds::constructor, CutsceneEntry array; object is g_Manager (DAT_00c7169c)
|
|
0054a350 NpcAI::ENTITY_SKINNY_crispy called from NpcAI::ENTITY_SKINNY when type 0xe2 variant 2 (Crispy); strs HeadAngry/HeadTransition/WalkHori/WalkVert
|
|
009439d0 Camera::update_focus_position ? real body of Camera::DoUpdate (called unless camera mode 2); "No main player detected when trying to update camera", Epic Fetus target/knife/laser focus, position ring buffers, Camera::ClampedToRoom
|
|
00419e70 EntityList::rebuild_sublists ? this=EntityList: clears 8 sublists (FUN_0041baf0 x8), walks entities assigning +0x24 index and pushing by type ("EL: not enough space for push_back"), Entity::CollideWithGrid; called from FUN_004186c0 (EntityList update)
|
|
0068b260 Console::Update ? GLFW input.c asserts, Console::FillOmnicomplete; called from Manager update loop FUN_00954cd0 and FUN_006fa540
|
|
0080ea80 Room::render_lighting ? Game::Render -> this: sets light render targets (DAT_00c797b4/DAT_00c797cc), renders each entity light then FUN_0080c810 per grid entity, curses via Seeds::GetForcedCurses, then FUN_00825de0 overlay; "PopRenderTarget: stack is empty!"
|
|
00825de0 Room::render_darkness_overlay ? called at end of Room light pass FUN_0080ea80; KAGE_ColorShader, Seeds::GetForcedCurses/GetPreventedCurses (Curse of Darkness), render_color_shader_pass, Game::IsPaused
|
|
007fe220 Room::update_player_trail_spawns ? Room::Update helper: walks player position history (+0x1794, 16-byte entries, cap 46); Hallowed Ground (0x21f) poop grid spawn, Midas Touch (0xca), trinket 0x5b, spawns effect 1000.33 (PLAYER_CREEP_HOLYWATER) at Game::GetRandomPlayer
|
|
00821fc0 Room::is_obstacle_path_valid ? flood fill over 448-cell grid arrays after temporarily placing obstacle (GridEntity_Pit::UpdateCollision, Room::PickupGridEntity); called per candidate from Room::CanSpawnObstacleAtPosition
|
|
00741e60 Level::generate_boss_room ? this=Level (+0x182cc _roomCount), param LevelGenerator: picks boss id, FUN_00739080 boss room config ("[warn] could not find matching boss room (boss id: %d)"), RNG::Next, LevelGenerator::GetNewEndRoom/place_room
|
|
0093b760 Backdrop::spawn_wall_details ? this=Backdrop (+0x150 backdrop id, +0x4f28 RNG): per wall slot spawns effect 1000.121 embers / 1000.140 decoration entities with gfx/backdrop/*_details, *_torches, *_pipes anm2 by backdrop type; called from FUN_007f1380
|
|
00952410 Manager::Init ? zhl has Manager::Init but its sig missed; loads stringtable.sta/stringtable_pc.sta, options.ini (falls back through Repentance/Afterbirth+/Afterbirth/Rebirth dirs), SteamCloud check, Game::constructor, ModManager::ListMods, Seeds::InitSeedInfo
|
|
0095df20 Manager::update_state_loading ? Manager update loop FUN_00954cd0 case 3 (menu=1, game=2); "##GAME###Online/WAITING_FOR_PLAYERS", CutsceneEntry::Unload, TextureCache::Purge, netplay message 0x11, "Attempting to create a message when there is no multiplayer service"
|
|
00647320 FamiliarAI::apollyons_best_friend Entity_Familiar::Update case 0xe7 (variant 231); EvaluateItems: CheckFamiliar(0xe7, GetTrinketMultiplier(0xba)) with trinket 186 TRINKET_APOLLYONS_BEST_FRIEND; CanBlockProjectiles, TryAimAtMarkedTarget, HitListContains
|
|
0064bfa0 FamiliarAI::worm_friend Entity_Familiar::Update case 0xe9 (variant 233); EvaluateItems CheckFamiliar(0xe9) from collectible 0x2aa COLLECTIBLE_WORM_FRIEND; strs GrabLoop/GrabEnd/Shoot, Entity::AddSlowing
|
|
0064d5f0 FamiliarAI::star_of_bethlehem Entity_Familiar::Update case 0xec (variant 236); EvaluateItems CheckFamiliar(0xec) from collectible 0x28b COLLECTIBLE_STAR_OF_BETHLEHEM; Level::GetRoomByIdx path toward boss, SpawnEx 1000.0x70
|
|
006468a0 FamiliarAI::lil_dumpy Entity_Familiar::Update case 0xd4 (variant 212); EvaluateItems CheckFamiliar(0xd4) from collectible 0x267 COLLECTIBLE_LIL_DUMPY; Game::ButterBeanFart on contact, Idle/IdleFast/IdleFaster
|
|
006384a0 FamiliarAI::lil_spewer Entity_Familiar::Update case 0x7d (variant 125); EvaluateItems CheckFamiliar(0x7d) from collectible 0x219 COLLECTIBLE_LIL_SPEWER; ChargeDown/ChargeSide/FloatShootDown, apply_forgotten_lullaby
|
|
0061c910 FamiliarAI::punching_bag Entity_Familiar::Update case 0x43 (variant 67); EvaluateItems CheckFamiliar(0x43) from collectible 0x119 COLLECTIBLE_PUNCHING_BAG; PathFinder::EvadeTarget/FindGridPath, QueryRadius
|
|
00630c90 FamiliarAI::spider_mod Entity_Familiar::Update case 0x5e/0x71 (variants 94 and 113); EvaluateItems CheckFamiliar(0x5e)/CheckFamiliar(0x71) from collectible 0x193 COLLECTIBLE_SPIDER_MOD; random walk via PathFinder, Room::GetRandomPosition
|
|
005971e0 NpcAI::ENTITY_BEAST_soul ? dispatch type 951 (Beast) variant 3; sinusoidal wandering projectile-like body with Game::DamageRadius, random launch angle at state 0
|
|
005ad250 NpcAI::ENTITY_VISAGE_chain dispatch type 903 (Visage) variant 10 (chain); siblings ENTITY_VISAGE (0), ENTITY_VISAGE_mask (1), FUN_005ad8a0 (0x14 plasma)
|
|
0059c5d0 NpcAI::ENTITY_TURDLET_segments ? called from NpcAI::ENTITY_TURDLET, npc only; BodySegments/Bounce/HeadRotate null frames and layer frames by segment count (+0xc8)
|
|
00561580 NpcAI::ENTITY_FLY_orbit_parent ? called from NpcAI::ENTITY_FLY, npc only; steers toward target +0x3bc, timing from Entity_NPC::ParentNPC I1 (>0x28), QueryNPCsSpawnerType
|
|
006d9550 NpcHelper::Polty_SpawnRockProjectile called from NpcAI::ENTITY_POLTY; Game::SpawnEx(9,8 = PROJECTILE rock) with Isaac::SwapANM2 of grabbed object sprite, Entity::SetSize x3; returns projectile
|
|
006d7520 Entity_NPC::update_blood_guide_gibs ? called from Entity_NPC::Update with Sprite::GetNullFrame("BloodGuide"); for 912.10 (Mother phase 2) or entity-config flag bit 13: spawn_blood_explosion at null frame, BloodStart/BloodStop events, PlayerManager::GetGFuelCount promo effect 1000.17
|
|
009a8b90 Entity_NPC::render_debug ? called from Entity_NPC::Render; hsv_to_rgb colored render_quad_set_rect quads, no sprite work
|
|
006324d0 Entity_Familiar::render_charge_indicator ? called from Entity_Familiar::Render; plays Charging/Charged/StartCharged/Disappear on ANM2 at +0xdcc from charge timer +0xd4c, apply_forgotten_lullaby, NetplayManager::IsIdxLocalPlayer
|
|
00435290 Entity_Effect::render_player_target ? called from Entity_Effect::Render and FUN_00435130; dyncast Entity_Familiar::ExtraData -> UmbilicalBabyData, player-colored (NetplayManager::IsIdxLocalPlayer) quads
|
|
0098ef30 Minimap::render_score_time ? caller FUN_0098e4d0 (HUD::Render -> minimap render, "Frame"); #MINIMAP_SCORE_LABEL/#MINIMAP_TIME_LABEL, "%02d:%02d:%02d", ScoreSheet::Calculate, GetExtraLives
|
|
0094e910 Menu_Collection::Update MenuManager update FUN_009897d0 case 8 (MainMenuType COLLECTION); pages of 0x78 items, ItemConfig::GetCollectible + Manager::LoadImage
|
|
00a1c7d0 Font::draw_glyph_run ? called by GenericPrompt::Render and menu renders; KAGE_ColorTextureShader, horizontal alignment switch on FontSettings (3-5 center, 6-8 right) over 12-byte glyph vector, "Shader stack empty"
|
|
00409cb0 render_build_sprite_quad ? called by AnimationLayer::RenderFrame, Game::Render, Entity_Player::Update/Render; flips via sign bit from layer flags (+0x100/+0x101), KColor::SetFromARGB then FUN_00a10950/FUN_00a10760 quad submit
|
|
0080e320 Room::pick_special_clear_award ? called from Room::SpawnClearAward; by room +0x1bb0 type switch writes collectible ids (0x27f, 0x180, 0x242, 0x219) checked with ItemPool::is_collectible_available, RNG::RandomInt
|
|
007fa360 Room::remove_grid_entity_for_spawn ? called from Room::SpawnClearAward after FindFreePickupSpawnPosition with grid index; nulls grid slot (+0x24 array) and +0x76c entry, fixes neighbor pits (GridEntity_Pit::UpdateCollision), QuerySublist
|
|
007f0870 Room::check_line_collision ? bool(Vector* from, Vector* to, ..., char, ...) stepping the grid with Room::GetGridCollision over 0x1c0 cells; used by NpcAI::ENTITY_CLICKETY_CLACK and FUN_009a0520; sibling of Room::CheckLine
|
|
008128f0 Room::render_debug_grid_values ? called from Room::Render; sprintf_s of per-cell +0x76c value for every grid cell, drawn with font FUN_00a1bb10/FUN_00a1bd80
|
|
00713ee0 GridEntity_Pit::update_sprite_edges ? called from GridEntity_Pit::PostInit; checks 8 neighbors via FUN_00813420(x,y) to pick edge animation/layer frames ("LayerId out of bounds")
|
|
0096f070 Entity_Laser::copy_from_parent ? called from Entity_Laser::update_laser; copies timeout/flags/offset fields from param laser (+0x3dc,+0x4d4,+0x4e0,+0x500..0x515) then Entity_Laser::ResetSpriteScale
|
|
00967650 Entity_Knife::update_target ? called from Entity_Knife::Update; scans room entity list for Entity::IsVulnerableEnemy not IsDescendantOf parent (+0x3c8) within range, atan2f, stores +0x3c4
|
|
0075a700 Entity_Player::update_item_anims ? this=Entity_Player (+0x1220 item-anim array of 0x130 entries, count +0x122c); Weapon::is_held_item, "_Overlay" ANM2::SetOverlayAnimation; called from Weapon::UpdateHeadChargeAnimation
|
|
00745ca0 Level::get_stage_display_name ? string out; RoomConfig::GetStageID + RoomConfigStage::GetDisplayName, appends "!"/"!!"/"!!!"/"!V"/" Spikes"/"... Please stop." suffixes, string_scramble_seeded; called by Level::GetName and menus
|
|
007387d0 RoomDescriptor::operator_assign copies 0x2e dwords (RoomDescriptor size 0xb8) from param to this; called from Level::reset_room_list
|
|
009beba0 players_center_position ? (Vector* out, bool useCache): averages positions of local non-coop-ghost players (PlayerManager list at Game+0x1baa8, netplay local check), frame-cached; used by camera update, Room::update_ambient_sounds, NpcAI::ENTITY_DOGMA
|
|
009ae640 LevelGenerator::try_place_room ? called from level generator FUN_00739370; LevelGenerator_Room::constructor + get_door_target_position + place_room, returns success
|
|
00420ba0 Game::load_bossoverlays_xml called from Game::LoadConfigXmls with "bossoverlays.xml"; parses anm2root/entry/persist/bossoverlay attributes via xml_node
|
|
008d2450 Game::render_debug_overlay ? called at end of Game::Render on this; state +4==2 draws colored bars FUN_00424d70 and iterates 12-byte entry lists at +0x7cc
|
|
0090f760 NetplayManager::process_drop_player_message "Recieved Drop Player Message", eDropMessageType::MSG_DROP_EXECUTE, "This function should only be called on consolidated messages"; called from FUN_0090b150
|
|
00a5cd20 _glfwCreateWindowWin32 GLFW win32_window.c: "Win32: Failed to register window class", "Win32: Failed to create window", GLFW_ICON, "Win32: Failed to query monitor DPI"
|
|
00a83290 _glfwCreateContextEGL GLFW egl_context.c: "EGL: Failed to create context: %s", "EGL: Failed to bind OpenGL", attribs assert
|
|
00a98430 png_read_row libpng pngread.c: "NULL row buffer for row %ld, pass %d", "png_do_dither returned rowbytes=0"
|
|
00ad6ad0 jpeg_idct_islow libjpeg jidctint.c: reads coef rows 0/2/4/6 (0x20/0x40 byte strides) times quant table, CONST_BITS 13 shift, range_limit = cinfo->sample_range_limit + 128 (cinfo+0x124)
|
|
00abc500 dsp_init_sincos_table ? (this, int n): 2*pi/n (DAT_00baa7a8 = 6.2831855) then libm cos/sin per element, 3855 bytes of pure arithmetic with no game calls; once from FUN_00abd410 <- FUN_00acebf0 (memset/alloca, no strings) in the audio/image library block before jpeg_idct_islow
|
|
00586c40 NpcAI::ENTITY_SCOURGE_projectile_attack ? called every 30 frames from the Scourge 909.0 body (00587aa0, misnamed Entity_Familiar::HandleCollision) when target +0x3c0 set; ProjectileParams + Entity_NPC::FireProjectiles toward Entity_NPC::GetPlayerTarget, Game::Spawn
|
|
0083c8d0 HUD::update_item_info ? called last in HUD::Update; item description panel: "##GAME###ITEM_INFO_UNIDENTIFIED", "<color=0xFF00FF00>Spins down into <collectible=" (Spindown Dice 0x2d3), ItemConfig::GetCollectible/GetTrinket/GetCard, ItemPool::GetPillEffect, questionmark.png; sub-object with ANM2 at +0x10
|
|
009555c0 Manager::Render ? sits right after Manager::Update (FUN_00954cd0, 2223 bytes); renders Game::Render then menu render dispatcher FUN_0098a040 into targets with Exposure/Gamma/ScreenSizePow2 shader uniforms, Font::DrawString; caller FUN_008fb120 (main loop, "Updating mod")
|
|
007ae4b0 Entity_Player::RestoreGameState GameStatePlayer* param: SetControllerIndex from state[0x149], playerType, "Could not load config for player type"; caller passes player+0x20ec (_unlistedRestoreState 0x20c0 + 0x2c drift); zhl sig missed
|
|
0043aa90 Entity_Familiar::ai_wisp Entity_Familiar::Update callee; variant 0xce (WISP), ItemConfig::get_wisp_config, subtypes 0x28a/0x2c5/0x25c items, SpecialDown/SpecialUp anims
|
|
008c66a0 Menu_Bestiary::Render draws #BESTIARY_KILLS/DEATHS/HITS/HP text, GetBestiaryKillCount, EntityConfig::GetBestiaryConfig; ECX = MenuManager+0xd4d0 (zhl _menuBestiary 0xd490 + drift) in menu render aggregator 0098a040
|
|
008ddae0 Menu_OnlineLobby::Render strings LobbyList, RefreshButton/FiltersButton/CreateButton Position, EnterPasswordPaper, "Unhandled scope type (%d) in Menu Lobby List"; called from MenuManager::Render 0098a040
|
|
009356a0 Backdrop::render_floor_to_target ? called from Backdrop::load_details helper 009353b0; SetRenderTarget+Clear, tiles 13x7 rects (0xd,7) and 2x2 corner pieces, RNG variant pick
|
|
0072ece0 ItemConfig::LoadBombCostumes parses bombcostumes.xml (bombcostumes/anm2root/rule/includeFlags/excludeFlags/front/front2/overlay/suffix); ECX=Manager+0x2a404 (ItemConfig in this exe), stores at this+0x110; caller loads all config xmls
|
|
004186c0 EntityList::Update "EntityList: e_update is empty!", "EL: invalid index for remove"; iterates update list calling Entity vtable +0xc (Update); callers Room::Update, Game::update_pending_pickup_animations
|
|
0061a4e0 Entity_Familiar::ai_pickup_sack ? Entity_Familiar::Update cases 0x18/0x40/0x5a/0x66 (Bomb Bag-style pickup spawners): PreSpawn/FloatDown anims, FindFreePickupSpawnPosition, ThrowSpider/spawn_blue_spider, BFFS 0xf7 check
|
|
00650610 Entity_Familiar::ai_variant_242 ? Entity_Familiar::Update case 0xf2: "Transform" anim, GetSeededCollectible + MakeShopItem + AssignOptionsIndex, FirstPlayerByType(0x21), RemoveFromFollowers
|
|
00440f00 NpcAI::ENTITY_BEAST_ultra_death 951 Beast variant switch case 0x28 (variant 40 Ultra Death) at 006c4186; anims Swing/SwingPrepare(Loop)/SummonStart/Loop/End, spawns 951.41 (scythe) and 951.42 (skull) on "Shoot" event; npc_ai.tsv only lists NpcAI::ENTITY_BEAST
|
|
0044f2b0 NpcAI::ENTITY_BEAST_ultra_war_bomb ? 951 variant switch case 0x1f (variant 31) at 006c417d; "Pulse" anim, falls until y > room bottom-30 then spawns 1000.181 + Game::BombDamage/BombExplosionEffects, RemoveWithPoof; inlined Game::Spawn pickup randomization
|
|
00447180 NpcAI::ENTITY_BEAST_ultra_famine_fly ? 951 variant switch case 0xb (variant 11); m_Parent downcast, CalcTargetPosition, IsPositionInRoom, 1299 bytes
|
|
00444900 NpcAI::ENTITY_BEAST_ultra_death_head ? 951 variant switch case 0x2a (variant 42); "DieLoop", MakeGroundPoof, SFXManager::Stop, Game::start_poop_cloud_screen_effect
|
|
00471050 NpcAI::ENTITY_GEMINI Gemini (79) inline case: after FireProjectiles, variant < 10 -> this (variants 10..19 Contusion/Suture -> 00471cc0); anims Hori/Vert/WalkHori/WalkVert/IdleHead/RageBody, m_Child downcast, SetBossColorIdx, PathFinder::FindGridPath
|
|
004b0a30 NpcAI::ENTITY_DOGMA_tv 950 Dogma block 006c40c7 switches on variant-1: variant 1 -> this, variant 2 -> 004ae4d0; anims Destroyed/Shoot/Transition, ChildNPC, RemoveStatusEffects
|
|
008453c0 PlayerHUD::RenderActiveItem (slot, ANM2*, layout, size, alpha): BarEmpty/BarFull/BarOverlayN charge bar layers, GetTotalActiveCharge/GetActiveMaxCharge, ItemConfig::GetCollectible, HasPlayerForm; zhl sig missed
|
|
00854940 InfoDisplayConfig::parse_item_node ? parses info_display.xml item nodes: id/info/text with player/notplayer/collectible/notcollectible/trinket/nottrinket/achievement/tag conditions; caller 0084eba0 reads cards/collectibles/pills/trinkets groups, ECX=Manager+0x2a530
|
|
009b23a0 Menu_Options::Update called from MenuManager::Update (009897d0) with ECX=MenuManager+0xcecc (zhl _menuOptions 0xce8c+0x40) and +0xeb50 (second options instance); "Lua is resetting!", mods toggle -> reload xml/anm/texture caches, OptionsConfig::Save/SetMusicVolume
|
|
008d8b00 Menu_KeyConfig::Update ECX=MenuManager+0xd284 in MenuManager::Update (zhl _menuKeyConfig 0xd244+0x40); "ActionId is out of range", input vtable polling
|
|
008ccc70 Menu_Online::update_mode_select ? parent 008cbfe0 is the Rep+ online menu Update (MenuManager+0xedd8; siblings use Idle_Challenge/Idle_DailyMatch/Idle_FriendMatch, "Creating public lobby"); state this+0x7d8 0..4 over 0x120-byte entries, input vtable polling
|
|
0079f3c0 Entity_Player::update_ladder called every Entity_Player update: HasCollectible(60 Ladder), player+0x1424 cached effect ptr, spawns 1000.8 (EffectVariant LADDER) via inlined Game::Spawn, GridEntity_Pit::UpdateCollision, trigger_set_dispatch
|
|
00813d90 Room::init_shop_item_slots ? called by Room::ShopRestockFull on room types 2/0x16: fills RoomDescriptor+0x94..0xa2 int16 shop slot item types (RNG::Shuffle), ShopItemIdx 0xac / ShopItemDiscountIdx 0xae, IsGreedMode
|
|
0080bd20 Room::render_player_light ? Room::Render loop over room players: renders Room+0x6e40 ANM2 at player pos scaled by TemporaryEffects::GetNullEffectNum(0x4a) (max 4) when HasNullEffect(0x4a), RandomFloat flicker, _babySkin==0x42 branch
|
|
008d4940 OnlinePlayerInfo::render_items ? layers Items/Trinkets/Cursor, Entity_Player::HasCollectible/HasTrinket, ModManager::RenderCustomCollectionItem; chain Game::Render -> 008d2450 (Game+0x25108, Rep+ struct after PauseScreen) -> 008d3640 (BackButton) -> this
|
|
0095b310 Manager::update_controller_popups ? ##GAME###CONTROLLER_DISCONNECTED_* / RESELECT_CONTROLLER_* / ##PLATFORM###UNRECOGNIZED_CONTROLLER_* strings, SetControllerIndex; called from main loop 00954cd0
|
|
005c88a0 Entity_Player::reroll_collectibles_on_damage only caller take_damage_impl; playerType 0x1e (Tainted Eden) check, CanRerollCollectible, ItemPool::GetCollectible/ResetCollectible, AddCollectible, ClearCostumes, zeroes stat modifiers
|
|
005caa70 Entity_Player::console_spawn ? ECX=player (pos +0x33c, +0x1770), param_1 = parsed spawn vector (type,variant,subtype,count), from Isaac::ExecuteCommand handler 0068cdc0; AddCharmed/LoadDeliriumForm/AddWisp/ShowHallucination/AddPersistentEntity options
|
|
004f5f20 NpcHelper::ball_and_chain_render_chain Entity_NPC::Render for type 0x37d (893 Ball and Chain) when pos.y past targetPosition: renders chain layer segments via Sprite::RenderLayer
|
|
00970cb0 Entity_Laser::find_nearest_grid_hit ? ECX=laser: walks sample vector +0x48c..+0x490 offset by param_2, Room::GetGridCollision/IsPositionInRoom, stores min distance +0x544 and point +0x548/+0x54c; caller 009737b0 (from update_laser/UpdateHits) presets +0x544 = +inf
|
|
0099f2c0 laser_sample_trace_entities ? called from Entity_Laser::update_laser; ECX struct {laser*, x0,y0,x1,y1,...}: Entity::IsDescendantOf filter, Room::CheckLine(…,3), steps +0x13 by 24px and rewrites end point [3],[4]
|
|
008e9ac0 Menu_OnlineLobby::init_lobby_view ? zeroes lobby fields (+0x68c..+0x954), sets "PlayerInfo" anims per slot, sends "current_stage"/"current_stage_type" message ("Attempting to create a message when there is no multiplayer service"); callers: MATCH_ENDED, LOBBY_KICKED, lobby joined
|
|
009f1380 rich_text_parse_icon_tag ? str_eq on tag names player/pickup/rooms/collectible/color/default/redheart/soulheart/blackheart, advances x by icon width and sets kind 2/3/4; called from text renderer 009f0290 used by PlayerHUD::RenderHearts and Rep+ player info
|
|
0042fba0 OnlineEmotes::load_anm2 ? loads gfx/OnlineEmotes.anm2 into this+0x14 and this+0x128 (Angel/Bubble/Devil/Happy/Heart/Nicalis/QuestionMark/RaiseHand/ThumbsUp/...); called from 008d1d60 in Game::LoadConfigXmls
|
|
00634b10 Entity_Familiar::ai_lil_spewer ? Entity_Familiar::Update case 0x77: FollowParent, TryFireTear, Sprite::ReplaceSpritesheet + LoadGraphics picked by RNG (pill-colour style), convert_shot_for_enemy_owner, forgotten lullaby
|
|
006424d0 Entity_Familiar::ai_bird_cage Entity_Familiar::Update case 0xd2 (210 Bird Cage): Flying/JumpDown anims, Game::BombDamage + ShakeScreen on landing, PickEnemyTarget, flies via 0061b8c0
|
|
0061b8c0 Entity_Familiar::ai_flying_bird ? Entity_Familiar::Update cases 0xe/0xf/0x3f and from Bird Cage 006424d0: Flying (0xe,0xd2), FlyingTransparent (0xf), Float/FloatChase (0x3f), Idle; PickEnemyTarget
|
|
0062d300 Entity_Familiar::ai_incubus_shot ? Entity_Familiar::Update cases 0x3d/0x6c/0xe6 after FollowParent: IsLilithBirthrightIncubus, get_incubus_umbilical_whip, PlayCharge/Shoot/FloatAnim, FireBrimstone/FireProjectile mimicking player (Incubus / Lil Brimstone / Twisted Pair style)
|
|
00632820 Entity_Familiar::ai_lil_monstro ? Entity_Familiar::Update case 99: QueryRadius(8) for enemy, Room::CheckLine, "Attack" anim then TryFireTear burst on "Shoot" event
|
|
004307c0 init_engine_parameters IsaacMain before KAGE init: "%s/options.ini", "The Binding of Isaac: Repentance+", "1.9.7.16", EnableEpicOverlay, "SetEngineParameters must be called before calling KAGE::Initialize"
|
|
0090b150 NetplayManager::Update ECX=Manager+0x4b3d8 (zhl _netplayManager 0x4afb8 + Rep+ drift, fonts drift ~+0x400 too) from main loop 00954cd0; "[Frame %d] Executing delayed game start", #Online/LOBBY_JOIN_DAILY_*
|
|
008f92b0 ModEntry::parse_metadata_xml ECX=ModEntry: metadata/name/directory/description/version/visibility/tag/id into _directory 0x0, _name 0x18, _metadataDescription 0xa8 (zhl ModEntry)
|
|
006d0ec0 NpcHelper::fireplace_moveable_update NpcAI::ENTITY_FIREPLACE for variants 10/12/13 (moveable fireplaces): Appear/Disappear anims, IsFrame, GetIntervalTicks, SoundEffects::Play
|
|
00951920 Manager::load_fonts loads font/TeamMeatEx/TeamMeatEx10/12/16.fnt, Upheaval, PFTempestaSevenCondensed, CJK/LanaPixel, KR_MeatFont14, MPlus_12b into Manager fonts (+0x4ae70..), ModManager::TryRedirectPath
|
|
0094bee0 Menu_Character::render_portraits ? ECX=MenuManager+0x1534 (zhl _menuCharacter 0x1530+4) via 0094a500; ModManager::RenderCustomCharacterPortraits, Menu_Character_Entry::IsCharacterAvailable, entry sprites +0xb50
|
|
00834680 Game::LoadBossRushXml Game::LoadConfigXmls callee: FileSystem::Open, root "bossrush", chunks/numWaves/spawnsPerWave/enemy/variant/count
|
|
004d33d0 NpcHelper::moms_heart_attack_pattern NpcAI::ENTITY_MOMS_HEART calls it as (v1.y pattern, stateFrame) in states 8 / i1==5: switch(pattern) fires FireProjectiles rings, Entity_Laser::ShootAngle, "Heartbeat" event
|
|
00998880 GameOver::Render ECX=Game+0x1d520 (zhl _gameOver 0x1d4c8 + drift) in Game::Render; anm2 at this+8 (zhl GameOver.anm2 0x8), Seeds::Seed2String at "SeedPos" null, "Player%d Text", "DeedsMe" layer, ModManager::RenderCustomCollectionItem
|
|
006f37e0 Game::create_render_surfaces Game::constructor + resize path 007084c0: creates "Pixelation Surface", "Bloom Surface", "Old TV Surface", "Hallucination Surface/Snapshot", "Colormod Surface"
|
|
009a36d0 HUD::show_fortune_text_impl ? ECX=Game::GetHUD(); Entity_Slot::Update passes string_table_translate("#YOU_FEEL_BLESSED"); converts to wide chars (0x100 buf), std::list "list too long"; 0085eca0/00912560 are the ShowFortuneText entry points
|
|
00576090 NpcHelper::raglich_pick_target_pos ? NpcAI::ENTITY_RAGLICH only caller (twice, before GetPlayerTarget): GetAxisAlignedUnitVectorFromDir, Room::GetGridIndex, GetClampedPositionImpl, IsPositionInRoom
|
|
009f6610 Weapon::fire_laser ? Weapon::Fire callee (pos, dir, ..., flags): Entity_Player::FireTechLaser or Entity_Laser::ShootAngle with Weapon::GetOwnerLaserOffset, sets laser+0x515
|
|
0073f620 Level::reveal_room_visibility ? recursive over room descriptors from Game::UpdateVisibility: FirstCollectibleOwner(0x4c X-Ray Vision) reveals secret doors, spawns 1000.36, Level::GetNeighborRoomIdx, HasMirrorDimension
|
|
00748d40 Level::find_matching_room_idx ? Level::ChangeRoom loop: GetRoomByIdx(param), compares every room's stage/type/variant/shape fields (stride 0xb8) against it and _startingRoomIndex, returns idx or -1
|
|
00739080 Level::pick_boss_room_config ? ECX = boss id (0x59 Mausoleum Mom with game state flag -> GetRandomRoomWithFallbackStage), RoomConfig::GetRandomRoom retry loop (50 tries) filtering room subtypes; callers include Level::TryInitializeExtraBossRoom
|
|
0058ac10 NpcHelper::singe_explode_at NpcAI::ENTITY_SINGE_body passes target pos: QueryRadius/QuerySublist, Game::BombExplosionEffects, ShakeScreen, ButterBeanFart
|
|
006444d0 Entity_Familiar::aim_reflected_projectile ? Entity_Familiar::HandleCollision with projectile (type 9): if flag 0x100 and owner target -> GetPlayerTarget, else picks nearest valid enemy (skips 802/866 friendlies) and returns direction/speed for the knocked-back shot
|
|
009e31b0 Room::render_pit_rails Room::Render callee: "pitrail" anim, per grid cell (<0x1c0) with rail flag, SetFrameFloat
|
|
0064a830 Entity_Familiar::load_config_graphics ? Entity_Familiar::Init (and Menu_Stats::Render preview): ItemConfig::get_wisp_entry, ANM2::Load(entry+0x74), Hungry Soul ReplaceSpritesheet "hungry_%d.png" (hp/5)
|
|
00499580 std::string::replace (pos, count, const char*, count2) with _Xlen/memmove; NpcAI::ENTITY_PIN replaces "Bosses/AfterbirthPlus/DeliriumForms"
|
|
00961870 Entity_Knife::spawn_child_knife ? ECX=knife (+0x4e5 once-flag, subtype 0/1): SpawnEx(8, same variant, pos, parent=this), child+0x3bc=this, Entity_Knife::InitHomingPath; called from Entity_Familiar::Update when knife IsFlying within 25px
|
|
00a8ca10 KAGE_Audio::open_sound_file ? "unable to determine file duration!", decoder setup into this+0x3b0.., third-party audio region 0xa8xxxx
|
|
0043db20 Entity_Familiar::ai_mr_me_wisp called from Entity_Familiar::ai_wisp (0043aa90) for wisp subtype 0x20f (COLLECTIBLE_MR_ME 527): state this+0xd84 1/2/3 walks to grid targets (x%w*40+40, y*40+120), Entity_Pickup::TryOpenChest, GridEntity_Door::TryUnlock/TryBlowOpen/Open, Game::BombDamage, AddToOrbit
|
|
00619270 Entity_Familiar::ai_auto_shooter ? Entity_Familiar::Update case 2 (Demon Baby) shared by variants 6/0x35/0x4c/0x6d (and wisp 0xce/0xed branch): QueryRadius(8) + Room::CheckLine(...,900) for a target, spawns 2.1 tears with apply_tear_modifiers, cooldown this+0xd50=12, anims Float/FloatDown/StoppedDown
|
|
#
|
|
# Corrections found by the tier-3 pass (checked: strings/callers). Short REPENTOGON sigs and ICF put these names on the wrong function.
|
|
00782af0 Entity_Player::Update 34 KB vtable slot 3; "Controller %d has disconnected", status-effect anims; ZHL had put the name on 006d97e0
|
|
006d97e0 Entity_NPC::zhl_misfit_006d97e0 ? tests boss types (0x47..0x4c, 0xdf), Morph/BloodExplode; ZHL prefix20/55 called it Entity_Player::Update
|
|
00779b40 Entity_Player::update_body_animations ? Head*/Walk*/Blink/Shimmer anims, only caller Entity_Player::Update; ZHL called it RoomTransition::Update
|
|
00830950 RoomTransition::ChangeRoom uses _roomIndex/_direction, Game::ChangeRoom, boss intro; ZHL had put the name on 006414c0
|
|
006414c0 Entity_Familiar::zhl_misfit_006414c0 ? only caller Entity_Familiar::Update; +0x184=5, Random()%3; ZHL called it RoomTransition::ChangeRoom
|
|
008318a0 RoomTransition::Update ? state machine on this+0x1c that calls ChangeRoom; TeleportDown/Pickup anims
|
|
00592460 NpcAI::ENTITY_BEAST 951.0 (dispatcher default case); BGIdle/BlastLoop/Blink/DeathRay
|
|
00596120 NpcAI::ENTITY_BEAST_stalactite 951.1; TopCrackedBase/TopCrackedTip; NpcTable named it ENTITY_BEAST (first case)
|
|
00587aa0 NpcAI::ENTITY_SCOURGE 909.0 (variant != 10); Idle/HoverLoop/Death/Shoot; ZHL exact sig called it Entity_Familiar::HandleCollision (real one 006261f0)
|
|
00584140 NpcAI::ENTITY_SCOURGE_chain 909.10 chain segment; NpcTable named it ENTITY_SCOURGE
|
|
00843df0 PlayerHUD::RenderHearts ui_hearts.png, CurseHeart, HolyMantle*; ZHL had put the name on 0083eae0
|
|
0083eae0 PlayerHUD::render_pocket_item_info ? #ITEM_INFO_UNIDENTIFIED_CARD/PILL/RUNE strings; ZHL called it RenderHearts
|
|
007a3430 Entity_Player::ReviveFromTrinket "No revival effect associated with trinket %d"; ZHL had put the name on 00923920
|
|
00923920 NetplayManager::update_text_popup ? only caller NetplayManager::Update, TextIn/TextOut/TextStay; ZHL called it ReviveFromTrinket
|
|
0098a040 MenuManager::Render ? sub-menu render list (MenuManager+0xdd4/0x2688/0x27b8/0xd4d0)
|
|
009897d0 MenuManager::Update per-state switch: Menu_Character/Stats/CustomChallenge::Update
|
|
00981140 Menu_Game::Update MenuManager::Update case 3; "ModsKey", Online/CONNECTING_TO_SERVER; ZHL had put the name on 00a8ab60
|
|
00a8ab60 theora_create_video_clip ? theoraplayer strings "Creating video from data source"; ZHL called it Menu_Game::Update
|
|
00a03f90 Weapon_Knife::Fire Weapon_Knife vftable slot 3 (RTTI walk); ZHL prefix24/43 called it Menu_Game::online_mods_check
|
|
008c99b0 Menu_ControllerSelect::Render ? in MenuManager::Render list with MenuManager+0xd154
|
|
007d7740 Entity_Player::RecomputeWispCollectibles ? matches REPENTOGON's RecomputeWispCollectibles_TriggerCollectibleRemoved hook site
|
|
# The Lua "Font" class table was attributed to KColor; these are Font methods (0085e470 is Font::Load(path, 0))
|
|
0085e450 Font::EnableAutoWrap Lua Font table
|
|
0085e470 Font::Load Lua Font table
|
|
00a1a5c0 Font::SetAlignment Lua Font table
|
|
00a1a5d0 Font::SetMaxCharacters Lua Font table
|
|
00a1a5e0 Font::GetMaxCharacters Lua Font table
|
|
00a1a5f0 Font::IsAutoWrapEnabled Lua Font table
|
|
00a1a600 Font::EnableTruncation Lua Font table
|
|
00a1a620 Font::IsTruncationEnabled Lua Font table
|
|
00a1a630 Font::SetMissingCharacterOverride Lua Font table
|
|
00a1ad90 Font::Unload Lua Font table
|
|
00a1ae70 Font::GetCharacterWidth Lua Font table
|
|
00a1aea0 Font::GetLineHeight Lua Font table
|
|
00a1aeb0 Font::GetBaselineHeight Lua Font table
|
|
00a1b140 Font::DrawString Lua Font table
|
|
00a1b3b0 Font::SetMissingCharacter Lua Font table
|
|
00407280 Font::SetLineHeightModifier Lua Font table
|
|
# Weapon vtable slots (RTTI walk of the exe's vftables)
|
|
00a0d870 Weapon_Tears::Update vftable
|
|
00a0d850 Weapon_Tears::Reset vftable
|
|
00a0d8e0 Weapon_Tears::GetMaxCharge vftable
|
|
009f9aa0 Weapon_Bone::Free vftable
|
|
009fa220 Weapon_Bone::Update vftable
|
|
009fed90 Weapon_Bone::Reset vftable
|
|
009fedf0 Weapon_Bone::ClearReferences vftable
|
|
009feeb0 Weapon_Bone::GetMaxCharge vftable
|
|
00a052a0 Weapon_Laser::Reset vftable
|
|
00a063b0 Weapon_Laser::ClearReferences vftable
|
|
00a06870 Weapon_Laser::GetMaxCharge vftable
|
|
00a04f90 Weapon_Knife::ClearReferences vftable
|
|
00a05010 Weapon_Knife::GetMaxCharge vftable
|
|
009f9b60 Weapon_Bombs::Fire vftable
|
|
00a031b0 Weapon_Deathmatch::Fire vftable
|
|
00a036e0 Weapon_Fetus::Fire vftable
|
|
00a0d9c0 Weapon_TechX::Fire vftable
|
|
00a08d40 Weapon_Rockets::Fire vftable
|
|
00a099e0 Weapon_SpiritSword::Fire vftable
|
|
00a06a30 Weapon_Ludovico::Fire vftable
|
|
00a0e270 Weapon_UmbilicalWhip::Fire vftable
|
|
0078dc20 Entity_Player::RenderShadowLayer vftable slot 6
|
|
00954cd0 Manager::Update main loop
|
|
#
|
|
# Vtable slots named from the base class layout REPENTOGON declares (python3 -I scripts/vtable.py bin/isaac-ng.exe dump/functions.tsv zhl_vtables.tsv)
|
|
006a7ee0 Entity_Dummy::Free vtable slot 0 of Entity_Dummy; slot name from Entity
|
|
006a7f20 Entity_Dummy::Init vtable slot 1 of Entity_Dummy; slot name from Entity
|
|
006a7f30 Entity_Dummy::Update vtable slot 3 of Entity_Dummy; slot name from Entity
|
|
006a7f80 Entity_Dummy::Render vtable slot 5 of Entity_Dummy; slot name from Entity
|
|
00754d60 Entity_Player::Free vtable slot 0 of Entity_Player; slot name from Entity
|
|
00757a40 Entity_Player::ClearReferences vtable slot 17 of Entity_Player; slot name from Entity
|
|
00757ab0 Entity_Player::CanShutDoors vtable slot 18 of Entity_Player; slot name from Entity
|
|
005ccc60 Entity_Text::Free vtable slot 0 of Entity_Text; slot name from Entity
|
|
005ccca0 Entity_Text::Init vtable slot 1 of Entity_Text; slot name from Entity
|
|
005ccd80 Entity_Text::Update vtable slot 3 of Entity_Text; slot name from Entity
|
|
005cd2e0 Entity_Text::Interpolate vtable slot 4 of Entity_Text; slot name from Entity
|
|
005ccfc0 Entity_Text::Render vtable slot 5 of Entity_Text; slot name from Entity
|
|
009f9880 Weapon_Bombs::Free vtable slot 0 of Weapon_Bombs; slot name from Weapon
|
|
009fa190 Weapon_Bombs::GetFocusEntity vtable slot 9 of Weapon_Bombs; slot name from Weapon
|
|
009fa1b0 Weapon_Bombs::GetMarkedTargetVariant vtable slot 12 of Weapon_Bombs; slot name from Weapon
|
|
009fef20 Weapon_Bone::TriggerNewRoom vtable slot 11 of Weapon_Bone; slot name from Weapon
|
|
009ff1a0 Weapon_Bone::CanTriggerCursedEyeTeleport vtable slot 14 of Weapon_Bone; slot name from Weapon
|
|
009ff210 Weapon_Bone::CanTriggerKidneyStone vtable slot 15 of Weapon_Bone; slot name from Weapon
|
|
009ff230 Weapon_Bone::CanOverrideForgottenThrow vtable slot 16 of Weapon_Bone; slot name from Weapon
|
|
00a036b0 Weapon_Deathmatch::GetMaxCharge vtable slot 6 of Weapon_Deathmatch; slot name from Weapon
|
|
00a03f60 Weapon_Fetus::GetMaxCharge vtable slot 6 of Weapon_Fetus; slot name from Weapon
|
|
009f99b0 Weapon_Knife::Free vtable slot 0 of Weapon_Knife; slot name from Weapon
|
|
00a05060 Weapon_Knife::SupportsTractorBeam vtable slot 13 of Weapon_Knife; slot name from Weapon
|
|
009f9930 Weapon_Laser::Free vtable slot 0 of Weapon_Laser; slot name from Weapon
|
|
00a068e0 Weapon_Laser::CanTriggerCursedEyeTeleport vtable slot 14 of Weapon_Laser; slot name from Weapon
|
|
00a099a0 Weapon_Rockets::GetMarkedTargetVariant vtable slot 12 of Weapon_Rockets; slot name from Weapon
|
|
00a0a6f0 Weapon_SpiritSword::Reset vtable slot 4 of Weapon_SpiritSword; slot name from Weapon
|
|
00a0a700 Weapon_SpiritSword::GetMaxCharge vtable slot 6 of Weapon_SpiritSword; slot name from Weapon
|
|
009f9900 Weapon_Tears::Free vtable slot 0 of Weapon_Tears; slot name from Weapon
|
|
00a0d950 Weapon_Tears::CanTriggerCursedEyeTeleport vtable slot 14 of Weapon_Tears; slot name from Weapon
|
|
00a0e260 Weapon_TechX::GetMaxCharge vtable slot 6 of Weapon_TechX; slot name from Weapon
|
|
009f97e0 Weapon_UrnOfSouls::Free vtable slot 0 of Weapon_UrnOfSouls; slot name from Weapon
|
|
00a0f410 Weapon_UrnOfSouls::Reset vtable slot 4 of Weapon_UrnOfSouls; slot name from Weapon
|
|
00a0f420 Weapon_UrnOfSouls::ClearReferences vtable slot 5 of Weapon_UrnOfSouls; slot name from Weapon
|
|
009f3170 Weapon_UrnOfSouls::GetMainEntity vtable slot 10 of Weapon_UrnOfSouls; slot name from Weapon
|
|
# Vtable audit: functions in a declared slot whose current name came from a wrong sig (even an "exact" one)
|
|
007729d0 Entity_Player::TakeDamage Entity_Player vtable slot 8 (TakeDamage), 25 KB
|
|
0099b520 GridEntity_Gravity::PostInit GridEntity_Gravity vtable slot 1; Tiles_Itemdungeon(_Gideon).anm2; ZHL exact sig said Entity_Player::InitPreLevelInitStats
|
|
00721310 GridEntity_Wall::PostInit GridEntity_Wall vtable slot 1; Brick/LowBrick/Decoration anims; ZHL prefix29/30 said Entity_Player::TryRemoveTrinket
|
|
0074bae0 Level::get_secret_exit_kind the floor's secret exit door kind (1 Downpour, 2 Mines, 3 Mausoleum, 4 Mom's Heart) by depth and path; read 2026-10-24 (alt_path.md)
|
|
0074bba0 Level::get_secret_exit_room makes room -10 lazily: kind 4 a boss room of subtype 90, else a ROOM_SECRET_EXIT of that subtype (alt_path.md)
|
|
0070d360 GridEntity_Door::get_secret_exit_kind the -10 room's subtype for a secret exit door, 4 for a subtype 90 boss room (alt_path.md)
|
|
0074f0c0 Level::generate_mirror_world copies dimension 0's rooms into dimension 1, the treasure room as subtype 34 (alt_path.md)
|
|
0074f360 Level::generate_mineshaft dimension 1's eight fixed mineshaft rooms (subtypes 11, 30, 20) (alt_path.md)
|
|
007f01c0 Room::update_door_transitions players walking into doors start room transitions; a 0x10 door (mirror) passes while not open (alt_path.md)
|
|
009be850 PlayerManager::add_lost_curse null item 112 for every player (white fire) (alt_path.md)
|
|
007d87a0 Entity_Player::spawn_ghost_corpse effect 1000.6 playing the player's Death, before the Lost Curse (alt_path.md)
|
|
00739370 Level::place_special_rooms the level's special rooms: boss, shops, treasure, mirror/mineshaft/photo door rooms (alt_path.md)
|
|
00732fa0 ItemPool::pick_weighted GetCollectible's draw: cumulative base weights (+4), keeps a pick with chance running/base (+8), then running -= DecreaseBy (+0xc), under RemoveOn (+0x10) removed (characters_9.md)
|
|
00794e50 Entity_Player::update_effects per-tick player update: Dark Arts snaring (+0x2004/+0x2008/+0x200c), the end blast, Mars, hallowed ground... (characters_9.md)
|
|
00848d20 PlayerHUD::render_inventory Tainted Isaac's inventory slots (max/2 columns, 12 px, ui_inventory Dot/Select) (characters_9.md)
|
|
00431be0 Entity_Familiar::ai_umbilical_baby familiar 3.240: launch over frames 3-10 (180 * eased f, sinc swing 20), cord capsule hits (radius 16, x3), reel-in (characters_9.md)
|
|
0072b230 ItemConfig::load_locust locusts.xml entry loader: +0x74 speed, +0x78 scale, +0x7c collisionInterval, count, gfx/colors (characters_9.md)
|
|
007b0070 Entity_Player::spawn_dark_esau Dark Esau 866.0 at a free spot >= 80 px off (20 tries), stored at +0x1fc0 (characters_9.md)
|
|
007dba30 Entity_Player::is_evil_charm_immune true if the player has Evil Charm (632, item or effect) and the source type/variant is a creep/hazard it blocks (case list incl. 1000.22-26, 1000.169); creep damage skips the hit (dogma_effects.md)
|
|
00435e00 Entity::to_npc_or_coop_player returns this if type 10..999, or type 1 with 2+ players, else null; used by the Dogma Blackhole TV pull (dogma_effects.md)
|
|
004173b0 Entity::is_player tiny: type == 1 (ICF caution) (dogma_effects.md)
|
|
004173c0 Entity::is_bomb tiny: type == 4 (ICF caution) (dogma_effects.md)
|
|
00431550 Entity::is_pickup tiny: type == 5 (ICF caution) (dogma_effects.md)
|
|
00435ce0 Entity::get_friction tiny: returns +0x36c (Lua Entity.Friction field); blackhole pull divides by it (dogma_effects.md)
|
|
00a155c0 Math::lerp a XMM0, b XMM1, t XMM2 (clamped to 0..1 when CL != 0): a + (b - a) * t (asm) (dogma_effects.md)
|
|
0042f2a0 Math::clamp XMM2 clamped to [XMM0, XMM1] (MAXSS/MINSS) (dogma_effects.md)
|
|
0067f2b0 Vector::mul_065 out = in * 0.65 (world to sprite-space for texel tests and sprite offsets) (dogma_effects.md)
|
|
00456340 Sprite::set_offset tiny: writes +0x94/+0x98 (Lua Sprite.Offset is +0x94) (dogma_effects.md)
|
|
00435c60 Sprite::set_flip_x tiny: writes byte +0x100 (Lua Sprite.FlipX reads +0x100) (dogma_effects.md)
|
|
00435eb0 Entity_Effect::set_rotation tiny: writes +0x474 (Lua EntityEffect.Rotation) (dogma_effects.md)
|
|
0097fe50 Entity_Laser::set_scale writes +0x4e0 (_scale) from XMM1 then ResetSpriteScale (dogma_effects.md)
|
|
004aaed0 Entity_Laser::set_disable_init_sound tiny: writes byte +0x518 (_disableInitSound) (dogma_effects.md)
|
|
00447740 Entity_Projectile::set_projectile_flags tiny: writes 64-bit +0x438 (Lua ProjectileFlags) (dogma_effects.md)
|
|
004214b0 BossOverlay::play this=Game+0x1d2ec (bossoverlays.xml, 5 entries x 0x38 at +0x120): loads entry id's anm2 and anim; Dogma angel death plays 2/3, Beast death 4 (beast.md)
|
|
004212c0 BossOverlay::update called from Game::Update with ECX=Game+0x1d2ec; overlay 3 (Dogma Shutdown) "End" event: Dogma kill counters, cutscene 25, StartRoomTransition(-10,-1,1) into the Beast room (beast.md)
|
|
00592280 NpcAI::ENTITY_BEAST_spawn_background only caller ENTITY_BEAST state 0 in room variant 666; spawns 951.100 at (room centre x, bottom-58) and 951.101-104 at fixed offsets into the deque at npc+0xbf4 (beast.md)
|
|
0083a080 BeastArena::update this=Room+0x776c, called at the end of Room::Update: anim, scroll pos += speed (+0x120), shifts non-player/familiar entity x by speed (beast.md)
|
|
0083a1b0 BeastArena::render_light this=Room+0x776c, from Room::render_lighting: draws anm2 layer 16 (light, hell_overlay.png) full screen (beast.md)
|
|
00592270 Room::get_beast_arena lea eax,[ecx+0x776c]; callers in Entity_Effect::Update (beast.md)
|
|
00592260 BeastArena::get_scroll_speed movss xmm0,[ecx+0x120] (Room+0x788c) (beast.md)
|
|
008279a0 Room::IsBeastDungeon returns RoomConfig stage 0x23 && type 0x10 (only the Home type-16 rooms: Beast room 666 and its test rooms); was IsGravityDungeon (beast.md)
|
|
0081ee20 Room::make_walls calls Room::make_wall on the border cells (L-shape variants by shape); skipped in the Beast room (beast.md)
|
|
007ee7e0 Room::make_wall "make_wall index out of bounds"; crawl space (type 16) ladder special cases (beast.md)
|
|
009bb840 PlayerManager::trigger_room_clear Entity_Player::TriggerRoomClear for every player + Entity_Familiar::TriggerRoomClear; ENTITY_BEAST calls it twice per dead harbinger (beast.md)
|
|
006fd3f0 Game::interpolate_update Manager::Update odd frames: entity Interpolate (vtable +0x10) and the BeastArena half-step scroll (beast.md)
|
|
009432f0 Camera::get_clamp_bounds ? room bounds -> camera min/max with the 0.65 scale; Beast room zeroes the extra margins (beast.md)
|
|
00839b80 BeastArena::init ? no Ghidra function; called by Room::Init with ECX=Room+0x776c: active if stage 35 type 16, loads gfx/backdrop/hell/background.anm2, zeroes scroll (beast.md)
|
|
007fe220 Room::card_against_humanity_fill Room::Update calls it while flag 0x11f4 (Room::SetCardAgainstHumanity) is set; it clears the flag and puts a poop (33% black with Meconium) on every free interior cell not under an entity; 1 in 8 an effect 1000.33 at a player (trinkets-cards)
|
|
006b5e20 Entity_NPC::hold_set NPC field 0x3f0 = max(it, ticks), 0x3f4/0x3f8 = spot: holds it in place (Emergency Contact, 150) (trinkets-cards)
|
|
0097e3c0 Entity_Laser::damage_entity adds the entity to the hit list, then TakeDamage: player (1 player) 1.0 DAMAGE_LASER source = spawner, countdown 30; others laser damage with tear flag effects (dogma_effects.md)
|
|
009e01b0 glitched_item_effects_run UseActiveItem 0x5b3bc8 sends negative (TMTRAINER) ids here: item ~id of Game+0x67758 runs each effect whose trigger matches param_3 (8 = after the previous one fired) through trigger_effect_execute (items-verify, use_dispatch.md)
|
|
006ed580 Entity_Pickup::empty_pedestal variant 100 with a subtype: subtype 0 and the "Empty" animation; a priced one (+0x534) is removed unless kept; hides itemshadow. Spindown Dice below id 1 (UseActiveItem case 0x2d3) (items-verify)
|
|
007a3d30 Entity_Player::pocket_use_input logs "Action PillCard Triggered" and uses the pocket (decompile stops at that log: read 0x7a4100+ with --asm); Endless Nameless (trinket 0x4f) at 0x7a41a7: 0.25/0.33/0.5 a copy of the used pill (kind 0) or card (kind 1); caller Entity_Player::Update (items-verify)
|
|
007a42b0 Entity_Player::pockets_rotate ACTION_DROP (0xb) triggered: rotates the filled pocket slots (0x17a0..) slot 0 to the back, then SwapActiveItems
|
|
005b1890 Game::room_restart_flag_set sets game+0x67744 = 1 after D7's Room::RespawnEnemies
|
|
00736c30 ItemPool::on_pill_used the gold pill (colour 14) after a use: clears its identified byte (ItemPool+0x7e0+colour) and gives effects[colour] (ItemPool+0x7a4+colour*4) a random available pill effect none of colours 1-14 holds (rif/rebirth-pills)
|
|
007ea2d0 Room::time_scale_update misnamed GetDevilRoomChance: the global time scale (manager+0x2a2d4) SetBrokenWatchState stores: Stop Watch effect (0xe8) / Hourglass effect (0x42) / Broken Watch state 1 -> 0.7, state 2 or challenge 22 -> 1.43, Stop Watch owned -> 0.9, collectible 0x2a5's countdown eases it; plus (GFuel count - 1) * 0.1 (rif/rebirth-pills)
|
|
00703190 Game::spawn_bomb_crater spawns effect 1000.18 (BOMB_CRATER) at pos, sprite scale from XMM2, and appends an EntitySaveState (1000.18) to the room save list; called from NpcAI::ENTITY_SKINNY Black Bony death after BombDamage (pass5_g2)
|
|
0044ee60 NpcAI::ENTITY_BEAST_ultra_war_fire_burst npc in ECX; called by NpcAI::ENTITY_BEAST_ultra_war 0x44c070 on the Transition and QuickBurst Shoot events: sound 483 flame_burst (pitch 1.5/0.5 for champion colour 18/19) and 5 fans x 5 dust clouds 1000.59 rising from pos (notes/entities/beast_war_death.md)
|
|
008279c0 Room::get_lava_line_y body: returns Room+0x20 (BottomRight.y) - 30 (0xbaa8d0); the Lava Spawner case of Entity_Effect::Update (0x5e1f3a) spawns its eruption at that y (beast_war_death.md)
|
|
00435e60 Entity_Effect::set_state body: this+0x450 (EntityEffect.State, Lua field+0x450) = arg; the Lava Spawner sets 1 on the 1000.1 it spawns (tiny setter: ICF may fold other +0x450 setters)
|
|
006d6d20 Entity_NPC::on_player_damaged called by Entity_Player::TakeDamage (ECX = each IsEnemy entity) when a player is hurt: types 0x24 Gurdy / 0x54 Satan set V1.x = 1; 951.102-104 (background Pestilence/War/Death) in state 3 get state 8 and StateFrame = Random()%15 + 2, which NpcAI::ENTITY_BEAST_background turns into "Cheer" (notes/entities/beast_fight.md)
|
|
00444c90 Entity_Projectile::set_falling_accel trivial setter of +0x418 (db/fields.tsv _fallingAccel); Entity_Effect 1000.181 sets 0.5 on its 9.14 lava ball (beast_fight.md)
|
|
0044bd80 std::deque<EntityPtr>::resize the Pestilence fly ball (0x44aad0) calls it on its +0xbf0 orbiter deque with the new count after killing the slots past it (also Hornfel 0x4b92e0); grows by operator_new(0x10) blocks of 4 pointers (std::deque<int>::resize is 0x44bcc0)
|
|
007ea190 Room::is_type_16 body `return *(int*)(this+8) == 0x10` (room type 16: crawl space / Beast room); ECX from Level::GetCurrentRoom in Entity_Projectile::Update 0x653070 (flag at 0x653bd2), Entity_Tear::Update, Entity_Effect::Update/Init, Entity_Familiar::Update, Entity_NPC::Update; tiny, beware ICF
|
|
004d8f20 NpcHelper::adult_leech_heading Adult Leech walk (NpcAI::ENTITY_ADULT_LEECH 004d9000): random heading within +-45 deg of horizontal, random x sign, 1 in 2 its y turned toward the player (pass6_h2.md)
|
|
004cf5b0 NpcHelper::min_min_willo_count NpcAI::ENTITY_MIN_MIN: out EDX = room sublist count (all Willos), *param_1 = those whose parent (+0x3bc) is this Min-Min (pass6_h2.md)
|
|
00599950 NpcHelper::tuff_twins_spawn_count NpcAI::ENTITY_TUFF_TWINS: variant 2 counts live type 13 + 61 (flies, suckers), variant 3 type 819 (Fly Bombs); the spit/butt attacks need < 4 (pass6_h2.md)
|
|
004b40d0 NpcHelper::heretic_choose_attack called from NpcAI::ENTITY_HERETIC state 3 once the idle wait (60, 30 below half) passes; WeightedOutcomePicker over Attack2/exit/point/idle
|
|
004b3ec0 NpcHelper::heretic_count_out_fires counts room entities 33.3 (purple fireplace) with health (+0x380) < 1.5, i.e. put out; used by NpcAI::ENTITY_HERETIC
|
|
005a7510 NpcHelper::visage_plasma_cap compared with the live 903.20 count in NpcAI::ENTITY_VISAGE state 0x72 to choose Attack (spawn a plasma) over Attack3
|
|
00860ac0 NpcHelper::default_case_lua_callback the NPC dispatcher's default block (006c41af, types with no native AI: 37, 70, 95, 103-109, 842 Nightwatch...) calls it when +0xb74 is clear; it only runs a Lua ref (FUN_00872a20 + luaL_unref) when the mod-callback flag is set (pass6_h5)
|
|
004b0200 NpcAI::ENTITY_DOGMA_angel_baby 950.10: Appear, health 500 drained 3.5/tick to max, orbit Isaac, 1 in 20 DashStart below 100 health, dash past Isaac + 120 then DamageRadius 50 and Remove (pass6_h5)
|
|
00a20fb0 KAGE::Input::Manager::query_devices KAGE::Input::Manager vtable slot 29 (+0x74); Input::IsButtonTriggered etc call it via PTR_vftable+0x74 with (controllerIdx, predicate FUN_00a207d0, &arg, 0,0); idx -1 iterates all devices under mutex, returns 1 if predicate true
|
|
00a1b8e0 Font::get_string_width_n Font::GetStringWidth(str) is a thin wrapper calling this(str,-1); ECX char* first byte=loaded flag; builds UTF8 CharacterIterator(str,len)
|
|
00a140c0 shader_push called as FUN_00a140c0("KAGE_ColorShader") before color quads (Console::Render); hashes path, finds in shader map, pushes previous current shader DAT_00c379b8 onto a deque and makes it current, returns 1
|
|
00676020 Entity_Tear::get_height_offset_y thiscall float(height in xmm1)->float; Entity_Projectile::SetHeight passes height then stores result in _posOffset.y; variant 46 (FIRE) -> -8, 47/49 sword beams constant unless falling (0x418 _fallingAccel), NAIL with SEED_G_FUEL(79) -> -12, else height*0.4-15 + max(h+8.5,0)^2
|
|
00709e50 GridEntity::get_render_position thiscall(out Vector*) on GridEntity (+0x24 grid index): x = (idx%width*40+40-60)*0.65 + (screenCenterX-338)*0.5, y likewise from idx/width, pixel-snapped; first call in every GridEntity_*::Render
|
|
00a1ba10 Font::get_string_width_utf16 Font ECX (byte0 loaded, +0x40 glyph map, +0x48 missing glyph, +0x28 glyph table stride 0x14); iterates ushort chars with kerning FUN_00a1b4a0 summing advances; called by Font::layout_glyphs/draw_glyph_run and HUD text renderers
|
|
00423480 string_compare ECX=ptr1, EDX=len1, (ptr2,len2): memcmp dword-wise then length tiebreak, returns -1/0/1 (std::char_traits compare inlined helper); used by BossPool::load_xml, Menu_Mods
|
|
00a25090 SaveDataManager::open_file_write ? sibling of 00a24fd0 (read); callers are writers (Isaac::SaveModData, write_desync_dump); logs "Save data manager has not been initialized" if !(this+4 &1); if flags&2 and file exists (FUN_00a25200) news a KAGE::Filesys::File and calls its open vfunc +0x28(path,mode); returns File* or null; callers Isaac::SaveModData, ModEntry::parse_metadata_xml
|
|
009c39e0 PopupQueue::push ? ECX is a std::list of popups guarded by a mutex at this+8 (vfuncs +0xc lock/+0x10 unlock); copies desc (FUN_009c01d0), inserts sorted by priority (+0x14 vs node +0x38), returns id; preceded by desc init FUN_009c25e0, text lines FUN_009c2700, "##GAME###PROMPT_OK" button FUN_009c3c30 (online_lobby_join, Level::InitializeGenesisRoom, HUD::update_item_info)
|
|
009e9430 Seeds::operator_assign copy-assign: copies _isCustomRun(+0), _gameStartSeed(+4), _rng(+8..), +0x50 _playerInitSeed, rebuilds the _seedEffects set at +0x54 (copy via FUN_00709280); Game::store_game_state calls it right after Seeds::construct_from_copy
|
|
00a10c00 ColorQuad::ColorQuad ? thiscall(KColor*): zeroes 4 corner Vector2s (DAT_00c7b640 zero vector) then copies the 5-dword color into 4 corner color slots (+0x20,+0x34,+0x48,+0x5c); callers render_color_quad, render_quad_draw_color_shader, Room::render_water
|
|
007ad4e0 Entity_Player::stop_costume_item_anims ? if !_isCoopGhost(0x20a9) walks the 15 _playerCostumeMap entries (0x122c stride 0x10) and clears _costumeSpriteDescs[idx]+0x11c (_itemAnimPlay per REPENTOGON); called on Taurus(299) removal in trigger_collectible_effect_removed and from Weapon_*::Fire
|
|
00a5f260 KAGE::System::UserProfile::is_local_user ? bool thiscall on a UserProfile (constructed with UserProfile vftable just before, from Lobby vfunc +0x20 owner); compares the profile id's high dword 0xfefefefe/id against the local user (FUN_00a5f090) or flag byte; GameOver::Render, Menu_OnlineLobby, NetplayManager
|
|
0098ae20 MenuManager::push_menu ? uses MenuManager global DAT_00c72a20: if (+0x40 current menu) != id, pushes id onto the history vector at +4, then calls the menu transition FUN_0098aa30(id,0); callers Menu_Game::Update, Menu_Character::handle_input, Menu_Online*
|
|
0090f5f0 user_profile_format_display_name ? sprintf's UserProfile name (FUN_00a5f1c0 returns "???"/"localhost"/name) into static buf DAT_00c82bd0, truncates with "..." until Font::get_string_width_n fits the max width arg, masks when an option byte (Manager+0x2a3e0) is set; used by OnlineChat::render, lobby lists, Entity_Player::Render
|
|
007527b0 vector_LevelGenerator_Room_tidy std::vector _Tidy for 0x48-byte elements (destroy range FUN_00752e40, deallocate, zero begin/end/cap); called at the end of Level::generate_* layout passes; LevelGenerator::place_boss_room 009aef10 calls it on a vector it walks with LevelGenerator_Room* stride 0x48
|
|
00709280 std_set_uint_copy std::_Tree copy-assign body: copies nodes (FUN_00709770) from param tree, sets size, then fixes leftmost/rightmost head links; used by Seeds::construct_from_copy/Seeds::operator_assign for _seedEffects and GameState::copy_room_list
|
|
006851f0 vector_string_emplace_reallocate std::vector<std::string>::_Emplace_reallocate (elem 0x18, max 0xaaaaaaa, constructs std::string(param_2) at the insert position); ResolveRelativePath, FXLayers::LoadConfig
|
|
0042f2f0 vector_string_emplace_reallocate_move std::vector<std::string>::_Emplace_reallocate (elem 0x18, 0xaaaaaaa max) that move-constructs the new string (zeroes the slot then steals param_2's buffer); EntityConfig::load_players_xml, ResolveRelativePath
|
|
00a20240 KAGE::Input::Manager::get_device KAGE::Input::Manager vtable slot 9; under the mutex at this+0x14 copies the shared_ptr device at index param_2 of the device vector (this+8, 8-byte entries) or the default device when out of range into *param_1; Manager::Init, PlayerManager::handle_coop_join
|
|
009b9380 PlayerManager::get_first_local_main_player ? neighbours GetPlayer 009b92c0 / get_main_player 009b9310 / count_main_players 009b9480; device +0x370 vfunc +0x14 is the "is local" test (same as InputManager::FirstLocalDeviceID); iterates the player vector (ECX), skips the higher-index member of a twin pair (_twinPlayer 0x1e68 / _playerIndex 0x161c), returns the first whose controller (_controllerIndex 0x1618) has no device entry in Manager+0x4b3d8 or whose device vfunc +0x14 returns true; Camera::update_focus_position, HUD
|
|
0090aeb0 InputManager::FirstLocalDeviceID string "[Frame %d] FirstLocalDeviceID() Could not find a device for the local user!"; walks the input-slot vector (ECX), first whose profile (+0x370) vfunc +0x14 is local returns its device (+0x378)->+0xc id, -1 if none; neighbours InputManager::GetDeviceByPlayerEntity 0090ac70
|
|
008327e0 RoomTransition::get_hud_alpha ? thiscall float, ECX = Game+0x1b83c _roomTransition (Minimap::GetDisplayedSize: lea ecx,[c71678+0x1b83c]); state(+0) 2 -> 1-progress(+0xc), 3 -> progress, only for modes(+0x1c) 1,2,11,16-20 or +0x10==-1; else 1.0; result multiplies minimap/HUD alpha
|
|
00707e10 spawn_chain_lightning spawns EFFECT 1000.167 CHAIN_LIGHTNING (Jacob's Ladder) (Game::SpawnEx(1000,0xa7)) at pos; walks spawner chain to the player, arc count 4 (+2 The Battery 63, +2 Jumper Cables 520, +2 Charged Baby 372, +1 trinket 3), damage mult 1.5/+0.5 (items 356/205), sets count at +0x458; callers tear/laser/knife/familiar tear-flag effect paths
|
|
00651b10 std_string_insert std::string::insert(pos, const char*, count): length check (+0x10 size, +0x14 cap, SSO <=0xf), memmove tail and memcpy in place or reallocates; Console::Update, theora_create_video_clip
|
|
00a78770 NetworkManager::receive_message ? under the mutex at this+0x38 walks the message list at this+0x30, returns (into param_1) the first message whose channel byte (+5) == param_2, removing it when param_3; HUD::ShowFortuneText calls (out,8,0) peek and (out,8,1) pop on DAT_00c79a58
|
|
00a24fd0 SaveDataManager::open_file_read ? logs "Save data manager has not been initialized" unless flag&1; when flag&2 news a KAGE::Filesys::File, gets path via own vfunc +0x10 and calls File open-read vfunc +0x24; callers Isaac::LoadModData, OptionsConfig::Load, Menu_Save::load_slot_data, PersistentGameData::TryImportABLocalSave
|
|
00a1a640 Font::Font constructor: clears loaded byte +0, glyph vectors +0x24..+0x3c, allocs the std::map head at +0x40 (glyph map used by Font::get_string_width_utf16), +0x48 missing glyph = -1; called from HUD/PauseScreen/Manager constructors
|
|
00a11210 SourceQuad::SourceQuad ? like ColorQuad::ColorQuad (00a10c00) but copies four 8-byte corner Vector2s plus one extra dword (+0x20) from the param quad; BeamRenderer::End, render_quad_draw, PlayerHUD::RenderActiveItem
|
|
009baaa0 PlayerManager::GetPlayerSlotFromController strings "PlayerManager::GetPlayerSlotFromController() recieved invalid controllerID (%d)" / "could not find NetInputDevice with controllerID"; scans the controller slots at this+0xc for param and returns the slot index
|
|
009a17b0 vector_LaserSample_emplace_reallocate ? std::vector<0x18-byte element>::_Emplace_reallocate (max 0xaaaaaaa, copies 6 dwords of param_2); callers HomingLaser::build_bezier_path/build_ring_bezier/laser_sample_trace_entities, so the element is a laser sample point
|
|
0095ae60 render_online_icon ? sets Manager+0x4acf8 ANM2 animation "Icons" to frame param_1 and renders its layers at pos param_2 (offset stored at Manager+0x4ad94); called per lobby/player row by Menu_LobbyList::render_lobbies, Menu_OnlineLobby::render_lobby_list, GameOver::RenderItemSprite
|
|
0092a350 PersistentGameData::check_collection_unlocks thiscall PersistentGameData; counts collectibles 1..0x2dc seen/unlocked (skipping 276,283,331,333-335 and hidden), then TryUnlock 69/84 (all 176 ...), 235, 339 and 637 (Dead God) when thresholds reached; called from AddToCollection, TryUnlock, TryAddBestiaryEncounter
|
|
008eeed0 lobby_member_map_get_or_add ? std::map keyed by 64-bit user id (lower_bound FUN_00731ee0); if absent inserts a 0x28-byte node holding a KAGE::System::UserProfile (vftable, refcount 1) and returns the iterator; Menu_OnlineLobby::Update/Render/init_lobby_view
|
|
00864c30 lua_run_input_action_callback if the callback mask (*DAT_00c71690 & 0x2000) has MC_INPUT_ACTION, calls LuaCallbackCaller::CallInputAction(entity,hook,action), and if the Lua return is non-nil writes its boolean to *param_4 and returns 1 (override); callers input_is_action_pressed/triggered, Console::Update
|
|
0084f2e0 InfoDisplayEntry::operator_assign ? copy-assign: 2 dwords, std::string at +8, three vectors (+0x20,+0x2c,+0x38 via FUN_008569a0), a byte at +0x44, then 0x33 dwords; used by InfoDisplay XML parsers (collectibles/trinkets/pills)
|
|
007ad7e0 string_from_direction returns into param_1 a copy of one of four strings by the dominant axis of (x,y): left/right (x<0 / x>=0) when |x|>|y|, else up/down; Entity_Player::update_shooting passes Vector::ToCardinal() and "HeadLeftShoot"-style anim names
|
|
0072fff0 ItemConfig_Item::get_localized_description returns std::string from ECX+0x20 (ItemConfig_Item desc, Lua Item.Description field+0x20); if it starts with '#' resolves via StringTable::get_string("Items", language, key); empty if size(+0x30)==0; HUD::ShowItemText, PlayerHUD::RenderPocketItems
|
|
0062e020 Entity_Familiar::set_player thiscall Entity_Familiar: detaches from orbit/follower/delayed lists (RecalculateOrbitOffset, RemoveFromFollowers, RemoveFromDelayed), sets _player = param, re-adds (AddToFollowers/AddToDelayed, variant 235 always follows); PlayerManager::replace_player, Entity_Familiar::RemoveFromPlayer
|
|
00423090 vector_bool_resize std::vector<bool>::resize(n): size in bits at this+0xc, grows via FUN_0041c910/FUN_0041c890 insert of (n-size) false bits or trims; ItemPool::Init/StoreGameState, Item::IsAvailable
|
|
00415d20 std_tree_extract std::_Tree::_Extract: advances iterator, unlinks the node (+0xd isnil) and runs the red-black erase fixup, returns the node; used by std::multiset<unsigned_int>::erase, TextureCache::Purge
|
|
00aa1b10 stb_vorbis::get8_packet_raw ogg.cpp assert "f->bytes_in_seg > 0"; decrements bytes_in_seg (+0x570), increments +0x588, reads one byte from the memory stream (+0x20/+0x28) or the file callback; callers stb_vorbis_decode_residue, vorbis_decode_packet_rest, start_decoder
|
|
00a58040 KAGE::Filesys::BufferedStream::BufferedStream constructor: sets KAGE::Filesys::StreamBase then BufferedStream vftables at +0 and +0x28, zeroes buffer fields, size -1 and reserves the buffer (FUN_007dccd0); SaveSlotManager::constructor, write_game_state_to_stream
|
|
00a285f0 KAGE::Network::Multiplayer::Lobby::get_members ? walks the lobby impl (this+4) member array +0x10..+0x14, wraps each as KAGE::System::UserProfile and appends to vector param_1, skipping the local user (UserProfile::is_local_user) unless param_2; Menu_OnlineLobby::init_lobby_view, online_chat_update
|
|
00a19340 GraphicsWindow::get_framebuffer_width ? asserts "window != NULL" (GLFW_3.4 window.c line 711) on this+0xbc, calls platform getter DAT_00c73730(window,&w,&h) and returns w; the sibling FUN_00a193c0 returns h; Manager::ResizeWindowCallback uses both
|
|
00a10760 Quad::rotate thiscall on a 4-corner float quad, (pivot Vector*, angle in xmm2): if angle != 0, translates the 4 corners by -pivot, rotates by cos/sin, translates back; AnimationLayer::RenderFrame, render_build_sprite_quad, Room::render_darkness_overlay
|
|
009f4ff0 Weapon::stop_costume_item_anim ? thiscall Weapon (owner this+4); for a player owner (type 1) walks the 15 costume-map layers and clears CostumeSpriteDesc+0x11c (_itemAnimPlay) on the layer whose costume belongs to collectible param (Weapon::is_held_item); familiar owner (type 3) clears a field instead; Weapon_Bone/Brimstone/Tears::Fire
|
|
009e3450 RoomGridPath::can_step ? ECX holds Room* like room_grid_flood_fill (the next function): for two 4-adjacent grid indices (|drow|+|dcol|==1, index<448) checks the from-cell's type nibble (ECX+4+idx) against the direction table DAT_00c37610 (0x44-byte entries of +-13 offsets) and returns whether the step is allowed; NpcHelper::hornfel_spawn_doors, room_grid_flood_fill
|
|
009b9310 PlayerManager::get_main_player returns the param-th player of the player vector (ECX) counting only players that are not the higher-index twin (_twinPlayer 0x1e68, _playerIndex 0x161c); 0 if out of range; sits between PlayerManager::GetPlayer 009b92c0 and count_main_players 009b9480; Room::SpawnClearAward, RoomTransition::StartBossIntro
|
|
009af980 LevelGenerator::update_room_neighbors ? for room param (+0x18 shape/pos) clears its neighbour set (+0x30) and door mask (+0x1c), then for the 8 door slots LevelGenerator::get_door_target_position -> 13x13 grid cell; if occupied sets door bit and inserts the neighbour room index into the set; copies count to +0x38; LevelGenerator::try_place_room/try_resize_room
|
|
00954760 Manager::validate_language ? thiscall Manager: if the language id at +0x4a920 is not in the available set (+0x4a924 head) resets it to 0, same for +0x4a938/+0x4a93c, then FUN_009abbd0; callers OptionsConfig::Load, Manager::Init, Menu_Options::Update (Manager+0x4a920 is the language passed to StringTable::get_string)
|
|
008fd7a0 map_u64_bool_subscript std::map<uint64,bool>::operator[]: lower_bound by 64-bit key (FUN_00731ee0), inserts a 0x20-byte node with value byte 0 if missing, returns &value; used with user ids by online_chat_update, PauseScreen::Update, NetworkManager::receive_message
|
|
0090eca0 NetplayManager::send_message ? callers build a message with FUN_00a78160(msg,1,data,size,..) then call this(flags,...); flags bit1 adds the lobby host, bit4 walks the peer list at this+0x1864 (std::list, user id at node +0x1c) collecting recipients into a set of 64-bit ids before dispatching; Menu_OnlineLobby::update_controls (flags 1), Manager::update_state_loading (0x11)
|
|
00840540 int_to_string std::string from the int in EDX: formats digits into a stack buffer (FUN_00840510), prepends '-' when negative, assigns into the out string (ECX); HUD::update_item_info, InfoDisplay::describe_pickup_stats
|
|
007e8950 vector_PathNode_emplace_reallocate ? std::vector<0x14-byte element>::_Emplace_reallocate (max 0xccccccc); only callers are PathFinder::FindGridPath, NPCAI_Pathfinder::HasPathToPos, pathfinder_can_reach_pos (open-list nodes)
|
|
007c9ad0 Entity_Player::get_voice_pitch thiscall float: 1.0 (variant 0) or 1.5 (co-op baby) + 0.1*count, +0.5 with Pluto 598 or Inner Child 688 effect, +0.2 Binky 438, -0.2 when +0x1808>=3 unless curse mist/coop ghost, clamped [0.5,2.0]; try_end_astral_projection passes it as the pitch of SoundEffects::Play right after; also TakeDamage
|
|
007529c0 vector_LevelGenerator_Room_reserve std::vector<0x48-byte element>::reserve (max 0x38e38e3): allocate, move range (FUN_00752b70), adopt (FUN_00752ac0); companion of vector_LevelGenRoom_tidy 007527b0, called by Level::generate_home/mineshaft
|
|
0071dee0 grid_mark_neighbors_dirty ? fastcall grid index in ECX (used as idx % room _gridWidth); for each neighbour offset in table DAT_00b69110, a ROCK(2) with state 1 or PIT(7) with state 0 and _varData(+0x18)==1 gets _varData=13; called after GridEntity_Rock::Destroy (after TrySpawnLadder), GridEntity_Pit::Update, Room::spawn_grid_from_desc
|
|
006fec30 spawn_enemy_spawner_effect ? Game::Spawn(1000, 203) at pos param_3 then stores type/variant (+0x47c/+0x480), position (+0x484), subtype/seed/etc (+0x494..+0x4a4); callers Ambush::SpawnWave, Ambush::SpawnBossrushWave, NpcHelper::gideon_spawn_wave (delayed wave spawn)
|
|
004d74a0 SharedPtr::assign ? copy-and-swap: builds a temp smart pointer from param (FUN_004d7190), swaps the two dwords with this, releases the old control block (vfunc +0xc, deleter DAT_00c7e84c); Entity_Player::StoreGameState/RestoreGameState, Entity_Pickup::RestoreState
|
|
0041b570 EntityList::invalidate_type_cache thiscall EntityList, (type,variant,subtype) of the entity just added (EntityList::AddEntity passes piVar[10..12] = +0x28/+0x2c/+0x30); erases entries of the std::set at this+0xe0 keyed (type,variant,subtype), (type,variant,-1) and (type,-1,-1); also Game::rewind, PlayerManager::RemoveCoPlayer
|
|
0040b0c0 ANM2::GetNullFrame string "[warn] ANM2::GetNullFrame frame number %d out of bounds."; finds the animation (FUN_0040bcd0), looks up null layer name in the names vector (+0x84, 0x18-byte strings) and returns its frame; Entity_Player::GetCostumeNullPos
|
|
00aad330 AudioStream::reset ? thiscall: if decoder (+0x68) and file (+4, +0x1c vorbis state) exist, recomputes block sizes from the decoder's sample count/shift (+0xe48), resets read positions (+0x18,+0x38..+0x44 = -1, +0x20 = 0); returns 0 or -1; callers KAGE_Audio::open_sound_file, audio_stream_seek
|
|
00aaaf50 Mutex::lock EnterCriticalSection(*this); sets locked byte this+4, and if it was already set logs "WARNING: '<0x%p>' is deadlocked!"; used by theora video and audio stream code
|
|
00aa1dc0 stb_vorbis::codebook_decode_scalar_raw ogg.cpp asserts "c->sorted_codewords || c->codewords" and "!c->sparse"; refills the bit accumulator (+0x580/+0x584) via stb_vorbis::get8_packet_raw to 24 bits then decodes one codeword for codebook EDX; callers stb_vorbis_decode_residue, vorbis_decode_packet_rest
|
|
00a80c70 _glfwInputErrorWin32 FormatMessageW(GetLastError()) -> WideCharToMultiByte UTF-8 -> _glfwInputError("%s: %s"); callers _glfwCreateWindowWin32, glfw_choosePixelFormatWGL
|
|
00a2c370 utf8_to_utf16_alloc ? ECX = char*; converts into a temporary ushort vector, allocates (operator_new_tracked) and copies it with a 16-bit terminator, returns the wide buffer (null for null input); HUD::ShowItemText, HUD::show_fortune_text_impl feed the result to Font::get_string_width_utf16-style wide text paths
|
|
00a2add0 SoundInstance::assign ? thiscall: resets (FUN_00a2ae60(0)), sets loop byte 0, volume 1.0, pan 0, pitch 1.0, binds the source param (FUN_008f2c90) and pushes loop/volume/pan/pitch to the voice via vfuncs +0x40/+0x48/+0x50/+0x58; SoundEffect::Load, SoundEffects::Play
|
|
00a264f0 glfwGetMouseButton GLFW 3.4 input.c (assert "window != NULL" line 761, "Invalid mouse button %i"); ECX=window, EDX=button<8, returns state at window+0x74+button, clearing sticky state 3; Entity_Player::GetMouseAimTarget, Manager::Update
|
|
00a118d0 KAGE_Graphics_ImageManager::load_image_file ? resolves the path (FileSystem::ResolvePath), returns a cached image if present, otherwise picks the decoder by extension ("png" -> KAGE::Graphics::ImagePng, also bmp/jpeg/jpg/pcx) and loads it into a SmartPointer; callers Manager::LoadImage, Font::Load
|
|
009f0140 Font::measure_rich_text ? (out Vector*, text, maxWidth, scale in xmm3): runs rich_text_layout into a vector of 0x10-byte lines, x = widest line (+0xc), y = lines * ushort line height (this+0x2c) * this+0x68 * scale; PlayerHUD::render_pocket_item_info, menu_item_description_build
|
|
009dc6e0 GlitchedCollectibleGfx::constructor ? zeroes a 0x38-byte object and sets +8 = 0x12345678 (seed sentinel); the only users are ItemPool::CreateGlitchedCollectible (new + this, pushed into a vector) and glitched_collectible_render_gfx
|
|
009d8580 GameStateReader::read_int_vector ? reads a uint count via the stream vfunc +0x14 (byte-swapped by FUN_00683410), then that many ints into the std::vector<int> param (replacing its storage); GameStatePlayer::read, Entity_Player::restore_save_state_part2
|
|
009c88e0 GameState::write_entity_save_state ECX = saved entity record, EDX = writer: writes each dword field through writer vfunc +0x1c with endian swap FUN_00683410 (+0 type, +4, +8, +0xc, +0x10, +0x14, byte +0x60 ...) and recurses into itself for child records; callers GameState::write_room and GameState::write_player loop over the saved entities
|
|
009c73c0 GameState::constructor thiscall GameState: zeroes header fields, _eh_vector_constructor_iterator(this+0x68, 0xb8, 0x20f, RoomDescriptor::constructor) for the saved room list, then the rest; callers Manager::constructor, write_game_state_to_stream
|
|
009c3f30 MenuDialog::constructor ? zeroes +0, constructs two ANM2 at +4 and +0x118, clears +0x22c..+0x248, allocates a std::map head at +0x244; only MenuManager::constructor and PauseScreen::constructor build one (popup/dialog widget near the PopupQueue code 009c0000-009c4000)
|
|
009c1260 Popup::set_state ? thiscall: state 1 -> show (FUN_009c12d0), 2 -> resets two child positions via vfuncs at +0xc8/+0xf0 (zero vector), 3 -> hide (FUN_009c14c0); stores state at this+4; callers PopupQueue internals (009c01d0, 009c3ab0), HUD::update_item_info, Manager::update_controller_popups
|
|
009bc690 PlayerManager::get_player_start_position (out Vector*, player, basePos): basePos or Room::GetCenterPos when zero; with N players spreads them 48px apart by _playerIndex (0x161c), two rows +-24 when more than 2, slight y bias -0.01*idx; Entity_Player::level_start, NpcAI::ENTITY_MOTHER
|
|
009b1fc0 Menu_Options::constructor ? zeroes +0xc..+0x20, constructs ANM2 at +0x24 and +0x138, empty std::string at +0x260, clears +0x27c..+0x284; built by MenuManager::constructor and PauseScreen::constructor (both own an options menu); sits right before Menu_Options::Update 009b23a0
|
|
009aef10 LevelGenerator::place_boss_room thiscall LevelGenerator: LevelGenerator::DetermineBossRoom, then try_resize_room on room index this[0xe2] (0x48-byte LevelGenerator_Room array this[0xd9]); with the XL flag (+0xe4) places a second adjacent boss room from get_neighbor_candidates via place_room + update_room_neighbors and sets the door bit; returns the boss room; Level::place_special_rooms, Level::generate_boss_room
|
|
009a64f0 HUD::GetPlayerHudIndex strings "HUD::GetPlayerHudIndex() recieved NULL player entity!" / "could not for a Player HUD for the giveiten player entity"; maps a twin to its main player then scans the 4 PlayerHUDs (stride 0x6dc) for it; HUD::ShowItemText, PlayerHUD::show_pill_name
|
|
009a1610 vector_LaserSample_erase std::vector<0x18-byte element>::erase(iter): shifts the following 6-dword elements down, end -= 0x18, returns iter; same element type as vector_LaserSample_emplace_reallocate 009a17b0; HomingLaser::build_bezier_path/build_wiggle_bezier
|
|
0099fa60 HomingLaser::build_curl_path ? thiscall on the homing-path object (start +4, end +0xc, sample vector +0x4c): pushes the start sample, then generates curling samples by atan2(end-start) - 0.7 - i/5*1.5*pi with radius from xmm1*1.05; Entity_Knife::InitHomingPath, Entity_Laser::update_laser
|
|
0099c340 segment_project_point ECX = point P, EDX = segment start A, param_1 = segment end B: t = dot(P-A,B-A)/|B-A|^2 clamped to [0,1] (0 for a zero-length segment) written to *param_2; Entity_Laser::update_line_hits, HomingLaser::find_targets
|
|
0098f9d0 FXLayers::stage_matches ? ECX = layer stage, EDX = stage-type bitmask, (param_1 current stage, param_2 stage type): stage 0 always; stages 1-8 compared by chapter ((s-1)/2), 9+ exact, Blue Womb special case with Game flag 0x10000; then requires bit param_2 in the mask; FXLayers::LoadConfig, parse_fx_params_node
|
|
009838c0 GridEntity_PressurePlate::play_pending_animation ? thiscall: if the current animation name (+0x74) differs from the target name (+0x268) and it is not "OffRedStart" while +0x84 is set, ANM2::Play(sprite +0x40, target); GridEntity_PressurePlate::update_greed_button, BeginBatches
|
|
00954320 Manager::set_viewport_size (width,height): reads the framebuffer size (GraphicsWindow::get_framebuffer_width/height), computes the pixel scale min(w/400, h/240) and stores it in the global screen scale DAT_00bf941c, logs "Viewport: %dx%d"; Manager::ResizeWindowCallback, Manager::update_state_loading
|
|
00951730 Manager::create_render_surfaces strings "Render Surface (Manager)", "Color Correction Surface", "HQ4X size: %dx%d"; (re)creates the manager's render targets via FUN_00a11f30 when missing and the matching options are on (+0x2a3c2 color correction, +0x2a3c6 HQ4X); Manager::Init, Manager::Render
|
|
00943610 Camera::soft_clamp_position thiscall Camera, (out Vector*, x, y): Camera::get_clamp_bounds then remaps each axis into the bounds with a smoothstep-like polynomial (6t^5-15t^4+...); logs "Start and End parameters cannot be the same!" for an empty range; Camera::constructor, Camera::update_focus_position
|
|
00930820 TemporaryEffects::Update thiscall TemporaryEffects (vector of 0x10-byte effects at +4): unless disabled (+0x11) clears cache flags, decrements each cooldown (+8) and on 0 removes the effect, ORs its item cache flags (+0x54), calls Room::TriggerEffectRemoved or Entity_Player::trigger_collectible_effect_removed (owner +0x14); between AddEffect/ClearEffects and GetCollectibleEffect; Entity_Player::Update, Room::Update
|
|
0092cb30 std_map_copy_assign std::_Tree copy-assign: if different, erases this tree, copies nodes from param (FUN_0082e720), size, fixes leftmost/rightmost; Entity_Player::StoreGameState/RestoreGameState (a std::map/set member of the player state)
|
|
00925c60 OptionsConfig::set_fullscreen thiscall OptionsConfig: stores the bool at +0x24, switches the window (FUN_00a196b0(fullscreen, +0x66)); when windowed restores window pos (+0x74/+0x78), size (+0x7c/+0x80) and sets cursor mode GLFW_CURSOR 0x34001+(+0x6a); OptionsConfig::Load, Menu_Options::Update
|
|
0091e730 LobbyList::clear ? ECX = std::map whose values hold vectors: clears the shared string and each node's vector<12byte>, erases all nodes (FUN_0091fb10) and resets the head/size; Menu_Online::update_mode_select, Menu_OnlineLobbyList::Update
|
|
0091c770 online_session_reset ? resets online globals: DAT_00c79874/78 = 0, DAT_00bf9434..40 to 2/1/2/2, erases the std::map at DAT_00c7987c; callers online_stats_finalize, Manager::update_state_loading and other netplay teardown paths
|
|
0090e7d0 online_check_mods_allowed strings "##PLATFORM###ONLINE_MODS_BANNED"/"ONLINE_MODS_NEEDS_RESTART"/"ONLINE_MODS_PERMABANNED"; when the mod state Manager+0x4a91c is 2/3/4 queues the matching popup (PopupQueue desc FUN_009c25e0, OK button FUN_009c3c30, PopupQueue::push) and returns false; online_lobby_join, Menu_Game::Update
|
|
00907b60 online_lobby_get_member_count copies the global lobby shared_ptr DAT_00c79a74 and returns its member array size ((+0x14 - +0x10) >> 3), 0 without a lobby; PauseScreen::Update, netplay_lobby_menu_update
|
|
008ef120 vector_UserProfile_destroy ? std::vector of 8-byte polymorphic elements (KAGE::System::UserProfile: vftable + impl): calls each element's scalar destructor vfunc 0 then frees the buffer; Menu_OnlineLobby::init_lobby_view, InviteFriendsMenu::load_graphics and several unwind funclets
|
|
008ed150 Menu_OnlineLobby::change_character ? thiscall (ECX mistyped HUD): finds this lobby member's entry (lobby_member_map_get_or_add at +0x6a0); param 0x3e9 toggles tainted (+9) else steps the character byte (+8) by param through 18 characters, wrapping and skipping ones Menu_Character_Entry::IsCharacterAvailable rejects; plays menu sounds 0xc2/0xc3/0x23b; Menu_OnlineLobby::Update/update_controls
|
|
00873fc0 LuaCallbackCaller::CallUseItem ? Lua callback invoker: lua_rawgeti(callback table ref), pushes callback id (+4), item id, RNG and EntityPlayer as luabridge UserdataPtr (nil if null), use flags, slot, custom var data, then pcall; only callers LuaEngine::PreUseItem / LuaEngine::UseItem; sibling of LuaCallbackCaller::CallInputAction 00874910
|
|
008725f0 std_set_int_erase_key std::set<int>::erase(const key&): equal_range by *param, erases the range, returns the count removed; Seeds::RemoveSeedEffect, Seeds::RemoveBlockingSeedEffects
|
|
0085c590 luabridge::Userdata::getClass luabridge type check: strings "%s expected, got %s", "__const", "__parent", "__type", "cannot be const"; walks the metatable __parent chain comparing to the class key, honoring const-ness (param_2); called by every Lua binding argument check (Isaac::FindInRadius, HUD::ShowItemText ...)
|
|
0085b050 LobbySettings::reset ? zeroes +0..+8, max players +0xc = 4, public byte +0x10 = 1, clears two std::strings (+0x18, +0x30) and a vector (+0x48), and when this is Manager+0x4b0d8 and MenuManager exists re-runs Menu_OnlineLobby::init_lobby_view; Manager::constructor, online_lobby_join
|
|
00858050 Leaderboard::Render ? thiscall: when active (+4) dims the screen with a 0.3 grey / 0.5 alpha KAGE_ColorShader quad, then mode (+0) 0 -> Leaderboard::render_daily_score_breakdown, 1 -> Leaderboard::render_scores; callers Game::Render, MenuManager::Render
|
|
0084da20 InfoDisplayText::constructor ? zeroes an empty std::string at +0 (size +0x10, cap 0xf) and dwords +0x18..+0x64; callers HUD::update_item_info, InfoDisplay::describe_pickup_stats and the InfoDisplay XML parsers
|
|
0083b850 HUD::update_player_hud_slots ? thiscall HUD: for the player HUD slots (from +0x14), drops a slot whose player no longer resolves (FUN_0083bbc0 < 0) and shifts the following slots down; logs "PlayerManager::GetPlayer() : There are no players!"; callers HUD::PostUpdate, mark_all_slots_dirty
|
|
008332e0 Ambush::shuffle_waves ? copies the wave list (+0..+4) into the vector at +0xc and Fisher-Yates shuffles its 0xc-byte entries with a xorshift seeded from the current RoomDescriptor +0x5c ("RNG Seed is zero!"); callers Ambush::StartChallenge, Game::restore_game_state
|
|
00823370 Room::get_color_modifier ? thiscall Room (out 6 floats r,g,b,a,brightness,contrast): copies the room FX color (+0x1b10..+0x1b28), lerps 75% to neutral for room types 7/8/29 or the Abandoned Mineshaft dimension, +0.03 brightness for descriptor flag 0x200, darkens with the backdrop 0x20 kill ratio; callers Entity_Player::TakeDamage, try_end_astral_projection
|
|
007e8810 vector_PathNode_emplace_reallocate_copy ? second std::vector<0x14-byte element>::_Emplace_reallocate (copies 5 dwords of param_2) for the same pathfinder node vector as 007e8950; NPCAI_Pathfinder::HasPathToPos, pathfinder_can_reach_pos
|
|
007defc0 vector16_clear_and_reserve std::vector<16-byte element>::_Clear_and_reserve(n): frees the old buffer (FUN_005cbf50), grows to max(n, 1.5x) up to 0xfffffff and allocates; init_engine_parameters, Entity_Player::spawn_dark_esau
|
|
007ddd20 vector_PlayerItemBackup_emplace_reallocate ? std::vector<0x34-byte element>::_Emplace_reallocate (max 0x4ec4ec4); only callers Entity_Player::StoreGameState and Entity_Player::AddCurseMistEffect (backing up player item/state records)
|
|
007dc840 vector28_resize ? std::vector<0x1c-byte element>::resize(n): shrink sets end, grow within capacity default-constructs (FUN_007de2f0) or reallocates (FUN_007deaf0); only callers Entity_Player::StoreGameState and Entity_Player::restore_save_state_part2
|
|
007d83f0 Entity_Player::spawn_lil_clot_familiars thiscall Entity_Player: counts this player's FAMILIAR 3.238 subtype 7 (Lil Clot blood clot) in the room entity list, and while below GetTrinketMultiplier(TRINKET_LIL_CLOT 176) spawns more at a random angle (Game::SpawnEx(3,0xee,..,7)); Entity_Player::room_enter, TriggerTrinketAdded
|
|
007d2b70 Entity_Player::apply_soul_charge_to_actives ? only for PLAYER_BETHANY (0x12): for each active slot with a chargeable item compares the charge before/after adding param soul charge (_effectiveSoulCharge) and calls HUD::FlashChargeBar + charge sound (0xab/0xda) when a bar fills; Entity_Player::AddSoulCharge, SyncConsumables
|
|
007c7d70 Entity_Player::trigger_immaculate_conception string "[err] Immaculate has a wrong state!"; picks the reward for the Immaculate Conception counter (param 0 -> normal path with 5 options); callers Entity_Player::AddImmaculateConceptionCounter, TakeDamage
|
|
00771410 Entity_Player::apply_innate_collectibles ? loops collectible ids 0..0x2dc: innate ones (Entity_Player::IsInnateCollectible) get AddCostume and are marked in the game's seen-item bitset (Wait What 484 removes Butter Bean 294 from pools), non-held ones lose their costume (RemoveCostume); special case for player type 5; Entity_Player::InitPostLevelInitStats, ChangePlayerType
|
|
007530f0 std_deque_growmap std::deque::_Growmap: doubles the map size (min 8, max 0x15555555 -> 12-byte element deque) and moves the block pointers, adjusting the offset (+0xc); Level::write_room_config, PlayerManager::unlock_completion_mark
|
|
007474a0 Level::get_room_config_from_saved_id ? decodes a packed room id (type/mode bits >>16); 0x80000000 marks a merged generated room and recurses on its two halves through the hash table param_2, then RoomConfig::MergeRoomsIntoGenerated; otherwise looks the room up by type/variant; Level::generate_boss_room, Level::RestoreGameState
|
|
00728780 ItemConfig::load_metadata_xml strings "Could not find root node 'items' in %s", "quality", "craftquality", "trinket", "Collectible ID out of bounds.", "Trinket ID out of bounds."; parses items_metadata-style XML setting item quality/craft quality; Manager::load_configs, ModManager::LoadModContent
|
|
00724790 color_preset_lookup ? looks a name up in a std::map<string, color> (FUN_00685bc0 lower_bound, string_compare) and returns the 11-float KColor (tint 4, colorize 4, offset 3) of the match, else a default white color; callers anm2_apply_gfx_overrides, ItemConfig::load_wisp_node
|
|
007220a0 History::remove_index_refs ? thiscall History: for the 16 stored indices at +0x14 sets the removed index param to -1 and decrements larger ones, then recompacts; callers History::RemoveHistoryItemByIndex, Entity_Player::ChangePlayerType
|
|
00711af0 GridEntity_Lock::try_unlock ? thiscall (player, force): if not unlocked (+0xc state 0) requires a key (Entity_Player::TryUseKey, skipped with Paper Clip trinket 19 multiplier>=2) or one coin when the coin-lock flag +0x154 is set (AddCoins -1), then plays unlock sound 0x9c / coin 0x2d and opens; GridEntity_Lock::Update, Entity_Tear::Update (key tears)
|
|
00708ae0 vector12_resize std::vector<12-byte element>::resize(n) with zero-fill (memset) or reallocation (FUN_00709480); Game::AddErasedEnemy, GameState::write
|
|
006f8a40 Game_StateSlot::operator_assign ? copy-assign of a 0xc80-byte state block (2 x 0x23-dword arrays, then vectors) ; Game::store_game_state/restore_game_state call it in a loop over 7 blocks at Game+0x6778c
|
|
006edfa0 Entity_Pickup::update_cycle_collectible thiscall Entity_Pickup: when _cycleCollectibleCount != 0 (subtype 0 resets it) and forced / on Entity::IsFrame / paused, rotates _cycleCollectibleList and morphs to the next collectible; Entity_Pickup::Update, netplay_lobby_menu_update
|
|
006cb010 Entity_Projectile::apply_spawn_flags ? thiscall on the new projectile (flags at +0x438): maps ProjectileParams flag bits (0x80, 0x100, 0x20000000) to projectile flags, with Betrayal-style collectible 391 owner and a player/charmed spawner (param_3) marks it and links the spawner EntityPtr (+0x3bc multiset); Entity_NPC::FireBossProjectiles, fire_projectile_from_params
|
|
006b2410 entity_collision_classes_match ? fastcall (ECX entity A, EDX entity B): reads each EntityCollisionClass (+0x188), promotes 1/2 to 4 for players/NPCs with flags 0x20000100, returns true when either is 0 or the class pair passes FUN_006b2390; Entity::ForceCollide, Entity_Familiar::ai_umbilical_baby
|
|
00693470 list_string_push_back_move std::list<std::string>::push_back(string&&): "list too long" at 0x7ffffff, new node gets the moved 0x18-byte string (source reset to empty SSO), linked before the head; Console::FillOmnicomplete, HUD::show_fortune_text_impl
|
|
00683d00 keyvalue_map_parse ? constructor-like: builds an empty std::map at this (+0 head, +4 size), splits the input C string into tokens (FUN_0067f420 into a vector<string>), and for each token splits at '=' (FUN_0067f580(0x3d)) inserting key/value; init_engine_parameters, OptionsConfig::Load
|
|
0064d1d0 Entity_Familiar::update_star_of_bethlehem_speed ? thiscall familiar (Star of Bethlehem): unless forced, compares grid path distances (FUN_0064cf20) from the star target cell (+0xd90) and from the player to the exit, and sets the speed multiplier +0xd60 to 0.25/0.5/1/4/8; Entity_Familiar::room_enter, FamiliarAI::star_of_bethlehem
|
|
00633990 familiar_wisp_pick_tear_color ? thread-safe static init copies a table of KColors (DAT_00c34bb0.. etc) then picks one with the RNG param ("RNG Seed is zero!") into the out color; callers Entity_Familiar::fire_wisp_projectile, Entity_Familiar::ai_lil_spewer
|
|
0062d290 Entity_Familiar::mongo_baby_pick_next_mimic thiscall Entity_Familiar: only variant 74 (Mongo Baby) - advances its subtype (+0x30) through the 12-entry table DAT_00b648b0 {8,113,99,100,95,67,163,167,174,268,435,608} (baby familiar collectibles) until one the player (+0x410) HasCollectible; Entity_Familiar::Shoot, ai_auto_shooter
|
|
005cc710 std_map_int_insert std::map<int,int>::insert(pair): find_node on the key, if absent allocates a 0x18-byte node with key/value and links it (FUN_00415bd0); returns (iterator, inserted) in param_1; Room::Update, GameStatePlayer::read_part3
|
|
005ae0b0 position_is_over_pit ? ECX = Vector* position: converts to grid cell ((x-40)/40, (y-120)/40 rounded), returns true when it is in the room and the cell's GridEntity type is 7 (PIT); only callers NpcAI::ENTITY_WORMWOOD_main / segment_follow
|
|
0057e430 NpcHelper::rotgut_fire_projectile thiscall Entity_NPC: Entity_NPC::FireBossProjectiles(1, zero, 0, params) then overrides _fallingSpeed/_fallingAccel/_scale from params (+8/+0xc/+0x14) and sets position/velocity from param_1/param_2; only callers NpcAI::ENTITY_ROTGUT and ENTITY_ROTGUT_maggot
|
|
004e7d10 find_nearest_enemy ? ECX = position Vector*, EDX = out distance: EntityList::QuerySublist of the room's NPC list, skips non-enemies, flag 0x20 entities (and 0x1000a20 ones half the time), requires friendly flag 0x100 == param_1, returns the closest entity and writes its distance; callers Entity::TakeDamage, Entity_Player::TakeDamage
|
|
004ce6d0 Entity_NPC::update_move_direction_anim ? thiscall Entity_NPC: from velocity (+0x360) computes one of 8 directions (atan2, 16 sectors), turns the stored direction (+0xbc0) one step at a time unless just spawned, then plays the matching "Move1".."Move8" animation (table PTR_s_Move1_00b1ee78); Entity_NPC::update_physics, Entity_NPC::Interpolate
|
|
004303e0 ItemUseAnim::update ? thiscall on an active-item overlay struct (+0 active, +4 item kind, ANM2 at +0x128 and others): updates its AnimationStates and plays "D6Result"/"D20Result" when the pending animation name (+0x15c) matches, for kinds 0x16-0x1b and 0x1c-0x2f; callers Entity_Player::Update, Game::render_debug_overlay
|
|
004264c0 player_get_net_user_id ? (player) -> uint64: without networked input devices (Manager+0x4b3d8 empty) returns _controllerIndex (+0x1618); else maps a twin to its main player, InputManager::GetDeviceByPlayerEntity and returns the device profile's 64-bit id (+0x374 -> +8), -1 if none; Player_stats_add, Entity_Player::TriggerCollectibleRemoved
|
|
00424c40 SharedPtrPair::constructor ? constructs two smart-pointer members (FUN_0040c4a0(0) x2) and zeroes +0x10..+0x28; only callers Game::constructor and HUD::constructor
|
|
0041c490 EntityPartition::query_box ? thiscall partition grid (cell size this[5], width this[3], cells vector this[6..7] of 0xa4 bytes): for every cell overlapping the box (pos param_2, extent param_3) appends each not-yet-seen entity to the result list param_1 ("EL: not enough space for push_back"); EntityList::QueryRadius, query_player_capsule_hits
|
|
00414330 std_stringstream_constructor std::basic_stringstream<char> constructor: basic_ios at +0x68, basic_iostream over the stringbuf at +0x18, sets basic_stringstream / basic_stringbuf vftables, zeroes buffer state; ResolveRelativePath, write_desync_dump
|
|
00aeff8b __isa_available_init MSVC CRT: IsProcessorFeaturePresent(10), cpuid leaf 0/1/7 vendor "GenuineIntel" model checks, xgetbv for AVX, sets __isa_available/__favor (DAT_00bf93a0, DAT_00c71630); only caller ___scrt_initialize_crt
|
|
00aef775 __report_gsfailure MSVC CRT stack-cookie failure handler: only caller __security_check_cookie; captures the register context (all segment/flag registers) and raises the fast-fail
|
|
00ae1060 oc_state_borders_fill_rows libtheora: for plane pli (param_2) and rows [param_4,param_5) of frame buffer param_3, memsets the left/right padding (16 px, 8 for subsampled chroma when pixel_fmt&1) from the edge pixels; only caller th_decode_packetin
|
|
00add7a0 oc_dec_postprocess_init ? libtheora decoder: calls the state hook (+100), and when pp_level (+0xd144) < 1 frees the post-processing buffer (+0xd348) and returns 1, else (re)allocates the pp frame / variance buffers; only caller th_decode_packetin
|
|
00adcd70 oc_dec_dering_frag_rows libtheora: (dec, img, pli, fragy0, fragy_end) walks fragment rows using the pp variance buffer (+0xd34c) with thresholds 0x780/0xf00 (OC_DERING_THRESH3/THRESH4 for luma/chroma) and the pp level (+0xd144); only caller th_decode_packetin
|
|
00adc4c0 oc_dec_residual_tokens_unpack ? libtheora: per plane (+0x104 counts) clears the 64-entry token/eob table, zeroes uncoded fragment DC, and decodes tokens with the Huffman decoder FUN_00ae2740 (tables +0xc9f8); only caller th_decode_packetin
|
|
00adbe40 oc_ycbcr_buffer_flip libtheora: copies 3 th_img_plane entries (width,height,stride,data) negating the stride and pointing data at the last row (data + (1-height)*stride); callers th_decode_packetin and other decoder setup
|
|
00acac20 libjpeg_jinit_d_main_controller libjpeg jdmainct.c: allocates the 0x58-byte main controller (cinfo->main = this[0x65], start_pass FUN_00aca730); with upsample->need_context_rows checks min_DCT_v_scaled_size >= 2 (error 0x30) and allocates the funny xbuffer pointer lists (+0x40/+0x44); only caller libjpeg_jinit_master_decompress
|
|
00ac71d0 libjpeg_jinit_d_coef_controller libjpeg jdcoefct.c: allocates the 0x8c-byte coef controller (cinfo->coef = this[0x66]); need_full_buffer (DL) builds whole-image virtual arrays, else one MCU of 10 blocks (0x80 bytes each) with decompress_onepass; data_precision must be 8; only caller libjpeg_jinit_master_decompress
|
|
00ac1280 libjpeg_jinit_upsampler ? libjpeg: requires data_precision 8 (error 0x10), allocates the upsampler into cinfo->upsample (this[0x6c]) with start_pass FUN_00abfc30 and need_context_rows = FALSE, then per-component method selection; only caller libjpeg_jinit_master_decompress
|
|
00abd630 _vorbis_apply_window libvorbis: (pcm, blocksizes, lW, W, nW) picks the vwin tables PTR_DAT_00b5dd40[] for the previous/next block sizes, zeroes [0,leftbegin), multiplies the overlap regions by the window and zeroes the tail; only caller mapping0_inverse
|
|
00ab5960 libjpeg_jpeg_calc_output_dimensions libjpeg jdmaster.c: checks global_state == DSTATE_READY (0xca, error 0x15 JERR_BAD_STATE), calls jpeg_core_output_dimensions (FUN_00ab5560), then per-component DCT scaling when not raw; only caller libjpeg_jinit_master_decompress
|
|
00aafed0 png_crc_finish libpng: ECX = png_ptr, EDX = bytes to skip: reads and CRCs the rest of the chunk in buffer-size pieces through the read function (+0x50, "Call to NULL read function"), then checks the CRC honoring the ancillary/critical CRC flags (+0x64 0x300/0x800) and reports "CRC error"; called by the png_handle_* chunk readers
|
|
00aacf20 vorbis_dsp_clear libvorbis: frees the backend_state (+0x68): envelope lookup (7 band window buffers stride 0x10 = VE_BANDS), mdct/fft lookups, window and residue/floor state, memsets the private state (0xb4) ; callers KAGE_Audio::open_sound_file, theora/vorbis video teardown
|
|
00aac5c0 ogg_stream_pagein libogg: ECX = ogg_stream_state, EDX = ogg_page: reads header version/flags (+4/+5), serialno (+0xe), pageno (+0x12), segments (+0x1a); compacts returned body/lacing (memmove), checks serial, handles page gaps and appends lacing/body; callers VideoClip_Theora::readTheoraVorbisHeaders, FUN_00a8d0a0
|
|
00aab3e0 theoraplayer::_Exception::_Exception constructor: sets theoraplayer::_Exception::vftable, empty std::string message at +4, then fills it from (message, file, line) via FUN_00aab470; VideoClip_Theora::readTheoraVorbisHeaders throws it
|
|
00aa5120 stb_vorbis::is_whole_packet_present stb_vorbis: from the current segment (+0x574) walks the page's segment lengths (+0x46c count, +0x470 table) and following page headers in memory (+0x20) to verify the whole packet is buffered; only caller stb_vorbis::start_decoder
|
|
00aa3430 stb_vorbis::imdct_step3_inner_s_loop stb_vorbis inverse MDCT helper with 7 args (n, e, i_off, k_off, A, a_off, k0 in ECX/EDX + stack), loads A[0],A[1],A[a_off],A[a_off+1] and does the butterfly; only caller inverse_mdct
|
|
00aa2580 stb_vorbis::codebook_decode_deinterleave_repeat stb_vorbis: decodes codebook vectors and deinterleaves them across channels (outputs param, ch, c_inter_p, p_inter_p, len); only caller stb_vorbis_decode_residue
|
|
00aa1fb0 stb_vorbis::codebook_decode_start stb_vorbis: errors when lookup_type (+0x15) is 0, refills the bit buffer to 10 bits via get8_packet_raw, fast-table decode then codebook_decode_scalar_raw; asserts "z < c->sorted_entries" for sparse books; callers stb_vorbis_decode_residue, codebook_decode 00aa20b0
|
|
00aa17b0 stb_vorbis::get8 stb_vorbis: reads one byte from the memory stream (+0x20 up to +0x28) or the file callback (+0x14 vfunc +0x14), setting eof (+0x70) on underflow; callers stb_vorbis::start_decoder, 00aa1a40
|
|
00aa0c40 stb_vorbis::compute_sorted_huffman stb_vorbis setup: builds sorted_codewords / sorted_values for a codebook; asserts "c->sorted_codewords[x] == code", "k == c->sorted_entries", "len != NO_CODE" (ogg.cpp); only caller stb_vorbis::start_decoder
|
|
00a9d840 libjpeg_output_pass_setup libjpeg jdapi.c output_pass_setup: if global_state != DSTATE_PRESCAN (0xcc) calls master->prepare_for_output_pass, output_scanline = 0, state = 0xcc; then loops while master->is_dummy_pass (master +8); only caller image_load_jpeg
|
|
00a9a960 png_do_expand libpng: expands 1/2/4-bit gray (and palette-less color) rows to 8 bits, scaling the tRNS gray value (param trans_color +8) by 0xff/0x55/0x11 and adding alpha where it matches; only caller png_read_row
|
|
00a990f0 png_do_gray_to_rgb libpng: row_info ECX (bit depth +9, color type +8), row EDX: copies each gray sample into R,G,B (8-bit and 16-bit, with/without alpha) from the end backwards; only caller png_read_row
|
|
00a98a20 png_do_unshift libpng: for non-palette rows computes per-channel shifts bit_depth - sig_bit (param png_color_8: red/green/blue or gray, alpha) and shifts samples right (2/4/8/16-bit cases); only caller png_read_row
|
|
00a8b190 TheoraVideoManager::destroyVideoClip strings "Destroying video clip: ", " - Waiting for WorkerThread to finish decoding in order to destroy", " - WorkerThread done, destroying clip now..."; removes the clip from the manager list and deletes it; Manager::update_state_loading
|
|
00a82800 glfw_chooseEGLConfig GLFW egl_context.c chooseEGLConfig: strings "EGL: No EGLConfigs returned", "EGL: Failed to find support for OpenGL ES 2 or later", "EGL: Stereo rendering not supported", "EGL: Failed to find a suitable EGLConfig"; only caller _glfwCreateContextEGL
|
|
00a80ef0 _glfwIsWindowsVersionOrGreaterWin32 GLFW win32: fills OSVERSIONINFOEXW (size 0x11c, major 6, minor EDX, sp 0), VerSetConditionMask for MAJOR|MINOR|SPMAJOR and calls RtlVerifyVersionInfo (DAT_00c75adc), returns == 0; callers _glfwCreateWindowWin32 and other win32 platform code
|
|
00a790b0 NetworkManager::get_peer ? under the mutex at this+0x10 looks a 64-bit user id up in the map (FUN_00731ee0, head this+8) and returns a shared_ptr copy of the peer (FUN_00a79360) or an empty one; NetplayManager::try_advance_frame, NetplayManager::send_message
|
|
00414730 xml_memory_pool::clear rapidxml memory_pool::clear: walks block list until this+0xc (static pool), frees via this[0x4004] free_func or free(), then resets begin/ptr/end (end = this+0x4003*4, 64KB static pool); called by every *_xml loader
|
|
0040bcd0 ANM2::GetAnimationData linear search of this+0x74 array (count +0x78, stride 0x13c) for std::string name == arg, returns entry or 0; called with "CoinClosed" (GridEntity_Door::LoadSprite), "Clouds" (Entity_Effect::Init); ANM2 _animData +0x74 matches
|
|
00a20390 InputManager::get_device locks mutex at this+0x14, scans vector of shared_ptr (+8..+0xc) for device whose +0xc == index, copies shared_ptr out; Entity_Player::GetMouseAimTarget calls it with ECX=0xc57b18 and _controllerIndex then dynamic_casts to NetInputDevice
|
|
00683410 Checksum::Update mode this[3]==0: rotating add-hash over 4-byte chunks; mode 1: CRC32 (poly 0xedb88320, lazy table at 0xc7e860) into this[2]; used by PersistentGameData::write
|
|
0067f420 string_split builds stringstream over input, getline loop (FUN_006858b0) pushing std::string into vector param_1 (stride 0x18), returns it; used by xml loaders for tag/list attributes
|
|
009f5890 Weapon::get_tear_movement_inheritance this+4 owner: if player -> Entity_Player::GetTearMovementInheritance; if familiar -> uses owning player velocity*0.6*2 with Marked check (HasCollectible 0x18a); else zero; called from every Weapon_*::Fire
|
|
004147f0 std::vector<std::string>::_Tidy destroys each 0x18 std::string in [begin,end), operator_delete storage, zeroes begin/end/cap
|
|
00a23ae0 UserProfile::find_or_create ? keyed by 64-bit id in this[0..1]; looks up map via FUN_00a23bb0 under mutex, else creates under global CRITICAL_SECTION 0xc5aa78 ("Trying to lock mutex that has not been initialized"); results stored into KAGE::System::UserProfile objects in NetplayManager::process_drop_player_message
|
|
009c25e0 FontDrawParams::FontDrawParams ? initialises a text-render descriptor: param_1 font (g_Manager+0x4ae28 / +0x4ae74), param_4 position, default scale 1.0, KColor white + 0xffd3d3d3, flags |=7; followed by FUN_009c2700 string draw in HUD::update_item_info
|
|
00a29f60 Multiplayer::get_lobby ? ECX = global 0xc79a50; builds a KAGE::Network::Multiplayer::Lobby (ConstLobby->Lobby vftable) holding shared_ptr copied from this+0x24 into param_1; used by PauseScreen/Menu_OnlineLobby
|
|
008e24c0 KAGE::Network::Multiplayer::ConstLobby::~ConstLobby resets vftable to ConstLobby::vftable and releases the shared_ptr control block at this+8 (refcount vslot 0xc, deleter DAT_00c7f60c); paired with the Lobby objects built by 00a29f60
|
|
00685bc0 std::map<std::string>::_Find_lower_bound tree walk from head(this)->parent comparing std::string key (FUN_00423480) storing {node, isLeft, bound} into param_1; callers parse tag/flag name maps (EntityConfig::parse_entity_tags, ItemConfig::parse_cache_flags)
|
|
00a11f30 KAGE_Graphics::create_render_target operator_new(0x60) PlatformRenderTarget (FUN_00a90ca0 w,h,fmt,...) wrapped in ReferenceCount<PlatformRenderTarget> smart pointer returned in param_1; callers Game::create_render_surfaces, Minimap::Init, HUD::LoadGraphics, Backdrop ctor
|
|
0095af30 Manager::render_controller_action_glyph looks up input device (00a20390) and, for InputDeviceGamepad, plays "XboxOne"/"PS4"/"WiiU" on Manager+0x4abe4 ANM2, maps button (FUN_0095aba0) to frame and renders; returns 0 so callers (Menu_*::Render) fall back to keyboard sprite
|
|
008568a0 InfoDisplayEntry::copy_constructor ? copy ctor: std::string at +0 then six std::vector<int> at +0x18..+0x54 and two ints +0x60/+0x64; used by InfoDisplay xml loaders (collectibles/trinkets/pills)
|
|
00709150 KAGE::SmartPointer<RenderTargetBase>::reset allocates empty ReferenceCount<KAGE::Graphics::RenderTargetBase> control block, releases old one at this+4, sets ptr=0; Game::~Game, Room::LoadBackdropGraphics
|
|
006523e0 std::string::find_last_of ECX=data, EDX=size: builds 256-byte lookup of chars param_2[0..param_3), scans backward from min(pos,size-1), returns index or -1; Isaac::SaveModData/LoadModData path handling
|
|
00424440 ChallengeParam::Reset ? ECX = DailyChallenge+0x10 (LEA ECX,[EDI+0x10] in DailyChallenge::Init; Game+0x26640 in Game::reset_run_state): clears set at +0x18 and vectors, sets +0x38=-1, +0x6c=1 (ChallengeParam at DailyChallenge+0x10 per db/fields.tsv)
|
|
00a157f0 KAGE::Mutex::Lock "Trying to lock mutex that has not been initialized"; timeout -1 -> EnterCriticalSection + spin on busy flag; else TryEnterCriticalSection loop with Sleep(10) until timeout ms (GetTimeNs); returns 1 on success
|
|
0098aa30 MenuManager::SetState ECX = g_MenuManager (DAT_00c72a20) whose +0 is a vector<int> menu-state stack; param_2==0 just switches (logs "Setting the intitial menu state to %d, are you sure about that?"), else rebuilds the stack 1..N ("Unhandled Menu State trying to create a menu stack"); Menu_KeyConfig::Update pops the stack then calls it with the new top
|
|
0090abf0 PlayerManager::get_player_by_user_id ? scans vector<Entity_Player*> at this[0..1]; compares each player's +0x374 object's 64-bit id (+8/+0xc) with param_1 and returns the player or 0; NetplayManager::Update / update_player_removal
|
|
007e3340 PathFinder::is_entity_friendly ? this[0] = entity: true when FLAG_CHARM (0x168 & 0x100), type ENTITY_BLOOD_PUPPY (802), target with entity flag, type outside 10..999, or NPC with _controllerID (+0xf1c) != -1 / _forcedTarget (+0xf38); used by PathFinder::FindGridPath/MoveRandomly*
|
|
006a8c60 Entity::is_same_segmented_body ? for segmented types (0x13 Larry Jr, 0x1c Chub, 0x23 Mr Maw, 0x3e Pin, 0x59, 0xd8, 0xef, 0xf4 v2, 0x38d/0x390/0x396) walks both entities' _parent (+0x3bc) chains and returns whether they share a root; Entity::IsValidTarget skips targets for which it is true
|
|
004d7530 std::vector<EntitySaveState>::_Emplace_reallocate vector grow with element size 0x78 (max 0x2222222), EntitySaveState::copy into the new slot, moves halves around it; Level::Init, Room::on_leave, spawn_bomb_crater
|
|
00a5a7a0 path_join ECX=name, EDX=dir: tracked_alloc(len+2+extra), formats "%s/%s" or "%s%s" when dir ends in '/' or '\\', optional lowercase (param_1); used by ModEntry::parse_metadata_xml, string_table_translate, ModManager::UpdateWorkshopMods
|
|
00a19530 glfw_get_window_size ? GLFW 3.4 window.c line 0x260 assert "window != NULL" on window DAT_00c7999c; returns cached size (DAT_00c799a0/a4) when not windowed flag, else calls platform getter (DAT_00c73720) into an int pair; Manager::Render, OptionsConfig::Load, Entity_Player::GetMouseAimTarget
|
|
00a106e0 DestinationQuad::DestinationQuad stores four Vector corners (param_1..param_4) into this[0..7]; BeamRenderer::End, Room::render_water, Backdrop::RenderWater, set_quad_corner_colors
|
|
009b9570 PlayerManager::GetPlayerColorValue string "PlayerManager::GetPlayerColorValue( ) encountered invalid ePlayerColor value (%d)"; switch on color id per g_Manager+0x2a3f0 palette mode writing KColor-like floats to param_1
|
|
00989750 MenuManager::start_game writes 5 start params to g_MenuManager (DAT_00c72a20)+0x1c..+0x2c, sets +0xd, crossfades music, "Error: Game Start Seed was not set." if +0x17c == 0, then starts with that seed (FUN_00951f60); Menu_Character::handle_input, Menu_CustomChallenge::Update, Menu_Game::Update
|
|
009589d0 Manager::queue_achievement_popup pushes achievement id onto deque at g_Manager+0x21c20 (block size 4) when +0x2a378 enabled, then updates overlay (FUN_00931ba0); called right after PersistentGameData::UnlockSteamAchievement(0x184/0x144) in TryUnlock/TryAddBestiaryEncounter
|
|
009145f0 KAGE::SmartPointer<MessageData>::reset allocates empty ReferenceCount<KAGE::Network::Multiplayer::MessageData> block, releases old one at this+4, ptr=0 (same shape as 00709150)
|
|
008eded0 lobby_get_member_info ? takes member index; reads global lobby (shared_ptr DAT_00c79a74) member count (8-byte entries), Lobby member user id via FUN_00a284d0 ("Invalid lobby user index"), then searches map at +0x694 for that 64-bit id and returns &entry+0x18 or 0; GameOver::RenderItemSprite, Menu_OnlineLobby::Render
|
|
008562b0 std::vector<InfoDisplayEntry>::_Tidy destroys elements (FUN_00856840) and frees storage with stride 0x68 (matches 008568a0 copy ctor size); InfoDisplay xml loaders
|
|
00840b00 HUD_Message::Show string "HUD_Message::Show() recieved NULL messageText"; text_out, sets title/subtitle (FUN_00841000 0/1), plays "TextIn" (or alt), layer 1 visible = param_4, UpdateTextImage; Level::ShowName, HUD::ShowItemText, PlayerHUD::show_pill_name
|
|
00791380 Entity_Player::GetActiveMaxCharge slot param: 0 for slot 3 (and slot 2 special case), reads active item id this+(slot+0xac)*0x20 and varData +0x159c; returns 1 for items 0x263/0x2d0/0x93 and 0x23 with player form, else Entity_Player::GetCollectibleMaxCharge(id,varData); ControlActiveItem, DischargeActiveItem, PlayerHUD::RenderActiveItem
|
|
0071eb30 GridEntity_Spikes::unsummon sets _desc._state (+0xc)=1, +0x154=-1; plays "UnsummonPayment" / "UnsummonWomb" / "Unsummon" on sprite +0x40 unless already playing; called from GridEntity_Spikes::Update/BeginBatches, GridEntity::hurt_func
|
|
0041fba0 std::vector<ColoredQuad>::_Emplace_reallocate ? vector grow with 0x24-byte elements (DestinationQuad 0x20 + 4) copy-constructed by FUN_00a11210; BeamRenderer::End, render_quad_draw, Backdrop::render_floor_to_target
|
|
00415bd0 std::_Tree::_Insert_node red-black tree insert: ++size, links new node under parent param_1 (left/right by param_2), updates head min/max, recolour/rotate loop (FUN_00415f80/00415fe0 rotations); used by std::set<int>::insert, std::map<int,int>::operator[] (00730ed0)
|
|
00aa08f0 stb_vorbis::ilog bit count of n via 16-entry log2 table DAT_00ba8c50 with ranges <16, <512, <16K, <512K, <16M, <512M, <2^31 (stb_vorbis ilog); callers inverse_mdct, start_decoder, vorbis_decode_packet_rest
|
|
00a55e20 FormattedText::operator_assign ? copies flag byte and vector of 12-byte segments (+4), then when flag bit0 clear deep-copies each segment buffer (ptr +4, ushort len +8) with operator_new_tracked+memcpy; Font::measure_string, online_chat_text_input
|
|
00a205a0 InputManager::is_device_connected calls vslot 0x28 (get device shared_ptr by index), releases it, returns ptr != 0; Entity_Player::Update, MenuManager::Update, coop_join_menu_update
|
|
00a15b10 get_time_ms GetTimeNs() divided by 1,000,000 (magic 0x431bde82d7b634db >> 18), returns uint64 milliseconds; Entity_Player::TakeDamage/Update, Menu_OnlineLobby::init_lobby_view
|
|
009f5510 Weapon::is_c_section_anim_finished ? item 0x2a6 (C Section): owner not player -> Weapon::IsItemAnimFinished(0x2a6); else scans player item-anim slots (+0x122c, table +0x1220 stride 0x130) for that ItemConfig item and checks current anim != "SubAnim"; Weapon_Bone/Brimstone/Fetus::Fire
|
|
009f3f60 Weapon::get_laser_color resolves owner player (this+4, familiar -> its player) and copies Entity_Player _laserColor into a Color out-param (default white), with trinket/local-player adjustments; Weapon::fire_laser, Weapon_Brimstone::fire_hitscan
|
|
009c3c30 MessagePopup::add_ok_button ? EDX = popup: adds two entries via FUN_009c2db0 (a spacer and "##GAME###PROMPT_OK" with grey KColor 0x3e5cdcdd..), clears popup+0x84; Level::InitializeGenesisRoom, online_lobby_join
|
|
009b7500 PopupWindow::hide ? if shown (this[0]) and current anim (mode this[1]==1 ? +0x174 : +0x60) not "Dissapear": plays sound 0x12 and "Dissapear" on the mode's sprite; DeathScreen::Show, PauseScreen::Update, online_chat_window_update
|
|
009af0e0 LevelGenerator::get_all_rooms ? returns vector of LevelGenerator_Room* (this+0x364 + idx*0x48) built from index lists +0x37c..+0x380 then +0x370..+0x374; Level::place_special_rooms, generate_boss_room, try_place_random_room
|
|
009495f0 Menu_Character::set_character_menu_shown writes _characterMenuShown=param_1, loads CharacterMenu anm2 from table 00b24120[param*3] into _BigCharPageSprite and plays the selected character's page anim; Menu_Character::Reset/Update, MenuManager::SetState
|
|
0090a8a0 NetplayManager::reset ECX = g_Manager+0x4b3d8 (_netplayManager per db/fields.tsv) in Manager::destructor and Menu_OnlineLobby::Update; clears state fields, frees per-peer buffers in map +0x3c, erases trees, releases input devices
|
|
0085af30 DateTime::set_from_yyyymmdd ? EDX = date as YYYYMMDD: zeroes the struct, flags |= 2, writes tm-style day (+0x1c = %100), month-1 (+0x20), year-1900 (+0x24, -0x76c); DailyChallenge::Init, holiday_get_current, Leaderboard::render_scores
|
|
00828180 std::_Tree::_Extract red-black tree node unlink: finds successor (operator++), splices it into the erased node's place, fixes head min/max/root, then recolour/rotate (FUN_00415f80/00415fe0); returns erased node
|
|
007dc9b0 std::vector<EntitySaveState>::resize element size 0x78: shrinks by destroying the tail (dtor folded as invoke_pending_callbacks), grows in place (FUN_007de4b0) or reallocates (FUN_007dec60); Entity_Player::StoreGameState/RestoreGameState
|
|
007c8830 Entity_Player::spawn_locusts for each locust trinket 0x71..0x75 (Locust of Wrath..Conquest) GetTrinketMultiplier, doubled/tripled by Fish Tail (0x5e) with 1/5 rolls, spawns that many locust familiars via Game::SpawnEx ("RNG Seed is zero!"); Entity_Player::room_enter, Ambush::SpawnWave/SpawnBossrushWave
|
|
0074b5d0 Level::CanSpawnTrapDoor Level this: considers Labyrinth curse (bit 2 forced/prevented), mirror dimension, Ascent, challenge path, difficulty, IsNextStageAvailable/IsStageWithinEnd; callers then Room::SpawnGridEntity(..,0x11 GRID_TRAPDOOR) (GridEntity_PressurePlate::Reward, Game::BombDamage)
|
|
007099a0 std::vector<8byte>::_Clear_and_reserve frees old buffer and allocates a new one for param_1 8-byte elements with 1.5x growth (max 0x1fffffff), begin=end; Game::store_game_state/restore_game_state
|
|
006b9450 spawn_gfuel_explosion ECX = position, XMM1 = scale: Game::Spawn(1000,15) poof, loads "gfx/promo/gfuel/effects/explosion_big.anm2" (scale > 1.5, sound 0x337) or a random small explosion, ShakeScreen; Entity_NPC::PlayDeathEffects calls it when PlayerManager::GetGFuelCount() > 0
|
|
0068bba0 Console::update_state ECX = Game+0x68d78 (_console): ages message deque TTLs (+0x40 deque, +0x18), Glitched Crown (0x2b1) collectible refresh, open/close state machine 1..4 with 14-frame ease on +0x10 height; returns true when open (and not netplay); Game::Update, Manager::Update
|
|
005cb480 Entity_Player::update_mini_mush_costume counts TemporaryEffects of 0x47 (Mini Mush) + 0x246 (Wavy Cap), removes item-anim entries for ItemConfig list (+0x18, g_Manager+0x2a41c) entries 71/72/73 and adds the one for count 1-3/4-6/7+, then syncs other players; UseActiveItem, trigger_collectible_effect_removed
|
|
004aaef0 NpcAI::ENTITY_DOGMA_update_distortion reads "Distortion" null frame value from the NPC's animation state (+0x78/+0x98), adds 3 while +0xbc4 timer > 0, decays it, and writes the value into field 0x58 of every sprite layer; ENTITY_DOGMA, _angel, _angel_baby
|
|
0040cc10 ReferenceCountBase::ReferenceCountBase sets ReferenceCountBase::vftable, counts 0x10001, embedded KAGE::Mutex (vftable +8) initialised by FUN_00a15770; base of every ReferenceCount<T> smart-pointer block
|
|
00ae2060 th_granule_frame libtheora: iframe = granpos >> shift, pframe = granpos - (iframe << shift), minus 1 when info version >= 3.2.1; negative granpos -> -1; used after th_decode_packetin in the video player (KAGE_Audio::open_sound_file/audio_stream_seek), next to th_granule_time (00ae2110)
|
|
00aac980 ogg_stream_packetout libogg _packetout: ECX = ogg_stream_state, EDX = ogg_packet; lacing value flags 0x400 (hole -> packetno++, return -1), 0x200 eos, 0x100 bos, sums 0xff continuation segments, fills packet/granulepos/packetno; caller loops while < 0 before th_decode_packetin (VideoClip_Theora::readTheoraVorbisHeaders)
|
|
00aaae20 Mutex::ScopeLock::~ScopeLock theoraplayer ScopeLock: releases held mutex (clears locked flag, LeaveCriticalSection), and when logUnhandledUnlocks (this[1]) logs "WARNING: '<0x%p>' has been scope-unlocked automatically!" via log function PTR 00c5aa7c; video clip code
|
|
00aa1c60 stb_vorbis::get_bits stb_vorbis get_bits(f, n=EDX): valid_bits +0x584 / acc +0x580, n>24 splits into two reads (<<24), refills from get8_packet_raw with assert "f->bytes_in_seg > 0" (ogg.cpp line 0x5d3); start_decoder, vorbis_decode_packet_rest
|
|
00a55c40 FormattedText::set ? clears the 12-byte segment vector (+4), parses the input (FUN_00a56350 with callback FUN_00a56750 and args), and when param_5 set deep-copies each segment buffer (flag bit0 cleared) else marks borrowed (bit0); same struct as 00a55e20; Font::measure_string, render_lobby_info
|
|
00a2bfe0 utf8_decode_next ECX = UTF-8 pointer, EDX = out codepoint, param_1 = end: ASCII fast path, lead-byte length table (decompiler shows it as an offset into an unrelated string), validates continuation ranges, returns pointer past the char; Font::render_glyph_quads, online_chat_text_input
|
|
00a28360 KAGE::Network::Multiplayer::ConstLobby::ConstLobby ? sets ConstLobby::vftable, swaps in the shared_ptr returned by FUN_00a28840(¶m_1) and releases the by-value shared_ptr param_2; netplay_lobby_host_handle_message, ModManager::RenderCustomCharacterMenu
|
|
00a1b580 Font::render_glyph looks up glyph index (FUN_00a1b410), applies kerning (FUN_00a1b4a0) * scale, reads 0x14-byte glyph record (+4 src xy, +8 size, +0xc offset, +0x12 page) and draws a quad from page texture this+0x3c[page]; Font::render_glyph_quads, Font::draw_glyph_run
|
|
009f6570 Weapon::fire_brimstone_with_color Weapon::FireBrimstone from owner position (+0x33c/+0x340), then laser vslot 0x3c (SetColor) with Weapon::get_laser_color (009f3f60); Weapon_Brimstone::Fire and 00a02890
|
|
009ef740 Menu_Title::load_graphics builds "gfx/ui/main menu/" + "titlemenu.png" / "titlemenu_2.png" / "titlemenu_3.png" (flags this+0x11c/+0x11d) and replaces the spritesheet on ANM2 this+8; MenuManager::LoadGraphics, Menu_Save::update_save_drawings
|
|
009d8ca0 has_all_completion_marks ? iterates 0x14 character rows of the mark table at 0xc35ed0 (stride 0x90) over 12 mark slots (order 0,1,2,4,5,3,6,9,12,7,13,14) and returns false on the first achievement in g_Manager+0x2d0 without bits 0xc; Menu_Save::Update/Reset, MenuManager::SetState
|
|
009d84d0 GameState::write_int_vector writes count then each 4-byte element of vector param_1 through stream vslot 0x1c (this[0]), feeding each value to Checksum::Update (00683410); GameState::write, GameState::write_player
|
|
009c87e0 GameState::write_entry ? writes a 12-byte record to stream param_1 with checksum: if first int == 0x80000000 writes int + two ushorts, else three ints; called in a loop from GameState::write and from GameState::write_room
|
|
009c7350 is_valid_item_config_id ECX = item kind, EDX = id: id < 1 -> true; kind 0 checks ItemConfig vector +0x18 (g_Manager+0x2a41c), kind 2 trinket (id & 0x7fff, vector +0xc at +0x2a410), else ItemConfig::GetCollectible != 0; used while reading saved players (GameStatePlayer::read_part3, restore_save_state_part2)
|
|
009c3d10 MessagePopup::add_yes_no_buttons ? same builder as 009c3c30: adds a spacer then "##GAME###PROMPT_YES" (id 1) and "##GAME###PROMPT_NO" (id 2) via FUN_009c2db0; MenuManager::Update, Menu_OnlineLobby::update_controls
|
|
009bfa70 PlayerManager::GetNumCoopPlayers ? counts players in vector this[0..1] with variant 0, no parent (+0x3bc), not the higher-indexed half of a twin pair (+0x1e68 / +0x161c), and flag +0x20a9 set; Entity_Slot::Update, coop_join_menu_update
|
|
009bc280 PlayerManager::find_safe_spawn_position ? collects positions (+ velocity*45 lookahead) of players/enemies/projectiles in the room, then samples random points (sin/cos) clamped by Room::GetClampedPositionImpl / FindFreePickupSpawnPosition maximising distance; Entity_Player::Revive, Entity_Player::InitTwin
|
|
009b1c40 std::vector<LevelGenerator_Room>::_Emplace_reallocate vector grow with 0x48-byte elements (max 0x38e38e3) copy-constructed by FUN_007507d0; LevelGenerator::place_room, get_neighbor_candidates (LevelGenerator rooms stride 0x48 at +0x364)
|
|
009a79b0 HUD::render_player_net_status ECX = HUD, player hud stride 0x6dc: in netplay, for a remote player (peer vslot 0x14 false) lazily loads "gfx/ui/online/colored_dots.png" and draws an 8x8 dot frame (FUN_00902530 index) at the hud position; HUD::Render, HUD::render_player_hud
|
|
009a6140 HUD::get_player_hud_position returns Vector for player hud param_2 from HUD+0x5954/+0x5934 tables (stride 8, hud stride 0x6dc), layout param_3 adjustments, negative coords wrap by screen size (DAT_00c78dc4/edc), netplay offset +24; HUD::Render, render_player_hud
|
|
009a0de0 HomingLaser::remove_collinear_samples ECX = Entity_Laser+0x464 (_homingLaser): copies samples (+0x1c vector<Vector>), then drops each point whose in/out directions dot within XMM1 tolerance of 1; Entity_Laser::update_laser/UpdateHits
|
|
0099ec00 HomingLaser::apply_sine_offset ? ECX = Entity_Laser+0x464: mode +0x40 == 1 offsets each sample radially from origin (+4/+8) by sin(i*12pi/n - frame*0.1 - phase)*10*amp; else offsets perpendicular to origin->end (+4..+0x10) line; Entity_Laser::update_laser/UpdateHits
|
|
0099c290 HomingLaser::HomingLaser zero-inits the vectors/fields (+0..+0x10, +0x1c..+0x3c, +0x48..+0x50); called at Entity_Laser+0x464 and Entity_Knife+0x468 (_homingLaser per db/fields.tsv) from their constructors
|
|
0098f960 FXParams::FXParams ? zero-inits a 0x4c-byte param block (+0x44 = 1); Room::constructor at Room+0x38 and a stack local in FXLayers::LoadConfig
|
|
009837b0 GridEntity_PressurePlate::update_greed_button_anim switch on _desc._state (+0xc) picks the anim name stored at +0x268: "Switched"/"SwitchedRed"/"SwitchedSkull"/"SwitchedPentagram", "On"/"OnSkull"/"OnPentagram", "Off*" by Game::IsGreedBoss/IsGreedFinalBoss; update_greed_button, BeginBatches
|
|
004155d0 rapidxml::xml_document::parse resets first/last node+attr lists, skips UTF-8 BOM, loops whitespace table, "expected <" error, parse_node per child, links into ECX doc's node list; called by every *.xml loader (AnmCache::ParseFile, ItemConfig::Load, EntityConfig::LoadEntities)
|
|
0040c3b0 KAGE::SmartPointer::operator_assign copy-and-swap: builds temp via 0040c550 (copy ctor), swaps both words with ECX, releases the old refcount (vtable +0xc, then DAT_00c7163c deleter); callers assign textures (LayerState::SetTexture, TextureCache::Add)
|
|
006ad350 Entity::apply_second_hand_duration returns duration*2*GetTrinketMultiplier(0x4e TRINKET_SECOND_HAND) when the EntityRef source (param_2+0x24, walked up _spawnerEntity) is a player holding Second Hand, else duration; called by every Entity::Add<status> (AddFreeze/AddPoison/AddBurn...)
|
|
0067f580 string_split zeroes a std::vector<std::string> (ECX result) then FUN_0067f420 reads tokens via an istringstream into it; ItemConfig::parse_tags calls it with ' ' (0x20); also Console::RunCommand, EntityConfig::parse_entity_tags
|
|
0040c7f0 KAGE::SmartPointer::reset news a ReferenceCount<KAGE::Graphics::ImageBase> (0x18, ptr at +0x14) for param_1, releases the old refcount (vtable +0xc), stores ptr/refcount into ECX[0]/[1]; TextureCache::Release, Game::~Game
|
|
00431070 std::string::concat_move std::operator+(string&&, string&&): steals the buffer of whichever operand has capacity (memcpy/memmove of the other), _Xlen on overflow, result in ECX; used for path building (costume_path_apply_skin_color, HUD::LoadGraphics)
|
|
00a2c250 text_convert_encoding ECX=src text, EDX=len, (srcEnc, dst, dstCap, dstEnc): FUN_00a2c6e0 converts into a temp vector, encoding 0=1 byte 1=2 bytes else "Unknown encoding specified", copies min(cap-1) and NUL-terminates, returns char count; PlayerHUD::RenderPocketItems calls (0,buf,0x65,1) UTF-8 -> UTF-16
|
|
00a23610 KAGE::System::UserProfile::load_steam_avatar "Steam User Avatar - %llu": ISteamFriends GetLargeFriendAvatar (+0x8c) -> ISteamUtils GetImageSize/GetImageRGBA into a tracked_alloc buffer, creates a texture via FUN_00a11c70; callers set local UserProfile::vftable and then call it (NetplayManager::update_player_removal)
|
|
009f3290 IsaacRepentancePlus::Weapon::~Weapon resets vftable to IsaacRepentancePlus::Weapon::vftable, clears the owner's weapon ref (familiar +0xd4c or player via FUN_007ad4e0), erases the multiset entry at +8; called by every Weapon_*::Free
|
|
00a1b050 Font::DrawString Font::measure_string into a glyph vector then Font::render_glyph_quads, then frees the vector; called by Entity_Player::Render, Menu_OnlineLobby::Render, OnlineChat::render
|
|
007fec00 Room::TriggerBossDeath own log string "TriggerBossDeath: %d bosses remaining." with ECX+0x7224 (Room boss counter: Entity_NPC::Init increments DAT_00c71678+0x18300 room +0x7224 for bosses); skips type 0x19b variant 1/2, sets entity flag 0x100000; called from Entity::RemoveWithPoof and boss AIs (Lamb, Gideon, Dogma)
|
|
0040c4a0 KAGE::SmartPointer::SmartPointer ctor from raw ImageBase*: zeroes ECX then wraps param_1 in a new ReferenceCount<KAGE::Graphics::ImageBase>; Game::constructor, Backdrop::constructor, ANM2::LoadGraphics
|
|
00a11160 quad_set_rect ? same 4-corner fill from pos+size as render_quad_set_rect (00a10e70) but an 8-float quad with a bool at +0x20 set to 1 (no colour floats); used just before render_quad_set_rect in Backdrop::RenderFloor/PlayerHUD::RenderActiveItem, likely the source (UV) quad
|
|
009562d0 InputManager::GetActionValue (action, controllerIndex, entity) -> float; same InputManager vtable +0x74 call with callback FUN_00a20ab0 as the Lua Input::GetActionValue (0086fd70) plus a netplay path (FUN_00864d80) and controllerIndex -1 polling all devices; Entity_Player::GetShootingJoystick calls it with actions 4..7
|
|
00856650 std::vector<104byte>::_Emplace_reallocate element size 0x68, max 0x2762762, grows x1.5, _Xlen; InfoDisplay xml loaders push entries
|
|
00722330 std::vector<28byte>::_Emplace_reallocate element size 0x1c, max 0x9249249, grows x1.5, copies 7 dwords; History::AddHistoryItem and GameStatePlayer::read_part3 push history items
|
|
007090c0 shared_ptr::operator_assign copy-and-swap: temp from shared_ptr::assign (0041c770, really the copy ctor), swap two words with ECX, release old refcount (vtable +0xc, deleter DAT_00c71644); render-surface assignment in Game::create_render_surfaces, Minimap::Init
|
|
0044be50 std::deque<4byte>::_Growmap doubles map size (min 8, 0xfffffff overflow check), _Allocate then memmove/memset of the 4-byte block pointer map around the offset at +0xc; callers std::deque<int>::resize/push_front, std::deque<EntityPtr>::resize (same as named std::deque<int>::_Growmap 00499410)
|
|
00a52890 flock ECX=fd (_get_osfhandle), EDX=op: UnlockFileEx, then 1=LOCK_SH, 2=LOCK_EX (+4 LOCK_NB -> LOCKFILE_FAIL_IMMEDIATELY), 8=LOCK_UN returns 0, else errno EINVAL; used by PersistentGameData::Save, Isaac::SaveModData/LoadModData
|
|
0095adf0 render_input_button_icon ? forwards all args to FUN_0095af30 plus DAT_00c3793c/40 (1.0f,1.0f: default scale); 0095af30 dynamic_casts the device to KAGE::Input::InputDeviceGamepad, picks the anim by pad type (+900), ANM2::Play/Render on ECX+0x4abe4; GameOver::RenderItemSprite passes action ids 0x1c/0x19
|
|
0084dad0 InfoDisplayEntry::InfoDisplayEntry ? ctor: zeroes a vector at +0, empty std::string at +8 (cap 0xf), more zeroed vectors to +0x44, then FUN_006efa40 inits 10 x {0,0,0,0.01f,0} records; built per <item> in InfoDisplay::load_collectibles_xml / info_display_xml_parse_trinkets before the push, and once in Manager::constructor
|
|
00752900 std::vector<8byte>::_Reallocate_exactly max 0x1fffffff, _Allocate, copies 8-byte elements, _Change_array(old count, new cap); called by std::vector<8byte>::reserve
|
|
00694d20 EntityConfig_Entity::GetName returns std::string of the name at ECX+0xc; if it starts with '#' looks it up in StringTable "Entities" (language param 0x14 -> Manager+0x4a920 current language); Menu_Bestiary::Render, Entity_Player::room_enter (Spindown/boss name), Console::FillOmnicomplete
|
|
0041e720 BeamRenderer::Add appends a 0x44-byte Point to the global point vector DAT_00c78efc..f00 (pos, spritesheet coord XMM2, width XMM3, color mod), Point::UpdateNormal on the previous point, between BeamRenderer::Begin and BeamRenderer::End in Entity_NPC::RenderSegmentLink; REPENTOGON static BeamRenderer::Add(Vector*, ColorMod*, float<xmm2>, float<xmm3>)
|
|
00a582e0 memory_stream_read ? fread-style (dst, size, count) on a buffer object addressed by negative offsets from ECX (+-0x1c begin, -0x18 end, -0xc cursor, -8 total read), memcpy of the available part; save/desync code (write_desync_dump, Menu_Save::load_slot_data)
|
|
00a1b2d0 Font::draw_string_wide ? same shape as Font::DrawString but via Font::layout_glyphs/draw_glyph_run; PlayerHUD::RenderPocketItems passes it the UTF-16 buffer produced by text_convert_encoding(0,buf,0x65,1)
|
|
00a17860 file_exists FileSystem::ResolvePath(path) != 0 (frees the resolved buffer via tracked_alloc(0,0)); anm2_resolve_spritesheet_path, costume_path_apply_skin_color, ModManager::LoadModContent
|
|
009bc000 PlayerManager::trigger_new_room_effects ECX = player vector (GetPlayer "There are no players!" assert): Entity_Player::TriggerNewRoom_TemporaryEffects for every player, then queries room EntityList sublist +0x1218 and runs FUN_0062c8a0 on each (familiar variants 0xcb/0xdd new-room hooks); called by Level::ChangeRoom, Game::rewind, StageTransition::Update
|
|
009b0180 LevelGenerator::can_place_room for each cell offset of the shape (LevelGenerator::get_room_placement_offsets, terminated by DAT_00c35d20/24 sentinel) checks 13x13 bounds, grid slot ECX+0x14+idx*4 < 0 (empty), blocked flags +0x2b8, and not the last placed room cell when +0x391; returns 1 if all free; Level::try_place_random_room, LevelGenerator::get_neighbor_candidates
|
|
0096fc70 Entity_Laser::calc_end_point picks max distance 20.0 (140.0 with TearFlags mask DAT_00c348d0, 100.0/inf when room flag bit15 or variant 5) then Entity_Laser::CalculateEndPoint(out, .., ECX+0x34c pos, ECX+0x3bc angle, dist); Entity_Laser::update_laser, update_first_frame
|
|
00954b40 input_poll_active_device loops all input devices (FUN_00a20240), first with any pressed action (vtable +0x3c != -1) becomes Manager+0x4abd4 and, in mode 2, Entity_Player::SetControllerIndex on player 0 and DAT_00bf9444; returns 1 when found; Manager::update_ingame_input, Menu_Character::handle_input
|
|
0090e6d0 NetplayManager::check_connection returns 1 while the network session (DAT_00c79a58 vtable +0x10) is up; otherwise, once (ECX+0x58 == -1), opens the "##PLATFORM###LOST_CONNECTION_TO_SERVER" popup and stores its id at +0x58, returns 0; NetplayManager::Update, Menu_Online*::Update
|
|
00897540 LuaRef::equals rawgeti self ref (ECX[0]=L, ECX[1]=ref) from the registry, pushes the other LuaRef, lua_compare(EQ), pops, luaL_unref(param_2); Isaac::HasModData/SaveModData compare mod refs
|
|
007b9940 Entity_Player::is_footstep_triggered (foot: -1 any, 0 left): if the player's costume layer sprite (+0x123c index into +0x1220, anm2 3/0x271) is playing, Sprite::IsEventTriggered "LeftFootstep"/"RightFootstep"; otherwise a frameCount%6 / %12 cadence when not paused and flag 0x4000 clear; Entity_Player::update_footprints, GridEntity_Poop::Update (creep under the player)
|
|
007310e0 std::vector<4byte>::resize shrink sets end; grow within capacity memsets zeros, else FUN_00732240 reallocates; Game::store_game_state, Entity_Player::StoreGameState, ItemConfig::Load
|
|
004267f0 std::vector<8byte>::_Emplace_reallocate element size 8, max 0x1fffffff, grows x1.5, _Change_array; Game::AddEncounteredBoss, Menu_Save::select_save_slot, netplay
|
|
00417670 EntityList_EL::remove removes every occurrence of the entity pointer from the EL array (+4 data, +0xc count) by shifting down, "EL: invalid index for remove" assert; EntityList::AddEntity, PlayerManager::RemoveCoPlayer, Game::rewind
|
|
004141a0 std::basic_stringbuf<char>::~basic_stringbuf sets basic_stringbuf vftable, frees the owned buffer when mode bit 1 set, nulls the six get/put pointers, clears state, tail-jumps to the basic_streambuf dtor; called from its scalar_deleting_destructor and ResolveRelativePath
|
|
00a78160 NetConnection::send_message ? locks the mutex at ECX+0x24 ("Invalid mutex object specified"), builds a message with id from global counter DAT_00c73678, splits the payload into ceil(len/1092) chunks of <=0x444 bytes each queued with header {id, type param_2, chunk count, index, reliable param_5} (FUN_00a59f30); netplay lobby/menu senders
|
|
00a28790 KAGE::SmartPointer<LobbyImplBase>::SmartPointer default ctor: zeroes ECX, wraps a null pointer in a new ReferenceCount<KAGE::Network::Multiplayer::LobbyImplBase> (0x18), releases any old refcount; SaveSlotManager::constructor, MenuManager::constructor
|
|
00a1b210 Font::draw_string_wide_unscaled ? twin of Font::DrawString (00a1af90, measure_string + scale 1) built on Font::layout_glyphs/draw_glyph_run with scale &DAT_00c3793c (1,1); GenericPopup::Render, HUD_Message::UpdateTextImage
|
|
00a10fa0 render_quad_copy copy ctor of the 0x70-byte render quad (8 pos floats + 4 KColors, cf. render_quad_set_rect): default-inits corners to DAT_00c7b640 and 4x KColor::SetFromARGB(0xffffffff), then copies 0x1c dwords from param_1; BeamRenderer::End, render_quad_draw
|
|
009f52c0 Weapon::update_c_section_charge_anim state 0/1/2 -> "SubAnim_Charge"/"SubAnim_Charged"/"SubAnim_Shoot"; for the owner player's costume layers (+0x122c, 15 slots) whose item is ItemConfig::GetCollectible(0x2a6 COLLECTIBLE_C_SECTION) plays/sets the overlay anim and frame; non-player owner falls back to Weapon::UpdateHeadChargeAnimation(0x2a6); Weapon_Fetus/Brimstone/Bone::Fire
|
|
009e5960 ScoreSheet::add_cleared_room ? ECX is the ScoreSheet (009e5300 ScoreSheet::ScoreSheet inits the same +0x5c vector); (roomType, roomShape, clearCount, flag) with float in XMM0: when param_3==1 and amount > 0 pushes FUN_009e6740(shape) entries {roomType, flag, amount} (2 for shapes 8..12 i.e. 2x2/L rooms, else 1) into the vector at ECX+0x60 (realloc 0069ee50), and adds the count to ECX+0x74 for roomType 0xb; Room::TriggerClear, Room::on_leave, Ambush::Update
|
|
009c3ab0 PopupManager::close ? ECX = Manager+0x4ae74 (the object FUN_009c25e0 opens popups on, e.g. NetplayManager::check_connection): under the mutex at +8 finds the popup whose id == *param_1; if state < 3 either stores the result (+0x18) or sets -0x1010102, calls its callback (+0xa0, userdata +0xa4) and FUN_009c1260(3) to finish; Manager::update_controller_popups closes popup id Manager+0x4abcc with -1
|
|
009afc70 LevelGenerator::update_dead_end_lists resets the two index vectors at +0x370/+0x37c, LevelGenerator::mark_dead_ends, then for each 0x48-byte room (+0x364 vector) FUN_009af980 and pushes its index into the dead-end list (room+0x3c set) or the other list; LevelGenerator::Generate, LevelGenerator::CreateRoom
|
|
009614d0 Entity_Knife::copy_parent_state copies from the source knife: position-ish +0x34c/0x350, colour via vtable +0x3c (SetColor), TearFlags +0x410..0x41c, vtable +0x40 with +0x388, rotation +0x43c wrapped to [-180,180], +0xe4/0xe8, bytes +0x4e5/0x4e6; Entity_Knife::spawn_child_knife, Entity_Familiar::multidimensional_baby_copy_knife
|
|
009296c0 PersistentGameData::check_challenge_unlocks for challenges 1..0x2d (Manager+0x2a664 challenge params, 0xa4 each, required-achievement id vector at +0x48) unlocks DAT_00b7b0b0[challenge] via PersistentGameData::TryUnlock when every required achievement flag is set; runs after achievement grants (PersistentGameData::TryUnlock, TryAddBestiaryEncounter, Entity_Player::AddBlueFlies)
|
|
00907690 netplay_leave_lobby copies the global current-lobby shared_ptr DAT_00c79a74 and, if valid, logs "Leaving current lobby %llu" with its 64-bit lobby id (+8/+0xc) then leaves/resets it; Game::FinishChallenge, Menu_OnlineLobby::Update, online_stats_finalize
|
|
0084e5b0 InfoDisplayItem::is_line_visible (lineIndex, player, flags) over the item's 0x68-byte description lines (ECX+0x2c vector): player-type include/exclude lists (+0x18/+0x24 vs _playerType), required/excluded collectibles (HasCollectible) and trinkets (HasTrinket), achievement gate +0x60 (Manager+0x4c flags, < 0x282), then a mode/flag check; PlayerHUD::render_pocket_item_info, render_item_info_text
|
|
008131e0 Room::ScreenWrapPositionImpl Room::GetClampedPositionImpl(out,pos,margins...); if pos is inside returns it, else moves it across to the opposite wall along the axis with the larger overshoot using the room bounds at ECX+0x14..0x20; called by Room::ScreenWrapPosition (Lua wrapper) and Entity_Laser::UpdateHits/update_laser
|
|
007cbef0 Entity_Player::spawn_forgotten_body ECX Entity_Player: reuses _forgottenBody unless missing, Game::SpawnEx(3, 900 FAMILIAR_FORGOTTEN_BODY) at _pos (or _forgottenBodyPos when HasCollectible(0x26b Birthright) and _playerType 0x11), copies size/scale/colour, stores _forgottenBody/_forgottenBodyRoomIdx/_forgottenBodyPos, poof effect 1000/0x72; Entity_Player::room_enter, init_player_type_state
|
|
00753390 std::vector<4byte>::insert_range (where, first, last): grows x1.5 (max 0x3fffffff, _Xlen) and memmoves the [first,last) 4-byte range in at where; Level::generate_dungeon, RoomConfig::GetRandomRoom
|
|
00722a80 ItemConfig_Item::ItemConfig_Item zero/empty-string init of the item record (std::strings at +0xc/+0x24/+0x3c/+0x88 with cap 0xf, +0x7c 0xf0001, -1 sentinels at +0xa4/+0xc8/+0xdc); ItemConfig::Load and ItemPool::CreateGlitchedCollectible call it right after new and then fill the gfx path ("gfx/promo/gfuel/items/collectibles/...")
|
|
00708b70 std::vector<12byte>::operator_assign copy-assign when this != other: reserve (FUN_006a0dc0) if capacity/12 is short, memmove the bytes, set end; Game::store_game_state/restore_game_state, Leaderboard::Show
|
|
0069ee50 std::vector<12byte>::_Emplace_reallocate element size 0xc, max 0x15555555, grows x1.5, memmove halves; EntityConfig::LoadEntities, RoomConfigRoom::ParseXml, queue_room_clear_charges (009e5960)
|
|
006341a0 Entity_Familiar::apply_baby_bender if the familiar's player (+0x410) has TRINKET_BABY_BENDER (0x7f) adds homing to the tear's TearFlags (+0x428..0x434 via FUN_00633ea0) and sets its colour (vtable +0x3c), returns whether it applied; Entity_Familiar::ai_incubus_shot, FireBrimstone, fire_wisp_projectile
|
|
0059c4c0 std::string::push_back appends one char: in-place when size < capacity (+0x10/+0x14, SSO when cap <= 0xf) with NUL, else grows (x1.5, |0xf, _Xlen at 0x7fffffff) and memcpy; online_chat_text_input, rich_text_layout
|
|
00424310 ChallengeParams::ChallengeParams ? ctor: empty std::string at +0, std::set/map head node (0x14, isnil 0x101) at +0x18, many zeroed vectors after; Game::constructor, Manager::constructor and challenges_xml_load (Manager+0x2a664 holds the 0xa4-byte challenge params read by Game::GetChallengeParams)
|
|
0040c890 render_color_stack_push push_back of a 0x2c-byte ColorMod (11 floats: tint/colorize/offset) onto the global deque DAT_00c78db4 (map) /db8 (size) /dbc (offset) /dc0 (count), growing the map like _Growmap; Entity_Player::Render and Entity_Familiar::Render push then pop it (DAT_00c78dc0--), AnimationLayer::RenderFrame applies the top when DAT_00c78dc0 != 0
|
|
00ab6ee0 oggpack_write libogg bitpacker (b, value, bits): bits > 32 or realloc failure clears the buffer, grows by 0x100 (BUFFER_INCREMENT), masks with the mask table DAT_00b4f838 and ORs bytes in; theora encoder/decoder helpers (mapping0_inverse callers)
|
|
00aac3e0 ogg_sync_pageout ECX ogg_sync_state, EDX ogg_page: loops the inlined pageseek (needs 27 header bytes, "OggS" capture, memchr for the next 'O' on resync); KAGE_Audio::open_sound_file, VideoClip_Theora::readTheoraVorbisHeaders
|
|
00aaac60 int_to_string ? sprintf(buf[64], "%d" (DAT_00b1bb84)) into the std::string at ECX; theora_create_video_clip, TheoraVideoManager::TheoraVideoManager
|
|
00aa1bc0 stb_vorbis::flush_packet loops get8_packet_raw inlined: next_segment (FUN_00aa1a40) when bytes_in_seg is 0 and not last_seg, assert "f->bytes_in_seg > 0" (ogg.cpp line 0x5d3), --bytes_in_seg, ++packet_bytes, get8 until EOP; stb_vorbis::start_decoder, vorbis_decode_packet_rest
|
|
00a519a0 leaderboard_find_async ? (name, flag 0/1, callback, userdata): when the online service bit DAT_00c5ab14&1 is off calls callback(0, userdata) at once; otherwise news a 0xb0 request holding a copy of the name, FUN_00a51570(1,0,name,flag,callback,userdata) and submits it (FUN_00a52100); Leaderboard::get_leaderboard passes the ranking name with FUN_0085a8f0/FUN_0085a9d0 callbacks, Game::StartStageTransition too
|
|
00a2b1e0 SoundManager::load_sound "Sound manager has not been initialized", picks the source by extension ".ogg"/".wav" ("Failed to load sound '%s'. Unknown sound source type"), "sample" vs "stream" (param_4), path hash via KAGE_Filesys_FileManager::GetPrimaryFilePathHash, "Failed to open %s \"%s\""; SoundEffect::Load, SoundEffects::Play
|
|
00a193c0 Window::get_framebuffer_height ? GLFW 3.4 inlined getter on the GLFWwindow at ECX+0xbc: assert "window != NULL" at window.c line 0x2c7 (glfwGetFramebufferSize region), _glfwInputError(GLFW_NOT_INITIALIZED) if not initialized, platform callback DAT_00c73730(window,&w,&h), returns h; Manager::ResizeWindowCallback, Manager::update_state_loading
|
|
009f3d00 Weapon::get_owner_tear_flags resolves the owner (+4) to a player (type 1, or a familiar's player), returns its TearFlags (player +0x1488..0x1494) into the 16-byte out; for a familiar owner with TRINKET_BABY_BENDER (0x7f) ORs the homing mask DAT_00c34ba0; Weapon::fire_laser, Weapon_Rockets::Fire
|
|
009e5300 ScoreSheet::ScoreSheet zeroes the vectors at +0x40/+0x5c/+0x68/+0x7c then FUN_009e53a0 (ScoreSheet reset: zeroes bonus ints +0..+0x34, clears vectors, run ending); REPENTOGON ScoreSheet has _runTime at +0x40 region; Game::constructor, Leaderboard::render_scores builds one per row
|
|
009d8be0 save_slot_get_status ? returns 0/1/2 for the current save slot from Manager flags (+0x2c9 -> 2; +0x19f, +0xa80, +0xf18 > 0, +0x2c7) with the netplay checks (Manager+8 == 2, Game+0x26630/+0x26589); Menu_Save::Reset calls it after Manager::SetSaveSlot for each of the 3 slots and stores it per slot
|
|
009d83f0 std::vector<52byte>::resize element 0x34: shrink sets end, grow within capacity via FUN_009d8820 (default-construct n), else FUN_009d8a20 reallocates; Entity_Player::restore_save_state_part2, GameStatePlayer::read_part3
|
|
009c7800 GameState::~GameState tears down the GameState members: strings, vectors at +0x1fde0/+0x1fd98, 7x800-byte records at +0x1e7b4, a set at +0x1e778, 0x1f vectors at +0x1e3cc, 4+8 0x5dc-byte player states (FUN_00754d90) at +0x1cc5c/+0x19d7c, 0x20f RoomDescriptor::destructor at +0x1a0; write_game_state_to_stream unwinds its stack GameState with it, Manager::destructor
|
|
009c6c90 PreloadManager::load_group finds the preloads.xml group by name (FUN_0069d690 map find) and, if not yet loaded (+0x28), Manager::LoadImage + TextureCache::Add for every 0x20-byte {path, SmartPointer} entry of its vector at +0x44, then marks it loaded; Game::LoadConfigXmls loads "common"/"pickups"/"icons", PlayerManager::enter_level "player tears"
|
|
009c2db0 std::vector<48byte>::push_back copies 12 dwords to end (+4) and advances by 0x30, else FUN_009c2e30 reallocates; popup queue in Manager::update_controller_popups, Menu_Game::Update and the popup helpers 009c3b70/009c3c30
|
|
009beb30 PlayerManager::check_full_health ? walks the player vector (ECX), for each non-ghost main player (variant 0, !_isCoopGhost) tests _soulHearts+_redHearts >= _maxHearts or HasInstantDeathCurse, combining per param (any/all) into the bool result; Level::CanOpenChallengeRoom, Level::place_special_rooms (challenge room door rule needs full health)
|
|
009b2150 Menu_Options::Init ? loads "gfx/ui/main menu/OptionsMenu.anm2" into ECX+0x24, stores param_2 at +0, Menu_Options::load_graphics, copies the position Vector param_1 into +0xc/+0x14, clears +0x258; PauseScreen::Init/Show embed the options menu
|
|
009b0440 LevelGenerator::count_neighbor_rooms for the 4 direction offsets DAT_00c5d3e0..c5d400 counts cells inside the 13x13 grid that are occupied (ECX+0x14 slot >= 0) by a room other than the one at the cell itself (FUN_009afd70); LevelGenerator::mark_dead_ends, Level::generate_boss_room
|
|
009a6660 HUD::render_player_type_icon ECX HUD (texture at +0x592c, set up in HUD::LoadGraphics): maps player type 0..0x28 through a 41-entry table to a cell of a 6-column 32px atlas, scales x1.8 in co-op, draws a backing quad then the icon via render_quad_set_rect/apply_sprite_shader_params; Entity_Player::Render passes this->_playerType for the co-op marker, OnlinePlayerInfo::render_items
|
|
009a3590 HUD::show_fortune_line builds a one-element std::list<std::string> from param_1 (FUN_00693470 push) and calls HUD::render_fortune_text, then frees the list; Level::AddCurse (curse name banner), Entity_Player::room_enter
|
|
009a0520 HomingLaser::clip_samples_to_grid (pos, gridCollision): unless mode 0/3, walks the sample offsets (+0x1c vector<Vector>) converting pos+offset to a room grid index (40px cells, origin 40/120), Room::GetGridCollision + FUN_0070be60 test; on a hit erases the remaining samples (std::vector<Vector>::erase) and refines the last one with Room::check_line_collision; returns 1 when clipped; Entity_Laser::update_laser, UpdateHits
|
|
0099e160 HomingLaser::compute_bezier_handles over the 0x18-byte bezier points (+0x48 vector: pos, in-handle, out-handle) sets each handle to pos -/+ (prev delta + next delta) * tension (XMM1), halved for interior points, treating the path as closed when first and last points coincide (< 0.1); HomingLaser::build_bezier_path, build_ring_bezier
|
|
00993840 FXLayers::clear releases every layer's texture smart pointers (FUN_0040c7f0(0)) in the 0x2c-byte layer vector (+0x24) and its 0x14-byte entries, destroys the layers (FUN_009975c0), clears the 0x4c-byte vector at +0x18 and the 10x3 0x34-byte objects at +0xc0; Room::LoadBackdropGraphics, FXLayers::LoadConfig
|
|
0098f720 FXParams::FXParams default ctor matching REPENTOGON FXParams layout (size 0xa0): roomColor KColor(1,1,1,0) at 0, brightness 0 +0x14, contrast 1.0 +0x18, useWaterV2 false +0x1c, waterColor (0.04,0.04,0.04,0.6) +0x20, waterColorMultiplier 1.0 +0x34, shadowAlpha 0.5 +0x48, shadowColor/lightColor, water effect ColorMod; Room::constructor, FXLayers::LoadConfig
|
|
00730ed0 std::map<int_int>::operator_index std::set<int>::find_node then, if absent, allocates 0x18 node (key +0x10, value +0x14 = 0) and inserts (FUN_00415bd0); returns &node->value; "map/set too long" check 0xaaaaaaa
|
|
00a1d610 std::list<std::pair<int_int>>::push_back "list too long" check, operator_new(0x10) node {next,prev,a,b} linked before head; SaveSlotManager/MenuManager ctors, IsaacMain
|
|
0060c700 std::_Tree_iterator::operator_decrement red-black tree predecessor: from head goes to rightmost, else rightmost of left subtree or climbs parents (isnil byte +0xd); Isaac::GetEntityTypeByName/GetEntityVariantByName
|
|
00a14270 std::map<unsigned_int_4byte>::operator_index _Find_lower_bound on the uint key; if missing new 0x18 node {key at +0x10, value 0 at +0x14}, insert via FUN_00415bd0 (size 0xaaaaaaa check); returns &node+0x14; shader_cache_find, FXLayers::Render
|
|
00856120 std::map<int_InfoDisplayEntry>::erase ? erase(key): equal_range over the red-black tree on int key at node+0x10, then erases the range (node value holds std::strings: _Tidy_deallocate), returns count; InfoDisplay xml loaders replace an existing id
|
|
00652210 std::map<unsigned_int_4byte>::try_emplace _Find_lower_bound; existing -> {node,false}; else new 0x18 node {key +0x10, value 0 +0x14} inserted (0xaaaaaaa max size check), returns {node,true}; Entity_Familiar::PickEnemyTarget, map_find_value
|
|
00a27980 std::map<const_char_ptr_4byte>::find lower_bound (FUN_00a280b0) then byte-wise strcmp of the key at node+0x10; returns the node or end (*ECX); StringTable::get_string, Game::ShowFortuneText
|