751 lines
68 KiB
Plaintext
751 lines
68 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
|
|
008c99b0 Entity_Player::zhl_misfit_008c99b0 23/24-byte prefix sig matched as Teleport; no teleport strings; purpose unknown
|
|
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)
|
|
00684cb0 nullsub_684cb0 ?empty body (ICF)
|
|
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
|
|
009bfd40 NpcHelper::hush_fly_shape_build Hush Fly path: 1/2 = 5/6-point stars (inner .382/.577), 3-5 polygons, 6 = 31-gon; cumulative lengths
|
|
009bffb0 NpcHelper::hush_fly_shape_point Hush Fly path: point at share of total length (fmod), linear between vertices
|
|
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
|
|
007d7740 Entity_Player::UpdateFamiliarCounts ? counts familiars (type 3 var 0xed etc.) in std::set; ResetPlayer / Familiar::Kill
|
|
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
|
|
00823080 Room::ClearGreedWaveSpawns ? removes 1000.120 effects tagged with wave index param; greed wave/pressure plate
|
|
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
|
|
008318a0 Game::update_pending_pickup_animations ? Pickup/PlayerPickupSparkle AnimateCollectible across players
|
|
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)
|