# class offset type name [evidence] (zhl_fields.tsv format plus a note; these win over zhl and lua fields at the same offset) # Add struct fields you have confirmed from the code, e.g.: Entity_NPC 0xb94 int _myCounter Entity_NPC 0xf20 Vector _controllerMovement movement written by Entity_NPC::UpdateControllerMovement (006d9050); 21 AIs reset it each frame Entity_NPC 0xf28 void* _aimTargetEffect effect 1000.30 an NPC under player control aims at (Entity_NPC::GetAimTargetPosition 006d8d30) Entity_NPC 0xdec ANM2 _chargeBarSprite gfx/chargebar.anm2 loaded by Entity_NPC::UpdateChargeBar (006d8e40) Entity_Projectile 0x410 float _height Planetoid Blow resets it to -23; BACKSPLIT children copy it (Entity_Projectile::Update 00654686) Entity_Projectile 0x414 float _fallingSpeed Planetoid shot/Blow set 0 (ENTITY_SWARMER 00518e20) Entity_Projectile 0x418 float _fallingAccel setter 00444c90; Planetoid -.095/-.085, BACKSPLIT children -.04 Entity_Projectile 0x42c float _acceleration setter 004aad70; ACCELERATE multiplies velocity by it a tick (00659a62) Entity_Projectile 0x430 float _orbitDistance orbit target distance R in the ORBIT_CW/CCW steering (Planetoid 80, Blow 0) Entity_Player 0x1e00 int _inventory[16] Tainted Isaac's slots of history indices, -1 empty; slot 0 dropped by a pickup past GetMaxInventorySize (characters_9.md) Entity_Player 0x1ef8 int _hugCountdown Tainted Magdalene's hug: 9 on a swing, swings again under 3, counted down in the update (characters_9.md) Entity_Player 0x157c float _meleeDamage EvaluateItems' damage before weapon multipliers; the hug's 2x base (characters_9.md) Entity_Player 0x2004 bool _darkArtsBlastPending set as Dark Arts ends; the blast waits for the last snare (characters_9.md) Entity_Player 0x2008 float _darkArtsDamage the snares' summed damage, the end blast's DamageRadius damage (characters_9.md) Entity_Player 0x200c Entity* _darkArtsLastSnare the newest 1000.194 Dark Snare (characters_9.md) Entity_Pickup 0x5c8 EntitySaveState* _flipSaveState Flip's ghost item (Room::SpawnEntry), swapped by TryFlip (characters_9.md) # # Verified against this exe by 8 subagents (2026-10-24): every REPENTOGON field our build could not confirm automatically, # relocated with code evidence (constructors, Lua getters/setters, known users). REPENTOGON offsets themselves are not evidence. Entity_Player 0x41c ANM2 _bodySprite ctor 00753da0 builds ANM2 here first; Render 0078b640 checks its _loaded and reads its null frame for the held item Entity_Player 0xee4 ANM2 _bloodGushSprite ctor 00753da0 builds ANM2 here after the 7-sprite array at 0x758; Update 00782af0 ANM2::Update on it; same layout as REPENTOGON (shift 0 up to 0x1368) Entity_Player 0xff8 ANM2 _heldSprite ctor 00753da0 ANM2; AnimateCollectible 007ab380 loads the item graphic into it, rewinds and plays it Entity_Player 0x1220 vector_CostumeSpriteDesc _costumeSpriteDescs ctor 00753da0 zeroes a 3-dword vector at 0x1220..0x1228 right after the ANM2 at 0x110c; shift-0 region bracketed by 0xff8 and 0x1340 Entity_Player 0x1320 std_string _headAnim ctor 00753da0 inits an MSVC std::string at 0x1320 (size 0x1330=0, cap 0x1334=0xf); shift-0 region Entity_Player 0x1338 int _blinkTime Lua field HeadFrameDelay = +0x1338; update_shooting 0077b020 sets 8/10 and counts it down Entity_Player 0x133c int _headDirectionTime update_shooting 0077b020 counts it down beside 0x1338 and only refocuses the head while it is <0; bracketed by 0x1338 and 0x1340 (shift 0) Entity_Player 0x1374 int _gnawedLeafTimer Update 00782af0: HasCollectible(210 Gnawed Leaf) with no action triggers -> ++, >60 adds the null costume; reset to 0 otherwise Entity_Player 0x137c short _bloodLustCounter EvaluateItems 00763570 reads it as short beside GetCollectibleEffectNum(411 Blood Lust); TakeDamage 007729d0 increments it Entity_Player 0x1388 int _metronomeCollectibleID UseActiveItem 005b39d0 Metronome case stores the rolled item id; GetCollectibleNum 00770ca0 +1 when HasCollectibleEffect(488) and id matches; room_exit 007a6680 clears it Entity_Player 0x1394 int _monkeyPawCounter TakeDamage 007729d0 decrements it, at <1 TryRemoveTrinket(20 Monkey Paw) and resets to 3 Entity_Player 0x16c8 std_vector_int _collectibleCounts GetCollectibleNum 00770ca0 indexes begin 0x16c8 / end 0x16cc by collectible id (shift +0x10) Entity_Player 0x1530 int _shotSpeedModifier EvaluateItems 00763570 shot-speed block: shotspeed = (this+0x1530 + ...)*0.2 + ...; zeroed under Curse Mist/coop ghost like the kept 0x1520..0x152c modifiers (shift +8) Entity_Player 0x1534 int _luckModifier EvaluateItems 00763570 luck block (cache 0x400) adds it, zeroed under Curse Mist/coop ghost (shift +8) Entity_Player 0x1538 int _donateLuck DonateLuck 007b2200 (Lua EntityPlayer:DonateLuck) adds the argument here and sets cache flag 0x400; EvaluateItems adds it to luck Entity_Player 0x153c int _potatoPeelerCounter EvaluateItems 00763570: damage += (0x153c+0x1540)*0.2 and Cube of Meat level = 0x153c + GetCollectibleNum(73) + effect num(73) (shift +8) Entity_Player 0x154c float _edenSpeed EvaluateItems 00763570 speed block (cache 0x10) writes it into the per-player-type base speed table at Eden (9) and Tainted Eden (0x1e) slots Entity_Player 0x1550 float _edenFireDelay EvaluateItems 00763570 fire-delay block (cache 2) adds it when playerType is 9/0x1e (shift +0xc) Entity_Player 0x1554 float _edenDamage EvaluateItems 00763570 damage block adds it when playerType is 9/0x1e (shift +0xc) Entity_Player 0x1558 float _edenTearRange EvaluateItems 00763570 range block (beside the -80/-60 per-character range) adds it when playerType is 9/0x1e Entity_Player 0x155c float _edenShotSpeed EvaluateItems 00763570 shot-speed block: shotspeed += it when playerType is 9/0x1e Entity_Player 0x1560 float _edenLuck EvaluateItems 00763570 luck block (cache 0x400) sums it with the luck modifiers; last of the 6-float Eden block 0x154c..0x1560, right before kept _movespeed 0x1568 Entity_Player 0x1748 vector_SmeltedTrinketDesc _smeltedTrinkets HasGoldenTrinket 00771620 indexes *(this+0x1748) by trinket id *4 and tests the short at +2; TryRemoveSmeltedTrinket 00772260 (shift +0x10) Entity_Player 0x1754 std_vector_int _voidedCollectibles VoidHasCollectible 007711a0: when an active slot holds 477 Void, scans begin 0x1754 / end 0x1758 for the id (shift +0x10) Entity_Player 0x17c0 uint32_t _actionHoldDrop FUN_007a42b0 (called by Update): ++ while ACTION_DROP (11) is pressed, 0 when released; >=0x79 frames drops both trinkets and pocket items Entity_Player 0x1824 bool _postLevelInitFinished InitPostLevelInitStats 007bc740 sets it to 1 at the end; PlayerManager::replace_player 009bee80 calls InitPostLevelInitStats when it is 0; level_start 007a4ba0 returns early when 0 Entity_Player 0x16c0 uint32_t _trinketsID[2] not in the input list (REPENTOGON 0x16b0): HasGoldenTrinket 00771620 and FUN_007a42b0 loop 2 slots at 0x16c0 masking id 0x7fff / golden 0x8000 Entity_Player 0x1f44 char _bagOfCraftingContent[8] not in the input list (REPENTOGON 0x1f20): FUN_007a42b0 rotates the 8 bytes at 0x1f44 on the drop button when playerType is 23 Tainted Cain (shift +0x24) Entity_Player 0x1dec History _history DischargeActiveItem 007ac7e0 calls History::AddHistoryItem 00721a70 with ECX = this+0x1dec; ctor 00753da0 inits 0x1dec..0x1dfc (owner ptr = this at +0x10) right before _inventory 0x1e00 (shift +0x14) Entity_Player 0x1e54 deque_afterImageFrames _afterImageFrames Render 0078ca00 walks a deque (map 0x1e58, mapsize 0x1e5c, off 0x1e60, size 0x1e64) of frames and redraws the player at each stored position with alpha frame/10 (the after images); ctor 00753da0 inits it with a proxy (shift +0x1c) Entity_Player 0x1e68 EntityPtr _twinPlayer InitTwin 007d2000 sets it on both twins with the EntityPtr multiset erase/insert; GetOtherTwin 00417820 returns it (same member as the Lua _otherTwin; shift +0x1c) Entity_Player 0x1e6c Entity_Player* _backupPlayer GetCollectibleNum 00770ca0 adds GetCollectibleNum(*(this+0x1e6c)) for tag-0x40000000 items and AddCostume 0075d1d0 mirrors costumes onto it, as REPENTOGON's GetOwners/GetTotalCount do with _backupPlayer Entity_Player 0x1e74 int _redStewBonusDuration EvaluateItems 00763570 damage += (it/10)*0.04 while >0; update_effects 00794e50 counts it down and re-evaluates at each /10 step; UseActiveItem 005b39d0 adds 2700 behind a HasCollectible test; bracketed by _backupPlayer 0x1e6c and Mars 0x1e8c, all +0x1c Entity_Player 0x1e8c int _marsUnk1 ctor 00753da0 inits it to 90; update_body_animations 00779b40 copies it into the Mars cooldown 0x1e90 on a dash (it is the dash cooldown length) Entity_Player 0x1e90 int _marsCooldown update_body_animations 00779b40: a Mars (593) double tap dashes only while it is <1, then it is set from 0x1e8c Entity_Player 0x1e94 int _marsUnk2 ctor inits -1; update_body_animations 00779b40 stores the dash direction (the tapped action) here on a Mars dash Entity_Player 0x1e98 bool _marsUnkBool ctor inits 1; update_body_animations 00779b40 clears it when a Mars dash starts Entity_Player 0x1e9c int _marsLastTapDirection not in REPENTOGON: update_body_animations 00779b40 stores the last tapped move action (0..3); a repeat within 11 frames triggers the Mars dash Entity_Player 0x1ea0 int _marsTapFrames not in REPENTOGON: update_body_animations 00779b40 frames since the last move tap, ++ each frame capped at 10000, reset to 0 on a tap; <0xb means double tap Entity_Player 0x1eb0 float _rockBottomMoveSpeed EvaluateItems 00763570 Rock Bottom (562) block, cache 0x10: movespeed = max(movespeed, this+0x1eb0) and stores it back (shift +0x1c) Entity_Player 0x1eb4 float _rockBottomMaxFireDelay EvaluateItems 00763570 Rock Bottom block, cache 2: stores max(30/(maxfiredelay+1), it), the tears rate, then rebuilds maxfiredelay from it Entity_Player 0x1eb8 float _rockBottomDamage EvaluateItems 00763570 Rock Bottom block, cache 1: damage = max(damage, it), stored back Entity_Player 0x1ebc float _rockBottomTearRange EvaluateItems 00763570 Rock Bottom block, cache 8: tearrange = max(tearrange, it), stored back Entity_Player 0x1ec0 float _rockBottomShotSpeed EvaluateItems 00763570 Rock Bottom block, cache 4: shotspeed = max(shotspeed, it), stored back Entity_Player 0x1ec4 float _rockBottomLuck EvaluateItems 00763570 Rock Bottom block, cache 0x400: luck = max(luck, it), stored back Entity_Player 0x1edc uint32_t _revelationChargeTimer update_shooting 0077b020: with Revelation (643) fires the laser once it is >150 (shift +0x1c) Entity_Player 0x1ee0 uint32_t _montezumaChargeTimer update_shooting 0077b020: with Montezuma's Revenge (680) fires the backward laser once it is >150 (shift +0x1c) Entity_Player 0x1ef4 uint32_t _maggyHealthDrainCooldown Update 00782af0: set to 300 and counted down; at <1 drains one red/soul heart (Tainted Magdalene temporary hearts); TakeDamage 007729d0 resets it to 0 (shift +0x24) Entity_Player 0x1ef8 int _maggySwingCooldown same member as db/fields.tsv _hugCountdown (Tainted Magdalene swing: 9 on a swing, swings again under 3); REPENTOGON 0x1ed4 +0x24 like its neighbour 0x1ef4 Entity_Player 0x1f2c int _suplexState update_suplex 007d4390: state machine (1 aim, 2 grab, 3 leap up, 5 super leap) at this+0x7cb*4 Entity_Player 0x1f30 int _suplexAimCountdown update_suplex 007d4390 counts it down (this+0x7cc*4) and ends the aim at <=0; update_effects 00794e50 sets it to 60 when Suplex starts Entity_Player 0x1f34 Vector _suplexTargetPos update_suplex 007d4390 stores the held entity's (or own) position here on LeapUp (this+0x7cd/0x7ce*4) Entity_Player 0x1f3c Vector _suplexLandPos update_suplex 007d4390 stores the player's own position here on LeapUp (this+1999/2000*4), right after _suplexTargetPos Entity_Player 0x1f4c BagOfCraftingOutput _bagOfCraftingOutput ControlActiveItem 00791a40: with item state 710 Bag of Crafting, holding 30 frames queues collectible *(this+0x1f4c) from pool *(this+0x1f50), then clears it to 0/-1 with the 8-byte bag at 0x1f44; UseActiveItem 005b39d0 fills both Entity_Player 0x1fbc int _keepersSackBonus FUN_007d8630 adds coins spent here when HasCollectible(716 Keeper's Sack); EvaluateItems 00763570 turns it into damage/range/speed bonuses (shift +0x24) Entity_Player 0x2030 ConsumableData _consumablesBackup AddCurseMistEffect 007d8980 copies coins/keys/bombs/golden key/golden bomb/soul charge/giga bombs/poop mana/blood charge into 0x2030..0x204c in ConsumableData order (shift +0x1c) Entity_Player 0x2090 uint8_t _wildCardItemType UseCard 007b78de case CARD_WILD (80): switches on this byte (0 pill, 1 card, 2 active item) (shift +0x2c) Entity_Player 0x2094 int _wildCardItem UseCard case CARD_WILD (80) reuses this id as the pill/card/active item; 0x2098 holds the pill flags / active var data passed with it Entity_Player 0x20d4 PlayerHUD* _playerHUD Update 00782af0 (00782b86): MOV ECX,[EDI+0x20d4]; if non-null CALL PlayerHUD::Update 00842230 (shift +0x2c) Entity_Player 0x20e8 bool _hasUnlistedRestoreState PlayerManager::replace_player 009bee80 sets it to 1 after StoreGameState into 0x20ec; when set on the incoming player it restores from 0x20ec and clears it Entity_Player 0x20ec GameStatePlayer _unlistedRestoreState PlayerManager::replace_player 009bee80: GameStatePlayer::Init + Entity_Player::StoreGameState on this+0x20ec, and RestoreGameState from it later Entity_Player 0x26c8 Entity_Player* _replacedPlayer PlayerManager::replace_player 009bee80 writes the other player into 0x26c8 of both the old and the new player (shift +0x4c: GameStatePlayer grew by 0x20) Game 0x0 uint32_t _stage Level:GetStage binding (0040c3a0) returns *this; Game:GetLevel (00424530) returns this, so Level*==Game* Game 0x4 uint32_t _stageType Level:GetStageType (004073c0) returns this+4; Level::IsAltStage (0042a2c0) tests it !=0 Game 0x8 bool _bossChallenge Level::HasBossChallenge (0085e160) returns byte this+8 Game 0x9 bool _devilRoomDisabled Level::IsDevilRoomDisabled (007e9250) reads, Level::DisableDevilRoom (007e9260) sets byte this+9=1 Game 0xc uint32_t _curses Level::GetCurses (00748490) ORs this+0xc with forced curses; Level::RemoveCurses (00748bc0) clears bits in it Game 0x182cc uint32_t _nbRooms Level::GetRoomCount (0056ff80) returns it; Level::GetRoomByIdx (00740bc0) loops rooms up to it Game 0x182d0 uint32_t _startingRoomIdx Level::GetStartingRoomIndex (00505c70) returns it Game 0x182d4 RNG _generationRNG Game ctor (006f1020) inits RNG (seed 0xaa17414f, shifts 5/9/7); Level::Init (00744940) seeds+steps it; used by Level::place_special_rooms/generate_dungeon/generate_mineshaft Game 0x182e4 RNG _devilAngelRoomRNG Level:GetDevilAngelRoomRNG (007537f0) returns this+0x182e4; ctor/Level::Init init it as 2nd RNG; Level::InitializeDevilAngelRoom uses it (not in REPENTOGON) Game 0x182f4 float _angelRoomChance Level::GetAngelRoomChance (007e9270) returns float; Level::AddAngelRoomChance (0065cf00) adds to it (not in REPENTOGON) Game 0x18300 Room* _room Level::GetCurrentRoom (00407480) returns it; RemoveCurses uses it +0x1218 as EntityList Game 0x18304 uint32_t _currentRoomIdx Level::GetCurrentRoomIndex lua field; Game::GetCurrentRoomDesc (00740db0) passes it to GetRoomByIdx Game 0x18308 uint32_t _lastRoomIdx Level::GetPreviousRoomIndex lua field; Level::GetLastRoomDesc (00740dd0) passes it to GetRoomByIdx Game 0x1830c uint32_t _currentDimensionIdx Level::GetRoomByIdx (00740bc0) uses it as default dimension; Game::GetCurrentRoomDesc passes it with _currentRoomIdx Game 0x18310 uint32_t _lastRoomDimensionIdx Level::GetLastRoomDesc (00740dd0) passes it as dimension with _lastRoomIdx Game 0x18314 uint32_t _lastBossRoomListIdx Level::GetLastBossRoomListIndex lua field Game 0x18318 uint32_t _leaveDoor Level::LeaveDoor lua field Game 0x1831c uint32_t _enterDoor Level::EnterDoor lua field Game 0x1832c uint32_t _dungeonPlacementSeed Level::GetDungeonPlacementSeed (0060d000) returns it Game 0x18334 uint32_t _greedModeWave Level::GreedModeWave (0070c5b0) returns it Game 0x18370 uint32_t _greedModeTreasureRoomIdx level gen (0074399a etc.) sets it to 0x55; ItemPool::get_pool_from_room_entities (007ebe20): greed mode treasure room != this idx -> boss pool Game 0x18374 int _greedWavesClearedWithoutRedHeartDamage Room::SpawnGreedModeWave (00816910) increments it, extra wave every 3; Level::SetRedHeartDamage (0074b5b0) zeroes it (REPENTOGON Level had 0x18204) Game 0x1839c unsigned int _levelStateFlags Level::GetStateFlag (004f88f0)/SetStateFlag (00428a80) test/set bit in this+0x1839c Game 0x183a4 vector_EntitySaveState _myosotisPickups Room::Update (00802980) if non-empty calls FUN_00752830 on it then checks trinket 0x89 (Myosotis); ctor zeroes 0x183a4..0x183ac Game 0x18910 RoomConfig _roomConfig Game ctor builds 0x25 RoomConfigStage at it; Level::ForceHorsemanBoss (007481d0) and FUN_00745b70 call RoomConfig::GetRoomByStageTypeAndVariant with ECX=Game+0x18910 Game 0x1d520 GameOver _gameOver Game::Render (006fbc10) calls GameOver::Render (00998880) with ECX=Game+0x1d520; ctor builds it after ItemOverlay Game 0x1d650 Leaderboard _leaderboard Game::Update (006fadc0) calls Leaderboard::Update (00857450) with ECX=Game+0x1d650; ctor calls its ctor 00856f70 there Game 0x23a74 PauseScreen _pauseScreen Game ctor calls PauseScreen::constructor (009b5320) on Game+0x23a74; Game::Update/Render test state dword there and render it when !=0 Game 0x24ecc RevivePlayerMenu _revivePlayerMenu Game::LoadConfigXmls (006f4740) calls RevivePlayerMenu::Init (008ef560) with ECX=Game+0x24ecc; Game::Render calls 008efe10 on it (not in REPENTOGON) Game 0x25ecc Minimap _minimap HUD::Render (009a3eb0) calls Minimap::Render with ECX=Game+0x25ecc; LoadConfigXmls calls Minimap::Init on it; 8 Minimap::Refresh calls on it Game 0x269e9 bool _isStartingFromState FUN_00959720 sets 1 around Game::restore_game_state..LuaEngine::PostGameStart then 0; Player::AddSoulHearts (00758d00) skips while set; reset_run_state zeroes Game 0x269ea bool _isStoringGlowingHourglassState Game::save_rewind_state (00705ee0) sets 1 while storing the slot, 0 after, and bails if already set Game 0x269eb bool _isRestoringGlowingHourglassState Entity_Player::RestoreGameState (007ae4b0) branches on it; save_rewind_state bails if set Game 0x269ec GlowingHourglassState _glowingHourglassStates[2] Game ctor: vector ctor 2 x 0x20660 at Game+0x269ec; save_rewind_state writes Game+0x269ec+slot*0x20660 Game 0x676ac int _currentGlowingHourglassSlot Game::save_rewind_state (00705ee0) reads/writes int index 0x19dab (=0x676ac) as the slot selecting the 0x20660 state Game 0x676b4 bool _shouldLerpColorModState Game::SetColorModifier (007067c0) sets 1 when lerp, 0 otherwise; Game::Update clears it when done Game 0x676b8 ColorModState _currentColorModifier SetColorModifier copies target into it when not lerping; ctor inits 1,1,1,0,0,1 Game 0x676d0 ColorModState _targetColorModifier SetColorModifier copies the argument ColorModState into it Game 0x676e8 ColorModState _lerpColorModifier SetColorModifier stores |target-current|*rate per component into it Game 0x6772c DebugRenderer _debugRenderer Game::Render (006fbc10) calls DebugRenderer::Render (0042dbb0) with ECX=Game+0x6772c; Game::Update expires its list entries Game 0x67734 float _lightningIntensity Game::Update (006fadc0) decays it *0.75, zero below 0.05 Game 0x67738 float _dizzyIntensity Game::Update moves it toward 0x6773c by step 0x67740 Game 0x6773c float _dizzyTargetIntensity Game::Update: target that _dizzyIntensity approaches Game 0x67740 float _dizzyIntensityChangeSpeed Game::Update: step size; reset_run_state (006f43b0) sets 0.001 Game 0x6774c vector_ErasedEntities _erasedEntities Game::AddErasedEnemy (00707840) pushes {type,variant,subtype} (12 bytes) to vector at 0x6774c/0x67750; Game::ShouldEraseEnemy scans it Game 0x67758 ProceduralItemManager _proceduralItemManager ItemPool::CreateGlitchedCollectible (009dcc70) indexes vector at Game+0x67758 by -1-id Game 0x68d78 Console _console Game::Render calls Console::Render (0068c2e0) and Manager::update_ingame_input calls Console::Update (0068b260) with ECX=Game+0x68d78; ctor layout matches (_input string +0x1c, deques +0x40/+0x54) Level 0x0 uint32_t _stage Level:GetStage binding (0040c3a0) returns *this Level 0x4 uint32_t _stageType Level:GetStageType (004073c0) returns this+4; Level::IsAltStage (0042a2c0) Level 0x1839c uint32_t _levelStateFlag Level::GetStateFlag (004f88f0)/SetStateFlag (00428a80) bitset at this+0x1839c (REPENTOGON Level said 0x1822c, +0x170) Level 0x18374 uint32_t _greedwavesclearedwithoutredheartdamage Room::SpawnGreedModeWave (00816910) increments; Level::SetRedHeartDamage (0074b5b0) zeroes (REPENTOGON said 0x18204, +0x170) Level 0x182e4 RNG _devilAngelRoomRNG Level:GetDevilAngelRoomRNG (007537f0) returns this+0x182e4 (not in REPENTOGON) Level 0x182f4 float _angelRoomChance Level::GetAngelRoomChance (007e9270)/AddAngelRoomChance (0065cf00) (not in REPENTOGON) Room 0x4 RoomDescriptor* _descriptor Room::GetDecorationSeed 004aae80 returns (this+4)->+0x58 (DecorationSeed); GetRoomShape 0042a270 reads (this+4)->Data->+0x48 Room 0x8 uint32_t _roomType Lua Room:GetType bound to folded getter 0043eec0 (return this+8); GetLightingAlpha 0081e250 compares it to 8/0x1d; UpdateGreedWave 00801ee0 ==5 (boss) Room 0xc uint32_t _gridWidth Lua Room:GetGridWidth bound to folded getter 004176f0 (return this+0xc); Backdrop::Init 0093d960 uses room+0xc/+0x10 as width/height Room 0x1bc8 Backdrop _backdrop Room::LoadBackdropGraphics 007f1380 calls Backdrop::Init(room+0x1bc8); Backdrop::Init writes backdropId at +0x150 = room+0x1d18 (Lua GetBackdropType 004cdd20) Room 0x7070 deque_ShopRestockDesc _shopItemDeque Room::constructor 007e9400 builds a std::deque (proxy new(8), 5 dwords 0x7070..0x7080); Room::TriggerRestock 00815800 / ShopRestockPartial 008158a0 use 0x7074..0x7080 Room 0x722c int _slowdownDuration Lua Room:HasSlowDown 00456710 (0 < this+0x722c) / SetSlowDown 00456720 (max); Room::Update 00802980 decrements it; REPENTOGON 0x7220 is wrong/shifted +0xc Room 0x723c int _greedWaveTimer Room::UpdateGreedWave 00801ee0: greed only, decrements, clamps to 0x13, calls SpawnGreedModeWave at 0 Room 0x7240 float _waterAmount Room::HasWater 008208c0 and render_water_shader 00821950 read it; rain init 00824350 requires >0 Room 0x7244 KColor _waterColor ctor 007e9400 KColor::SetFromARGB(-1) at 0x7244; render_water_shader 00821950 lerps 0x7244 -> 0x726c Room 0x7258 KColor _waterColorMultiplier ctor 007e9400 KColor at 0x7258; render_water_shader 00821950 lerps 0x7258 -> 0x7280 Room 0x726c KColor _waterLerpTargetColor ctor 007e9400 KColor at 0x726c; lerp target of 0x7244 in render_water_shader 00821950 Room 0x7280 KColor _waterLerpTargetColorMult ctor 007e9400 KColor at 0x7280; lerp target of 0x7258 in render_water_shader 00821950 Room 0x7294 int _waterLerpColorDuration render_water_shader 00821950: t = 1 - countdown(0x7298)/duration(0x7294) Room 0x7298 int _waterLerpColorCountdown render_water_shader 00821950: t = 1 - countdown(0x7298)/duration(0x7294) Room 0x72a1 bool _pacifist Entity_NPC::TakeDamage 006d60a0 clears it on player/familiar-source damage; Entity_Familiar::PickEnemyTarget 00615030 / HandleCollision 006261f0 hold off while set; reset 00821940 Room 0x72a4 ColorMod _floorColor Lua Room:SetFloorColor 007e91b0 copies 0x2c bytes to 0x72a4; ctor 007e9400 inits it Room 0x72d0 ColorMod _wallColor Lua Room:SetWallColor 007e91f0 copies 0x2c bytes to 0x72d0; ctor 007e9400 inits it Room 0x7310 TemporaryEffects _temporaryEffects ctor 007e9400 inits 0x7310..0x7324 in TemporaryEffects layout (vector +4, 2 bools +0x10, player +0x14); getter 004360d0 returns this+0x7310, its callers then call TemporaryEffects::AddCollectibleEffect Room 0x7454 int _numRainSpawners rain init 00824350 zeroes it, then fills spawner array 0x73f4 (stride 0x18) and increments it; Room::update_ambient_sounds 00800500 reads it Room 0x7458 float _rainIntensity rain init 00824350 sets 1.0; Room::update_ambient_sounds 00800500 reads it Room 0x745c bool _isRainStopped Lua Room:StopRain 005784d0 sets 1; rain init 00824350 clears it; Room::update_ambient_spawns 00824800 / NpcAI::ENTITY_RAINMAKER 00578a70 read it (REPENTOGON lacks this) Room 0x7460 Vector _waterCurrent Lua Room:GetWaterCurrent 00505c50 returns this+0x7460/0x7464; Room::Init 007f2800 sets it from table 0xc5d0e8 Room 0x7468 RailManager _railManager ctor 007e9400 writes this to +0x7468 (RailManager._room) and builds its ANM2; Room::Render passes ECX=room+0x7468 to RailManager::Render 009e2f20; rail byte grid at +0x746c Room 0x7740 float _lavaIntensity Lua Room:GetLavaIntensity 007120c0 returns this+0x7740 Room 0x7894 bool _isPickupVisionInvalid Lua Room:InvalidatePickupVision 005b16c0 sets this+0x7894 = 1 (REPENTOGON lacks this) RoomDescriptor 0xb4 int32_t Group RoomDescriptor::constructor 006ef590 sets +0xb4 = -1; operator_assign 007387d0 copies it as last dword (stride 0xb8); Level::GetRandomRoomIndex 00740860 only picks rooms whose +0xb4 is -1 or equals the current room's Entity_Tear 0x410 float _height Lua EntityTear.Height getter 00431750 returns this+0x410 Entity_Tear 0x414 float _fallingSpeed Lua EntityTear.FallingSpeed getter 00456440 returns this+0x414 Entity_Tear 0x418 float _fallingAccel Lua EntityTear.FallingAcceleration getter 00435e50 returns this+0x418 Entity_Tear 0x464 float _deadEyeIntensity Entity_Tear::SetDeadEyeIntensity 00679e80 writes this+0x464 Entity_Tear 0x6d4 ANM2 _deadEyeANM2 Entity_Tear::SetDeadEyeIntensity 00679e80 loads gfx/DeadEyeTearEffect.anm2 into this+0x6d4 Entity 0x20 unsigned int _index Lua Entity.Index getter (folded as PathFinder::GetGridIndex 00456370) returns this+0x20 Entity_Knife 0x410 BitSet128 _tearFlags Lua EntityKnife.TearFlags getter 0085de90 copies 16 bytes from this+0x410 Entity_Knife 0x444 float _knifeDistance Lua EntityKnife.GetKnifeDistance 0085deb0 returns this+0x444 Entity_Knife 0x448 float _knifeVelocity Lua EntityKnife.GetKnifeVelocity 004d77a0 returns this+0x448 Entity_Bomb 0x410 int _explosionCountdown1 Lua EntityBomb.SetExplosionCountdown 00452c40 writes this+0x410 (and +0x414) Entity 0x408 LuaBridgeRef* _luaBridgeRef Lua Entity.GetData 006b5e60 lazily allocates {lua_State,luaL_ref} into this+0x408; ctor 006a8290 nulls it Entity 0x24 unsigned int _collisionIndex EntityList::rebuild_sublists 00419e70 assigns a running index to this+0x24 for each entity with _entityCollisionClass!=0 Entity_NPC 0xcac ColorMod _dirtColor Entity_NPC::UpdateDirtColor 006c04b0 writes Room::GetFloorColorAt*2 to this+0xcac..0xcb4 and lerps sprite layers toward it Entity_Familiar 0xef4 ColorMod _dirtColor Entity_Familiar::UpdateDirtColor 0064ca30 writes Room::GetFloorColorAt*2 to this+0xef4..0xefc (+0xf00=1.0) and lerps layers toward it Entity_NPC 0xf00 std_vector_uint _hitList Entity_NPC::HandleCollision 006cd410 (6cdfb3, 6cfdfa...) and NpcAI::ENTITY_DARK_ESAU 005542e0 pass this+0xf00 to EntityList::HitListContains 00431640 Entity_Laser 0x520 std_vector_uint _hitList Entity_Laser::CanDamageEntity 0096cf80 passes this+0x520 (or the parent laser chain via +0x52c) to EntityList::HitListContains Entity_Bomb 0x9c8 std_vector_uint _hitList Entity_Bomb::HandleCollision 006a5f00 (6a61dd) passes this+0x9c8 to EntityList::HitListContains Entity_Familiar 0xdac std_vector_uint _hitList (not in REPENTOGON) Entity_Familiar::HandleCollision 006261f0, ai_umbilical_baby, ai_pickup_sack, apollyons_best_friend pass this+0xdac to EntityList::HitListContains Entity_Familiar 0xdc4 Weapon* _weapon Entity_Familiar::update_weapon 0062e620 stores Isaac::CreateWeapon() in this+0xdc4 / destroys it; delirium_morph 00631b20 frees it Entity_Familiar 0xdc8 bool _isLilDelirium Entity_Familiar::delirium_morph 00631b20 sets this+0xdc8=1; Entity_Familiar::Update 0061da10 tests it each frame Entity_Familiar 0xee8 ItemConfig_Item* _item Isaac::SpawnLocust 005b35c0 stores the ItemConfig collectible entry at this+0xee8 (Init 0060de70 does too for subtype 55555) Entity_Familiar 0xf20 int _wispCollectibleType Entity_Familiar::WispInit 00436330 stores the source collectible (712 Lemegeton, or the original 515/490 before rerolling the subtype) in this+0xf20 Entity_Familiar 0xdcc ANM2 _chargeBarSprite (not in REPENTOGON) Entity_Familiar::Init 0060de70 loads gfx/chargebar.anm2 into this+0xdcc; ctor 0060d200 constructs an ANM2 there Entity_Tear 0x468 bool _multidimensionalTouched Entity_Familiar::Update 0061da10 (Multidimensional Baby) reads tear+0x468 via 0060cd60, sets it via 0060cd70 before Entity_Tear::MakeMultidimensionalCopy 0067a190 (which copies it) Entity_Tear 0x469 bool _prismTouched Entity_Familiar::Update 0061da10 (Angelic Prism) skips tears with +0x469 set (0060cd80) and sets it on the split copies (0060cd90) Entity_Knife 0x4e6 bool _multidimensionalApplied Entity_Familiar::multidimensional_baby_copy_knife 009615e0 returns if knife+0x4e6 set, then sets it to 1 and spawns the two copies Entity_Bomb 0x460 bool _prismTouched Entity_Familiar::Update 0061da10 (Angelic Prism) copies a Dr.Fetus bomb only if bomb+0x460==0 (0060cdd0) and sets it on the copies (0060cde0); REPENTOGON 0x45c is an int countdown here (Update sets 90, decrements) Entity_Bomb 0x41c float _fallSpeed Entity_Bomb::Update 006a24d0 adds this+0x41c to _posOffset.y, then adds this+0x420 to it; bounce sets it to -0.7*speed Entity_Bomb 0x420 float _fallAcceleration Entity_Bomb::Update 006a24d0 adds this+0x420 (default 0.8 when 0) to _fallSpeed each frame Entity_Bomb 0x428 float _rocketAngle Entity_Bomb::Update 006a24d0 (rockets) velocity += sin/cos(this+0x428 deg); Angelic Prism (Familiar::Update) sets it via 00456820 on copies Entity_Bomb 0x42c float _rocketSpeed Entity_Bomb::Update 006a24d0 this+0x42c += _speedMultiplier and scales rocket thrust; prism copies set it via 0060ce10 Entity_Bomb 0x434 float _scale Entity_Bomb::Update 006a24d0 multiplies SetSize/sprite scale by this+0x434; Init 006a2050 sets 1.0 Entity_Bomb 0x438 BitSet128 _tearFlags (not in REPENTOGON) Lua EntityBomb.Flags 005cd560 copies 16 bytes from this+0x438 Entity_Bomb 0x418 float _explosionDamage (not in REPENTOGON) Lua EntityBomb.ExplosionDamage getter (folded with Entity_Tear::FallingAcceleration 00435e50) returns this+0x418; Init sets 100.0 Entity_Bomb 0x44c float _radiusMultiplier (not in REPENTOGON) Lua EntityBomb.RadiusMultiplier 0060cdc0 returns this+0x44c; Init sets 1.0 Entity_Bomb 0x463 bool _loadCostumes set to 1 by 006a6910 (sets flags at +0x438) and 006a6930 (sets _scale); Entity_Bomb::Update 006a24d0 calls 006a6f10 (loads costume ANM2s at +0x464) when this+0x463 != 0 Entity_Bomb 0x464 ANM2 _bombCostumesSprites[5] 006a6f10 (named update_sparks, actually costume load) ANM2::Load into this+0x464...; ctor 006a1e80 eh-vector-constructs ANM2s at +0x464 Entity_NPC 0xf1c int32_t _controllerID Entity_NPC::IsControllerActionPressed 006d8260 passes this+0xf1c to input_is_action_pressed (-1 = none); GetControllerMovementInput 006d85a0 / UpdateControllerMovement 006d9050 test it Entity_NPC 0xf40 Entity_Player* _sirenPlayerEntity NpcHelper::siren_charmed_count 0058e590 counts familiars whose _player (+0x410) == npc+0xf40; NpcAI::siren_release_stolen_items 005911b0 animates the collectible pickup on it Entity_NPC 0xf50 Entity_Effect* _pickupGhostsEntity Entity_NPC::UpdatePickupGhosts 006da530 passes/stores this+0xf50 through Entity_Effect::CreateLootPreview and removes it Entity_Pickup 0x410 ANM2 _priceANM2 Entity_Pickup::update_price_sprite 006e2570 ANM2::Reset/Load (shop price sprite) on this+0x410; ctor 006e0010 constructs ANM2 there Entity_Pickup 0x52e bool _isForceBlind Entity_Pickup::SetForceBlind 006e1e60 stores the arg at this+0x52e and calls UpdateSprite when a collectible changes Entity_Pickup 0x554 int _dropDelay Entity_Pickup::Update 006e3940 starts: if this+0x554>0 decrement and skip the update; Entity_Player::AddCollectible staggers spawned pickups via +0x554 Entity_Pickup 0x590 Entity_Effect* _pickupGhost Entity_Pickup::UpdateLootPreview 006e17c0 (Guppys Eye) stores Entity_Effect::CreateLootPreview result at this+0x590 and removes it Entity_Pickup 0x594 Entity_Pickup* _megaChestCollectible[2] Entity_Pickup::SetAlternatePedestal 006e1a80 links two pedestals at the same position (types 14/19) via this+0x594 / other+0x598 Entity_Pickup 0x5a0 unsigned int _cycleCollectibleList[8] Entity_Pickup::TryFlip 006e1640 rebuilds the cycle list: this[+0x5a0 + count*4] = id, count at +0x5c0 Entity_Pickup 0x5c0 unsigned int _cycleCollectibleCount Entity_Pickup::TryFlip 006e1640 zeroes and increments this+0x5c0 while filling +0x5a0[] Entity_Pickup 0x5c8 KAGE_SmartPointer_EntitySaveState _flipSaveState Entity_Pickup::TryFlip 006e1640 requires this+0x5c8 != 0 and swaps the pedestal with that save state; ctor zeroes +0x5c8/+0x5cc (smart pointer) Entity_Pickup 0x5d0 ANM2 _altPedestalANM2 Entity_Pickup::Update 006e3940: when +0x5c8 set and a player has Flip (711), copies the main sprite into this+0x5d0 and load_collectible_gfx of the flip item (the ghost item sprite); ANM2::Reset otherwise Entity_Pickup 0x59c int _varData Entity_Player::DropCollectible 00790530 copies the active slot _varData (player+0x1580+i*0x20+0x1c) into pickup+0x59c next to _charge (+0x524); Morph 006e30a0 zeroes it Entity_Tear 0x4ac ANM2 _tearHaloANM2 Entity_Tear::SetTearFlags 00676150 loads gfx/TearHalo.anm2 into this+0x4ac Entity_Tear 0x5c0 ANM2 _tearEffectANM2 Entity_Tear::SetTearFlags 00676150 loads LittleHorn/Mysterious/DarkMatter/FireMind/JacobsLadder TearEffect anm2s into this+0x5c0 Entity_Tear 0x820 float _tearRange Entity_Player::FireTear 00790af0 copies player _tearrange (+0x1480) to tear+0x820; Entity_Tear::Init 006660a0 sets 260.0; Update compares it to +0x3a4 Entity_Knife 0x465 bool _isSwinging Entity_Knife::SetAttackAnimation 009680d0 (Attack*/Swing anims) sets this+0x465=1 (word 0x101 with +0x466); SpinAttack 00968430 sets it too Entity_Knife 0x4ea bool _isSpinAttack Entity_Knife::SpinAttack 00968430 (Spin* anims) sets this+0x4ea=1; SetAttackAnimation 009680d0 clears it Entity_Knife 0x4e5 bool _prismApplied Entity_Knife::spawn_child_knife 00961870, called from the Angelic Prism block of Entity_Familiar::Update 0061da10 for flying knives, returns if this+0x4e5 set then sets it Entity_Laser 0x518 bool _disableInitSound Entity_Laser::PlayInitSound 0096f880 returns at once if this+0x518 != 0; update_laser 00973c60 sets it on chained child lasers it spawns Entity_Laser 0x51c float _damageMultiplier Entity_Player::FireTechLaser 007aab70 stores its damageScale arg in laser+0x51c; Entity_Laser::Init 0096f590 sets 1.0 Entity_Laser 0x560 int _chainedLasers Entity_Laser::update_laser 00973c60 spawns a child laser with child+0x560 = this+0x560 - 1 while > 0, then zeroes it; copy_from_parent 0096f070 copies it Entity_Effect 0x420 BitSet128 _varData Entity_Effect::CreateTimer 0060af00 stores the timer callback/delay/times in effect(1000.119)+0x420/+0x424/+0x428 (per-variant scratch data) Entity_Effect 0x4a8 std_vector_uint _hitList (not in REPENTOGON) Entity_Effect::Update passes this+0x4a8 to EntityList::HitListContains 00431640 (5df65f, 5ecd27); ctor 005cd960 zeroes +0x4a8..0x4b0 Manager 0x8 int _state 00954cd0 Manager::Update switch(this+8), saves prev to +0xc; 009595e0 IsGameplayInputActive tests ==2 (in game); ctor 00950610 zeroes it Manager 0x10 uint32_t _currentSaveSlot 00959e70 Manager::SetSaveSlot writes slot to [this+0x10] after PersistentGameData::Clear(this+0x14) Manager 0x14 PersistentGameData _persistentGameData 00950610 ctor calls PersistentGameData ctor 00925f80 on this+0x14; 00959e70 SetSaveSlot Clear(this+0x14); TryUnlock/IncreaseEventCounter(g_Manager+0x14) x70 Manager 0xfa4 GameState _gamestate 00950610 ctor calls 009c73c0 on this+0xfa4; 00959130 Game::DeleteSaveState GameState::Delete(g_Manager+0xfa4); SetSaveSlot uses this+0xfa4 Manager 0x20dd0 Cutscene _cutsceneManager 00950610 ctor: CutsceneEntry[27] (0x4c) at +0x20dd4 = Cutscene+4; 00952df0 load_configs Cutscene::load_xml(this+0x20dd0); 00954cd0 Manager::Update Cutscene::Show(this+0x20dd0) Manager 0x21628 NightmareScene _nightmareScene 00950610 ctor ANM2s at +0x20/+0x134/+0x248/+0x4d4 of 0x21628 (= REPENTOGON NightmareScene layout); 00954cd0 Update NightmareScene::Show(this+0x21628); 009555c0 Render NightmareScene::Render(this+0x21628) Manager 0x21c1c AchievementOverlay _achievementOverlay 005cd810 trivial getter returns g_Manager+0x21c1c (GetAchievementOverlay); ctor 00950610: ANM2 at +0x20, vector of 0x34-byte entries at +0x134, zeroes +0x14/+0x1c (displayedachievement/status) Manager 0x29fbc Music _musicmanager 00428cd0 Lua MusicManager() returns g_Manager+0x29fbc; Music::Play/Fadein/PlayJingle(g_Manager+0x29fbc); ctor sets [+0x328]=1 (_enabled, = MusicManager::IsEnabled 0085e430) Manager 0x2a324 SoundEffects _sfxManager 00420af0 Lua SFXManager() returns g_Manager+0x2a324; = Music+0x368 (Music size) Manager 0x2a33c OptionsConfig _optionsConfig 00417900 getter returns g_Manager+0x2a33c; OptionsConfig::Save(g_Manager+0x2a33c); Lua Options::MusicVolume 00896810 reads +0x2a354 (= _musicVolume +0x18) Manager 0x2a404 ItemConfig _itemConfig 0042ca00 Lua Isaac::GetItemConfig returns g_Manager+0x2a404; ctor calls 00724cb0 on this+0x2a404 Manager 0x2a670 EntityConfig _entityConfig 00417910 getter returns g_Manager+0x2a670; 004186c0 EntityList::Update calls EntityConfig::GetEntity with ECX=g_Manager+0x2a670; players vector at +8 (0x2a678/0x2a67c, /0x148 stride, 44 uses) Manager 0x2a6c0 ModManager _modManager 0040d210 getter returns g_Manager+0x2a6c0; ModManager::TryRedirectPath(g_Manager+0x2a6c0) many; ctor: vector +0, memset(+0xc,0,0x20000) redirect table, +0x2025c modBanStatus Manager 0x4a920 StringTable _stringTable 004253c0 getter returns g_Manager+0x4a920; string_table_translate(g_Manager+0x4a920,"#...") 118 uses; 00951920 load_fonts reads language at +0 Manager 0x4abbc unsigned int _framecount 0086f090 Lua Isaac::GetFrameCount returns *(g_Manager+0x4abbc) Manager 0x4abd1 bool _isConsoleEnabled 00952410 Manager::Init copies options _enableDebugConsole (0x2a398) to +0x4abd1; Game::Start/StartDebug copy it into Game+0x269d0 Manager 0x4abe4 ANM2 _buttonsSprite 00952410 Manager::Init ANM2::Load(this+0x4abe4,"gfx/ui/Buttons.anm2") Manager 0x4acf8 ANM2 _platformIconsSprite 00952410 Manager::Init ANM2::Load(this+0x4acf8,"gfx/ui/PlatformIcons.anm2") (new, not in REPENTOGON) Manager 0x4ae28 Font _font1_TeamMeatEx10 00951920 load_fonts Font::Load(this+0x4ae28,"font/TeamMeatEx/TeamMeatEx10.fnt") Manager 0x4ae74 Font _font2_TeamMeatEx12 00951920 load_fonts loads TeamMeatEx12.fnt into this+0x4ae74 Manager 0x4aec0 Font _font3_TeamMeatEx16 00951920 load_fonts loads TeamMeatEx16.fnt into this+0x4aec0 Manager 0x4af0c Font _font4_terminus 00952df0 load_configs loads "font/terminus.fnt" into this+0x4af0c Manager 0x4af58 Font _font5_terminus8 00952df0 load_configs loads "font/terminus8.fnt" into this+0x4af58 Manager 0x4afa4 Font _font6_PFTempestaSevenCondensed 00952df0 load_configs loads "font/PFTempestaSevenCondensed.fnt" into this+0x4afa4 Manager 0x4aff0 Font _font7_Upheaval 00951920 load_fonts unload/load Upheaval into this+0x4aff0; ctor 9 Font ctors 00a1a640 at 0x4ae28 + n*0x4c Manager 0x4b03c Font _font8_LuaMiniOutlined 00952df0 load_configs loads "font/LuaMiniOutlined.fnt" into this+0x4b03c Manager 0x4b088 Font _font9_PFTempestaSevenCondensedAgain 00951920 load_fonts reloads PFTempestaSevenCondensed into this+0x4b088 (9th Font ctor) Manager 0x4b130 bool _starting 00958aa0 StartNewGame sets 1; 009595e0 IsGameplayInputActive tests it with _networkPlay Manager 0x4b131 bool _rerunAvailable 00958aa0 StartNewGame clears word at 0x4b131; 00959720 start dispatcher branches on it then clears it (rerun path) Manager 0x4b132 bool _startingFromRerun 00958aa0 StartNewGame clears (word at 0x4b131); 00959720 start dispatcher tests and clears it Manager 0x4b13c Seeds _startSeeds 00950610 ctor Seeds::constructor(this+0x4b13c); 00959720 Seeds::construct_from_copy(local, this+0x4b13c) before starting the game Manager 0x4b19c bool _debugStart 00958aa0 StartNewGame clears; 00959720 dispatcher tests it to choose start args; Menu_Game::Update 00981140 clears Manager 0x4b1c0 DailyChallenge _dailyChallenge 00958c40 DailyChallenge::Init(ECX=g_Manager+0x4b1c0); StartNewGame zeroes +0/+4/+8(byte)/+0xc = _id/_seed/_isPractice/_specialDailyId; ctor ChallengeParam ctor at +0x10 Manager 0x4b274 bool _networkPlay 00958aa0 StartNewGame clears; 009595e0 IsGameplayInputActive: starting && networkPlay; 00959720 dispatcher tests it first Manager 0x4b2a8 ANM2 _cursorSprite 00952410 Manager::Init ANM2::Load(this+0x4b2a8,"gfx/ui/cursor.anm2") Manager 0x4b3d8 NetplayManager _netplayManager 00417920 getter returns this+0x4b3d8; 006d8e10 is_local_player_owned: ECX=g_Manager+0x4b3d8 -> NetplayManager::IsIdxLocalPlayer; ctor calls 00906260 on it (misnamed SaveSlotManager::constructor) PlayerManager 0x0 vector_EntityPlayerPtr _playerList 009b92c0 PlayerManager::GetPlayer indexes *this..this[1] (>>2), logs "There are no players"; IsCoopPlay/GetRandomPlayer iterate it PlayerManager 0xb8 RNG _rng 006f1020 Game::constructor (PM at Game+0x1baa8): RNG default init (seed 0xaa17414f, shifts 5,9,7) at PM+0xb8, esauJr[4] zeroed at PM+0x80 as in REPENTOGON; 006f9000 Game::store_game_state saves its seed (Game+0x1bb60) ItemPool 0x654 RNG _itemPoolRNG 00734f30 ItemPool::Init stores seed param at this+0x654 and steps it; 00735910 shuffle_pools MTRNG::Init(this+0x654 seed); 007367d0 StoreGameState saves it ItemPool 0x67c vector_bool _removedCollectibles 00733ff0 Lua RemoveCollectible: bit test/set in *(this+0x67c), bound *(this+0x688) (vector size); 007340b0 ResetCollectible clears bit ItemPool 0x68c vector_bool _roomBlacklistedCollectibles 005b14b0 Lua AddRoomBlacklist sets bit in *(this+0x68c); 00736f90 ResetRoomBlacklist clears bits up to size *(this+0x698) ItemPool 0x794 vector_TrinketPoolItem _trinketPoolItems 00734130 Lua RemoveTrinket / 00736a90 ResetTrinkets walk *(this+0x794)..*(this+0x798) stride 8 (id,+4 available,+5 unlocked) ItemPool 0x7a0 int _numAvailableTrinkets 00734130 RemoveTrinket decrements this+0x7a0; 00736a90 ResetTrinkets recounts it, warns "trinket pool is empty" when 0 Seeds 0x0 bool _isCustomRun 006b83d0 (Lua Seeds:IsCustomRun binding, misnamed Room::IsInitialized) returns *(byte*)this; 009e9290 ctor / 009e9bc0 Reset clear byte 0 Seeds 0x4 unsigned int _gameStartSeed 00436140 Lua GetStartSeed returns [this+4] ("Game Start Seed was not set" if 0); 009eb880 set_start_seed writes it; 0085e180 ClearStartSeed zeroes it Seeds 0x8 RNG _rng 006ef890 Lua GetNextSeed steps xorshift seed this+8 with shifts +0xc/+0x10/+0x14; ctor inits 0xaa17414f,5,9,7; set_start_seed seeds it from start seed Seeds 0x58 int _seedEffectsCount 0085e1b0 Lua CountSeedEffects returns this+0x58; ClearSeedEffects zeroes it Seeds 0x54 void* _seedEffects std::set head ptr (new vs REPENTOGON): 009e9290 ctor allocs 0x14-byte tree head at this+0x54; 00685e70 ClearSeedEffects erases tree this+0x54 then count +0x58=0 TemporaryEffects 0x4 vector_TemporaryEffect _effects 007537a0 Lua GetEffectsList returns this+4; 00930220 AddEffect/009303f0 RemoveEffect walk this[1]..this[2] stride 0x10, push/erase TemporaryEffects 0x10 bool _shouldEvaluateCache 00930220 AddEffect / 009303f0 RemoveEffect / 009306c0 ClearEffects set byte this+0x10 = 1 after any change TemporaryEffects 0x11 bool _disabled 00930220 AddEffect, 009303f0 RemoveEffect, 00930680 HasNullEffect, 009306c0 ClearEffects all bail out if byte this+0x11 != 0 TemporaryEffects 0x14 Entity_Player* _player 00930220 AddEffect: Entity_Player::AddCostume(this[5],...) ; RemoveEffect: this[5]==0 -> Room::TriggerEffectRemoved else Entity_Player::trigger_collectible_effect_removed TemporaryEffects 0x0 unsigned int _cacheFlags new vs REPENTOGON: 00930220 AddEffect / 009303f0 RemoveEffect OR ItemConfig_Item cacheFlags (+0x54) into *this ItemConfig_Card 0x68 ModEntry* modEntry 0072cff0 ItemConfig::load_pocketitems_xml: new(0x70) card, [card+0x68]=ModEntry* param (0072e174); null -> vanilla card table, else appended to modded list ItemConfig_Card 0x6c ANM2* moddedCardFront 0072cff0 load_pocketitems_xml: card+0x6c=0 in ctor, then =&ModEntry+0x9a0 (0072e1af) when the mod has a card-front sprite (ModEntry+0xaa9) ANM2 0x0 std_string _filename ANM2::Load assigns, AnmCache::AddRef/RemoveRef(this) 0x40e110/0x40e2b0, GetFilename 0x4312e0 (src/anm2/docs/cache_load_decomp.md s2) ANM2 0x18 std_string _animDefaultName AnmCache::Load 0x40db90 assigns default anim name; GetDefaultAnimationName 0x4a5cf0 returns &+0x18 ANM2 0x30 AnimationState _animState ctor 0x4074c0 sets main.owner=this; dtor 0x408170; copy 0x4086e0 ANM2 0x50 AnimationState _overlayAnimState RemoveOverlay 0x40ac60 = overlay(+0x50).SetAnimationData(nullptr) ANM2 0x70 bool _overlayRenderFirst SetOverlayRenderPriority 0x431300; Render 0x40a0d0 draws overlay first if set; Reset 0x407f10 ANM2 0x74 AnimationData* _animData AnmCache::Load 0x40db90 copies cache animations ptr ANM2 0x78 int _animCount AnmCache::Load 0x40db90; PlayRandom 0x40a2b0 rand % +0x78 ANM2 0x7c LayerState* _layerState AnmCache::Load 0x40db90 new LayerState[cnt] (stride 0xa0); ctor 0x4074c0 nulls ANM2 0x80 unsigned int _layerCount AnmCache::Load 0x40db90; GetLayerCount 0x440e40 ANM2 0x84 std_string* _nullLayerNames AnmCache::Load 0x40db90 copies cache nullNames ANM2 0x88 unsigned int _numNullLayers AnmCache::Load 0x40db90 copies cache nullCount ANM2 0x8c std_string* _eventNames AnmCache::Load 0x40db90 copies cache eventNames ANM2 0x90 unsigned int _numEvents AnmCache::Load 0x40db90 copies cache eventCount ANM2 0x94 Vector _offset Lua Sprite.Offset get 0x49cb40 (&+0x94) / set 0x456340; Reset 0x407f10 = Vector::Zero ANM2 0x9c Vector _scale Lua Sprite.Scale get 0x417200 / set 0x420170; Reset = Vector::One ANM2 0xa4 float _rotation Lua Sprite.Rotation get 0x417210 / set 0x43ee80 ANM2 0xa8 ColorMod _color Lua Sprite.Color get 0x407410 / set 0x4073d0 ANM2 0xd4 ColorMod _championColor second ColorMod: ctor 0x4074c0, Reset 0x407f10 (alpha 0), copied/swapped like Color ANM2 0x100 bool _flipX Lua FlipX get 0x407420 / set 0x435c60 ANM2 0x101 bool _flipY Lua FlipY get 0x407430 / set 0x505b50 ANM2 0x104 float _playbackSpeed Lua PlaybackSpeed get 0x456360 / set 0x440e50; Reset = 1.0 ANM2 0x109 bool _loaded IsLoaded 0x420160; Render 0x40a0d0 returns early if 0 ANM2 0x10c int _shadowLayerIndex not in REPENTOGON: Reset 0x407f10 = -1; AnmCache::Load 0x40db90 sets it to the layer named "shadow" ANM2 0x110 unsigned int _bitflags renderFlags: OR-ed with LayerState+0x8c in Render (0x4091eb, 0x409a63, 0x409cc0); Load sets 0x400/0x800 AnimationState 0x0 ANM2* _animation ANM2 ctor 0x4074c0 sets owner=this; copy ctor 0x4086e0(owner, src) AnimationState 0x4 AnimationData* _animData SetAnimationData 0x408830 stores arg AnimationState 0x8 int* _layerFrames SetAnimationData 0x408830 allocates anim->layerAnimCount ints AnimationState 0xc int* _nullLayerFrames SetAnimationData 0x408830 allocates anim->nullAnimCount ints AnimationState 0x10 float _animFrame SetAnimationData 0x408830 = -1.0f; SetFrame 0x408e00 AnimationState 0x14 bool _isPlaying Update 0x409030 / ANM2::IsPlaying 0x40a4d0 AnimationState 0x18 int _currentlyTriggeredEvents IsEventTriggered 0x40add0 tests bit AnimationState 0x1c int _previouslyTriggeredEvents WasEventTriggered 0x40ae70 tests bit HUD 0x3778 ANM2 _chargeBarSprite HUD::LoadGraphics 009a1a30 loads gfx/ui/ui_chargebar.anm2; ctor 006f2060 (PlayerHUD 0x6dc x8 + 2 Font = 0x20 below REPENTOGON) HUD 0x388c ANM2 _chargeBarSmallSprite not in REPENTOGON (unnamed gap): HUD::LoadGraphics 009a1a30 loads gfx/ui/ui_chargebar_small.anm2 HUD 0x39a0 ANM2 _heartsSprite HUD::LoadGraphics 009a1a30 loads gfx/ui/ui_hearts.anm2 HUD 0x3ab4 ANM2 _pickupHUDSprite HUD::LoadGraphics 009a1a30 loads gfx/ui/hudpickups.anm2 HUD 0x3bc8 ANM2 _cardsPillsSprite HUD::LoadGraphics 009a1a30 loads gfx/ui/ui_cardspills.anm2 HUD 0x3cdc HUD_Message _messageMain ctor 006f2060 HUD_Message ctor 008405b0 right after cardsPills; FUN_009a27d0 resets its streak ANM2 (+0x20=0x3cfc) and _showing (+8=0x3ce4) HUD 0x3ed0 HUD_Message _messageStack[6] ctor 006f2060 eh-vector-ctor(0x3ed0, 500, 6, 008405b0); HUD::Update 009a2990 ticks 6 HUD 0x4a88 HUD_Message _messagePlayerHUD[4] ctor 006f2060 eh-vector-ctor(0x4a88, 500, 4, 008405b0); HUD::Update 009a2990 ticks 4 HUD 0x5258 ANM2 _fortuneSprite HUD::LoadGraphics 009a1a30 loads gfx/ui/ui_FortunePaper.anm2; HUD::Update 009a2990 SlideIn/SlideOut events HUD 0x5374 ANM2 _statsSprite HUD::LoadGraphics 009a1a30 loads gfx/ui/hudstats.anm2 HUD 0x5490 float _bossHPBarFill boss bar render FUN_009a7c90: if (0 <= +0x5490) width = +0x5490 * 110.0; HUD reset FUN_009a19a0 = -1.0f HUD 0x54cd bool _isGraphicsLoaded not in REPENTOGON: HUD::LoadGraphics 009a1a30 sets 1 at end and loads fonts only if 0; FUN_009a1970 clears it before reloading HUD 0x54d0 int _hudRefreshType FUN_009a6110(type) (HUD refresh request, called by PlayerHUD::Update 00842230 with 1) sets +0x54d0=type, +0x54d8=2; HUD::Update 009a2990 zeroes it when countdown ends HUD 0x54d8 int _hudRefreshCountdown HUD::Update 009a2990 decrements it, zeroes +0x54d0 at <1; FUN_009a6110 sets 2 HUD 0x54dc ANM2 _coopMenuSprite HUD::LoadGraphics 009a1a30 loads gfx/ui/coop menu.anm2 (shift -0x18 from here) HUD 0x55f0 ANM2 _inventorySprite HUD::LoadGraphics 009a1a30 loads gfx/ui/ui_inventory.anm2 HUD 0x5704 ANM2 _craftingTableSprite HUD::LoadGraphics 009a1a30 loads gfx/ui/ui_crafting.anm2 HUD 0x5818 ANM2 _poopSpellsSprite HUD::LoadGraphics 009a1a30 loads gfx/ui/ui_poops.anm2 HUD 0x59a4 StatHUD _statHUD HUD::Render 009a3eb0: LEA ECX,[EDI+0x59a4] then CALL StatHUD::Render 0084c2c0 (009a568c); its first member ANM2 loads gfx/ui/hudstats2.anm2 (LoadGraphics) HUD 0x5c54 HistoryHUD _historyHUD HUD::Render 009a3eb0: LEA ECX,[EDI+0x5c54] then CALL 0083ac20 (item-history render); ctor 006f2060 eh-vector-ctor(0x5c54, 0x14, 2) PlayerHUD 0x0 Entity_Player* _player HUD::FlashChargeBar 009a2bc0 / InvalidateActiveItem 009a2c00 match *(PlayerHUD+0)==player, stride 0x6dc PlayerHUD 0x4 HUD* _HUD HUD reset FUN_009a19a0 writes PlayerHUD[i]+4 = HUD this PlayerHUD 0x8 short _playerHudIndex HUD reset FUN_009a19a0 writes (short)i to PlayerHUD[i]+8 PlayerHUD 0xc int8_t _redHeartFlashCountdown PlayerHUD::UpdateHearts 00841e20 flashes RedHeartFull/CoinHeart/RottenHeart when >0; PlayerHUD::Update 00842230 decrements PlayerHUD 0xd int8_t _soulHeartFlashCountdown PlayerHUD::UpdateHearts 00841e20 flashes BlueHeart* when >0; PlayerHUD::Update 00842230 decrements PlayerHUD 0xe int8_t _goldHeartFlashCountdown PlayerHUD::RenderHearts 00843df0 tests it with heart gold flag; PlayerHUD::Update 00842230 decrements; reset 00841cf0 zeroes PlayerHUD 0x190 PlayerHUDActiveItem _activeItem[4] HUD::InvalidateActiveItem 009a2c00 zeroes PlayerHUD+0x190+i*0x1c; FlashChargeBar 009a2bc0 writes +0x1a8+i*0x1c = 8 (same as REPENTOGON) Minimap 0x0 int _state Minimap update 0098dba0 (named Game::update_map_input, this=Minimap) sets +0 to 0/1/2 by map-button hold; Minimap::Init 0098d560 zeroes Minimap 0x4 bool _unkBool Minimap update 0098dba0 toggles byte +4 with state (set 1 with state 2, 0 with state 0); Init 0098d560 zeroes Minimap 0x8 uint32_t _holdTime Minimap update 0098dba0: ++ while ACTION_MAP held, ==10 triggers, <9 checks, reset 0; Init zeroes Minimap 0xc float _unkFloat Minimap::Init 0098d560 = 1.0f; Minimap::Render 0098e4d0 uses (w - w * +0xc) * 0.5 (display scale) Minimap 0x18 MinimapConfig _config[2] Minimap::Init 0098d560 loads gfx/ui/minimap1.anm2 at +0x18 and minimap2.anm2 at +0x178 (stride 0x160), writes config ptr/sizes per element Minimap 0x2d8 ANM2 _itemIconsSprite Minimap::Init 0098d560 loads gfx/ui/mapitemicons.anm2 at +0x2d8 Minimap 0x3ec ANM2 _hudPickupSprite Minimap::Init 0098d560 loads gfx/ui/hudpickups.anm2 at +0x3ec Minimap 0x500 ANM2 _iconsSprite Minimap::Init 0098d560 loads gfx/ui/minimap_icons.anm2 at +0x500 Minimap 0x61c int _shakeDuration Minimap update 0098dba0: if (+0x61c > 0) decrement and scale shake by it/10; Init zeroes Minimap 0x620 Vector _shakeOffset Minimap update 0098dba0 writes +0x620/+0x624 from shake; Render 0098e4d0 adds them to the draw position; Init = Vector::Zero Font 0x0 bool _isLoaded Font::Load 00a1a730 sets *this=1 on success; Font::Unload 00a1ad90 and ctor 00a1a640 clear it Font 0x4 int16_t _fontSize Font::Load 00a1a730 reads BMFont v3 block 1 (info, 0x10 bytes) straight into +0x4; BMFont info layout puts this field here Font 0x6 uint8_t _infoBitField Font::Load 00a1a730 reads BMFont v3 block 1 (info, 0x10 bytes) straight into +0x4; BMFont info layout puts this field here Font 0x7 uint8_t _charSet Font::Load 00a1a730 reads BMFont v3 block 1 (info, 0x10 bytes) straight into +0x4; BMFont info layout puts this field here Font 0x8 uint16_t _stretchH Font::Load 00a1a730 reads BMFont v3 block 1 (info, 0x10 bytes) straight into +0x4; BMFont info layout puts this field here Font 0xa uint8_t _aa Font::Load 00a1a730 reads BMFont v3 block 1 (info, 0x10 bytes) straight into +0x4; BMFont info layout puts this field here Font 0xb uint8_t _paddingUp Font::Load 00a1a730 reads BMFont v3 block 1 (info, 0x10 bytes) straight into +0x4; BMFont info layout puts this field here Font 0xc uint8_t _paddingRight Font::Load 00a1a730 reads BMFont v3 block 1 (info, 0x10 bytes) straight into +0x4; BMFont info layout puts this field here Font 0xd uint8_t _paddingDown Font::Load 00a1a730 reads BMFont v3 block 1 (info, 0x10 bytes) straight into +0x4; BMFont info layout puts this field here Font 0xe uint8_t _paddingLeft Font::Load 00a1a730 reads BMFont v3 block 1 (info, 0x10 bytes) straight into +0x4; BMFont info layout puts this field here Font 0xf uint8_t _spacingHoriz Font::Load 00a1a730 reads BMFont v3 block 1 (info, 0x10 bytes) straight into +0x4; BMFont info layout puts this field here Font 0x10 uint8_t _spacingVert Font::Load 00a1a730 reads BMFont v3 block 1 (info, 0x10 bytes) straight into +0x4; BMFont info layout puts this field here Font 0x11 uint8_t _outline Font::Load 00a1a730 reads BMFont v3 block 1 (info, 0x10 bytes) straight into +0x4; BMFont info layout puts this field here Font 0x14 uint16_t _lineHeight Font::GetLineHeight 00a1aea0 returns u16 +0x14; Font::Load 00a1a730 block 2 read into +0x14 Font 0x16 uint16_t _base Font::GetBaselineHeight 00a1aeb0 returns u16 +0x16; Font::Load block 2 Font 0x18 uint16_t _scaleW Font::Load 00a1a730 reads BMFont v3 block 2 (common, 0x10 bytes) straight into +0x14; BMFont common layout puts this field here Font 0x1a uint16_t _scaleH Font::Load 00a1a730 reads BMFont v3 block 2 (common, 0x10 bytes) straight into +0x14; BMFont common layout puts this field here Font 0x1e uint8_t _commonBitField Font::Load 00a1a730 reads BMFont v3 block 2 (common, 0x10 bytes) straight into +0x14; BMFont common layout puts this field here Font 0x1f uint8_t _alphaChannel Font::Load 00a1a730 reads BMFont v3 block 2 (common, 0x10 bytes) straight into +0x14; BMFont common layout puts this field here Font 0x20 uint8_t _redChannel Font::Load 00a1a730 reads BMFont v3 block 2 (common, 0x10 bytes) straight into +0x14; BMFont common layout puts this field here Font 0x21 uint8_t _greenChannel Font::Load 00a1a730 reads BMFont v3 block 2 (common, 0x10 bytes) straight into +0x14; BMFont common layout puts this field here Font 0x22 uint8_t _blueChannel Font::Load 00a1a730 reads BMFont v3 block 2 (common, 0x10 bytes) straight into +0x14; BMFont common layout puts this field here Font 0x1c uint16_t _pages Font::Load 00a1a730 block 2 into +0x14; then uses u16 +0x1c as page count (copied to +0x38, sizes page texture array) Font 0x24 uint32_t _numChars Font::Load 00a1a730 block 4: +0x24 = blockSize / 0x14; Unload/ctor zero Font 0x28 FontCharBlock* _chars Font::Load 00a1a730 allocates and reads +0x24 records of 0x14 into +0x28; Unload 00a1ad90 frees it Font 0x2c vector_KerningPair _kerningPairs Font::Load 00a1a730 block 5: std::vector begin/end/cap at +0x2c/+0x30/+0x34, 0x10-byte pairs (reads 4,4,2 per pair); only 0xc bytes, not 0x14 as REPENTOGON spacing implies Font 0x38 uint32_t _numPages not in REPENTOGON: Font::Load 00a1a730 sets +0x38 = pages(+0x1c) and loops page textures to it; Unload zeroes Font 0x3c TexturePtr* _pageTextures not in REPENTOGON: Font::Load 00a1a730 new[] of +0x38 8-byte texture ptrs; Unload 00a1ad90 eh-vector-dtor(8, 0040c440) + delete Font 0x40 std_map_CharBlocks _charsBlock ctor 00a1a640 allocates map head at +0x40 (size +0x44); Font::SetMissingCharacter 00a1b3b0 _Find_lower_bound in it; Unload erases tree Font 0x48 int _missingCharacter Font::SetMissingCharacter 00a1b3b0 writes map value or -1; ctor 00a1a640 = -1 OptionsConfig 0x0 std_string _optionsIniFilePath OptionsConfig::Save 00924d10 opens this std::string (cap check +0x14) as the ini path OptionsConfig 0x18 float _musicVolume OptionsConfig::Save 00924d10 "MusicVolume=%.4f"; Load 00924440 stores it; Lua Options::MusicVolume 00896810 reads Manager+0x2a354 OptionsConfig 0x1c float _sfxVolume Save 00924d10 "SFXVolume="; Load 00924440; Lua Options::SFXVolume 008969e0 OptionsConfig 0x20 float _mapOpacity Save 00924d10 "MapOpacity="; Load 00924440; Lua Options::MapOpacity 00896a50 OptionsConfig 0x24 bool _isFullscreen Save 00924d10 "Fullscreen="; Lua Options::Fullscreen 00896ab0 OptionsConfig 0x25 bool _filterEnabled Save 00924d10 "Filter="; Load 00924440; Lua Options::Filter 00896c10 OptionsConfig 0x28 float _gamma Save 00924d10 "Gamma="; Load 00924440; Lua Options::Gamma 00896c40 OptionsConfig 0x2c float _exposure Save 00924d10 "Exposure="; Load 00924440 stores "Exposure" OptionsConfig 0x30 float _brightness Load 00924440 stores the "Brightness" key here OptionsConfig 0x34 float _contrast Load 00924440 stores the "Contrast" key here OptionsConfig 0x38 bool _controlHotplugEnabled Save 00924d10 "ControllerHotplug="; Load 00924440 OptionsConfig 0x3c int _popupsMode Save 00924d10 "PopUps="; Load 00924440; Lua Options::DisplayPopups 00896ca0 OptionsConfig 0x40 bool _enableFoundHUD Save 00924d10 "FoundHUD="; Load 00924440; Lua Options::FoundHUD 00896f20 OptionsConfig 0x44 int _cameraStyle Save 00924d10 "CameraStyle="; Lua Options::CameraStyle 00896e20 OptionsConfig 0x48 int _historyHudMode Save 00924d10 "ShowRecentItems="; Lua Options::ExtraHUDStyle 00896e70 OptionsConfig 0x4c float _hudOffset Save 00924d10 "HudOffset="; Lua Options::HUDOffset 00896ec0 OptionsConfig 0x50 bool _tryImportSave Save 00924d10 "TryImportSave="; Load 00924440 OptionsConfig 0x51 bool _enableMods Save 00924d10 "EnableMods="; Load 00924440 OptionsConfig 0x52 bool _enableRumble Save 00924d10 "RumbleEnabled="; Lua Options::RumbleEnabled 00896f50 OptionsConfig 0x53 bool _enableChargeBars Save 00924d10 "ChargeBars="; Lua Options::ChargeBars 00896f80 OptionsConfig 0x54 bool _enableBulletVisibility Save 00924d10 "BulletVisibility="; Lua Options::BulletVisibility 00896fb0 OptionsConfig 0x55 bool _enableAimLock Save 00924d10 "AimLock="; Load 00924440 OptionsConfig 0x58 int _touchMode Save 00924d10 "TouchMode="; Load 00924440 OptionsConfig 0x5c bool _enableDebugConsole Save 00924d10 "EnableDebugConsole="; Lua Options::DebugConsoleEnabled 00897360 OptionsConfig 0x60 int _consoleFont Save 00924d10 "ConsoleFont="; Load 00924440; Lua Options::ConsoleFont 008972a0 (REP 0x7c) OptionsConfig 0x64 bool _enableFadedConsoleDisplay Save 00924d10 "FadedConsoleDisplay="; Lua Options::FadedConsoleDisplay 008972d0 (REP 0x80) OptionsConfig 0x65 bool _enableSaveCommandHistory Save 00924d10 "SaveCommandHistory="; Lua Options::SaveCommandHistory 00897300 (REP 0x81) OptionsConfig 0x66 bool _enableBorderlessFullscreen Save 00924d10 "UseExclusiveFullscreen=" (stored flag is exclusive); Lua Options::UseBorderlessFullscreen 00897330 returns !this[0x66] (REP 0x82) OptionsConfig 0x67 bool _enableVSync Save 00924d10 "VSync="; Lua Options::VSync 00896fe0 (REP 0x5d) OptionsConfig 0x68 bool _enableSteamCloud Save 00924d10 "SteamCloud="; Load 00924440 (REP 0x5e) OptionsConfig 0x69 bool _enablePauseOnFocusLost Save 00924d10 "PauseOnFocusLost="; Lua Options::PauseOnFocusLost 00897010 (REP 0x5f) OptionsConfig 0x6a bool _enableMouseControl Save 00924d10 "MouseControl="; Lua Options::MouseControl 00897040 (REP 0x60) OptionsConfig 0x6c int _maxScale Save 00924d10 "MaxScale="; Lua Options::MaxScale 008970d0 (REP 0x64) OptionsConfig 0x70 int _maxRenderScale Save 00924d10 "MaxRenderScale="; Lua Options::MaxRenderScale 00897250 (REP 0x68) OptionsConfig 0x74 int _windowWidth Save 00924d10 "WindowWidth="; Load 00924440 (REP 0x6c) OptionsConfig 0x78 int _windowHeight Save 00924d10 "WindowHeight="; Load 00924440 (REP 0x70) OptionsConfig 0x7c int _windowPosX Save 00924d10 "WindowPosX="; Load 00924440 (REP 0x74) OptionsConfig 0x80 int _windowPosY Save 00924d10 "WindowPosY="; Load 00924440 (REP 0x78) OptionsConfig 0x84 bool _enableInterpolation Manager::Update 00954cd0 skips every other frame when this is 0; EntityList::Update 004186c0 branches on it; sits between WindowPosY 0x80 and EpicOverlay 0x85 (REP 0x83) OptionsConfig 0x85 bool _enableEpicOverlay new: Save 00924d10 "EnableEpicOverlay="; Load 00924440 OptionsConfig 0x86 bool _enableColorCorrection FUN_00951730 creates "Color Correction Surface" only if set; Manager::Render 009555c0 renders color correction when set (REP 0x84) OptionsConfig 0x87 bool _enableLighting init_room_render_surfaces 007ea630 creates "Light Overlay Surface" only if set (REP 0x85) OptionsConfig 0x88 bool _enableShockwave init_room_render_surfaces 007ea630 creates "Shockwave Surface" only if set (REP 0x86) OptionsConfig 0x89 bool _enableCaustics init_room_render_surfaces 007ea630 loads gfx/backdrop/caustics.png only if set (REP 0x87) OptionsConfig 0x8a bool _enableFilter FUN_00951730 makes the HQ4X surface only if set; Manager::Render 009555c0 uses it with _filterEnabled 0x25 (REP 0x88) OptionsConfig 0x8b bool _enablePixelation Game::Render 006fbc10 gates the pixelation effect (Game +0x1ba78 state 2/3) on it (REP 0x89) OptionsConfig 0x8c bool _enableBloom Game::create_render_surfaces 006f37e0 creates "Bloom Surface" only if set (REP 0x8a) OptionsConfig 0x8d bool _enableWaterSurface Room::render_water 00820fd0 needs Room _waterAmount>0 and this (REP 0x8b) OptionsConfig 0x8e bool _getsSetToEnableWaterSurface init_room_render_surfaces 007ea630 creates "Water Overlay Surface" and "Heat Wave Surface" only if set (REP 0x8c) OptionsConfig 0x8f bool _enableColorModifier Game::Render 006fbc10 and MenuManager::Render 0098a040 apply the color-modifier pass only if set (REP 0x8d) OptionsConfig 0x90 bool _bossHpOnBottom Save 00924d10 "BossHpOnBottom="; Load 00924440 (REP 0x8e) OptionsConfig 0x94 int _announcerVoiceMode Save 00924d10 "AnnouncerVoiceMode="; Lua Options::AnnouncerVoiceMode 00897080 (REP 0x90) OptionsConfig 0x98 int _jacobEsauControls Save 00924d10 "JacobEsauControls="; Lua Options::JacobEsauControls 00897390 (REP 0x94) OptionsConfig 0x9c bool _ascentVoiceover Save 00924d10 "AscentVoiceOver="; Load 00924440 (REP 0x98) OptionsConfig 0xa0 int _onlineHud Save 00924d10 "OnlineHud="; Load 00924440 (REP 0x9c) OptionsConfig 0xa4 bool _streamerMode Save 00924d10 "StreamerMode="; Load 00924440 (REP 0xa0) OptionsConfig 0xa8 int _onlinePlayerVolume Save 00924d10 "OnlinePlayerVolume="; Load 00924440 (REP 0xa4) OptionsConfig 0xac int _onlinePlayerOpacity Save 00924d10 "OnlinePlayerOpacity="; Load 00924440 (REP 0xa8) OptionsConfig 0xb0 bool _onlineChatEnabled Save 00924d10 "OnlineChatEnabled="; Load 00924440 (REP 0xac) OptionsConfig 0xb1 bool _onlineFilterEnabled Save 00924d10 "OnlineChatFilterEnabled="; Load 00924440 (REP 0xad) OptionsConfig 0xb4 int _onlineColorSet Save 00924d10 "MultiplayerColorSet="; Load 00924440 (REP 0xb0) OptionsConfig 0xb8 int _onlineInputDelay Save 00924d10 "OnlineInputDelay="; Load 00924440 (REP 0xb4) OptionsConfig 0xbc bool _itemInfoDisplayEnabled new: Save 00924d10 "ItemInfoDisplayEnabled="; Load 00924440 OptionsConfig 0xc0 int _eosCrossplay new: Save 00924d10 "EosCrossplay="; Load 00924440; compared ==2/3 in online code (Manager+0x2a3fc) OptionsConfig 0xc4 bool _acceptedPublicBeta_VERSION Save 00924d10 "AcceptedPublicBeta_%s="; Load 00924440; disclaimer popup code (Manager+0x2a400) sets it to 1 (REP 0xb8) OptionsConfig 0xc5 bool _acceptedDataCollectionDisclaimer Save 00924d10 "AcceptedDataCollectionDisclaimer="; Load 00924440; disclaimer code (Manager+0x2a401) sets it (REP 0xba) Menu_Character 0x0 int Status Menu_Character::Reset 00948fc0 sets 0; Status==1 picks the seeds view position, handle_input 0094c580 tests *this==0 Menu_Character 0x5 bool IsCharacterUnlocked Menu_Character::UpdateRotations 0094d500 sets it to IsCharacterAvailable(SelectedCharacterID); Reset sets 1 Menu_Character 0x6 bool IsInputPossible UpdateRotations 0094d500 clears it while the wheel turns and sets it when it settles; Reset sets 1 Menu_Character 0x8 int Difficulty Reset 00948fc0 copies Manager+0xf20 (difficulty); Update 00949c20 switches on it Menu_Character 0xc int CooldownWhenHoldDirection handle_input 0094c580 decrements it and reloads 10 on left/right; Reset sets 10 Menu_Character 0x10 int SelectedCharacterID Reset 00948fc0 sets 1; compared to 0x12 (entry count) and indexes g_MenuCharacterEntries[sel + menu*0x12] Menu_Character 0x18 float _randomRotationVelocity UpdateRotations 0094d500 lerps it toward the random spin target; Reset sets 0 Menu_Character 0x20 int _randomRotationAmount UpdateRotations 0094d500 uses (amount-60)/-60 as spin progress Menu_Character 0x24 float _characterWheelDepth written by Reset 00948fc0, read by UpdateRotations 0094d500 as (depth-1)*t+1 Menu_Character 0x28 float _scrollSpeed Reset sets 360/numChars/(x*50); UpdateRotations reads it Menu_Character 0x2c float _characterWheelWidth written by Reset 00948fc0, read by UpdateRotations 0094d500 Menu_Character 0x38 float _PositionX ctor 00946e70 zeroes it right before _BigCharPageSprite 0x40 Menu_Character 0x3c float _PositionY ctor 00946e70 zeroes it right before _BigCharPageSprite 0x40 Menu_Character 0x40 ANM2 _BigCharPageSprite ctor 00946e70 ANM2::constructor at this+0x40 Menu_Character 0x154 ANM2 _DifficultyOverlaySprite ctor 00946e70 ANM2 at +0x154 Menu_Character 0x268 ANM2 _GreedDecoOverlaySprite ctor 00946e70 ANM2 at +0x268 Menu_Character 0x37c ANM2 _CharacterMenuBGSprite ctor 00946e70 ANM2 at +0x37c Menu_Character 0x490 CompletionWidget _completionWidget ctor 00946e70 builds a sub-object at +0x490 (its ANM2 at +0x494) Menu_Character 0x5ac ANM2 _DifficultyPageSprite ctor 00946e70 ANM2 at +0x5ac; Reset 00948fc0 plays "Unlocked"/"AB+" on it Menu_Character 0x6c0 ANM2 _SeedPageSprite ctor 00946e70 ANM2 at +0x6c0 Menu_Character 0x7d4 ANM2 _WinStreakPageSprite ctor 00946e70 ANM2 at +0x7d4 Menu_Character 0x8e8 ANM2 _EastereggPageSprite ctor 00946e70 ANM2 at +0x8e8 Menu_Character 0xa04 ANM2 _SeedUnlockPageSprite ctor 00946e70 ANM2 at +0xa04 Menu_Character 0xb18 int _numCharacters Reset 00948fc0 counts available g_MenuCharacterEntries into it Menu_Character 0xb1c int _numCharacters_MINUS_SelectedEntry Reset sets numCharacters-1; UpdateRotations 0094d500 angle = 360/n * this Menu_Character 0xb20 ANM2 _CharacterPortraitsSprite ctor 00946e70 ANM2 at +0xb20 Menu_Character 0xc34 float _horizontalScrollPosition Reset 00948fc0 = (n-1)*360/numCharacters; UpdateRotations eases it Menu_Character 0xc50 ANM2 _SeedEntrySprite ctor 00946e70 ANM2 at +0xc50; Update checks Status==1 and its _loaded Menu_Character 0xdb4 int _characterMenuShown selects CharacterMenu/CharacterPortraits anm2 path pair [this*3] and entries [sel+this*0x12] (normal/tainted) Menu_Character 0xdb8 ANM2 _PageSwapWidgetSprite ctor 00946e70 ANM2 at +0xdb8 Menu_Character 0xecc ANM2 _TaintedMenuBGDecoSprite ctor 00946e70 ANM2 at +0xecc (size ends 0xfe8, SpecialSeeds follows at MenuManager+0x251c) Menu_Stats 0x0 int _countTotalAchievements Menu_Stats::Update 009ecbc0 zeroes it then counts unlocked achievements (0x282 loop) Menu_Stats 0x4 int _countItemsInCollection Menu_Stats::Update 009ecbc0 counts touched collectibles (0x2dd loop over Manager+0xafc) Menu_Stats 0x8 int _countDeaths Menu_Stats::Update 009ecbc0 copies Manager+0x2f8 (deaths stat) Menu_Stats 0xc int _countMomKills Menu_Stats::Update 009ecbc0 copies Manager+0x2d4 (mom kills stat) Menu_Stats 0x10 int _statsMenuCurrentSelection FUN_009ede60 (stats-page update called by Update when the achievement screen is closed) reads/writes it 11x Menu_Stats 0x14 float _PositionX Menu_Stats::Render 009ecdd0 adds it to the draw position; ctor (MenuManager::constructor 00986450) zeroes it Menu_Stats 0x18 float _PositionY Menu_Stats::Render 009ecdd0 adds it to the draw position; ctor zeroes it Menu_Stats 0x1c ANM2 _StatsMenuSprite MenuManager::constructor 00986450 ANM2 at Stats+0x1c; Update 009ecbc0 animates it Menu_Stats 0x130 bool _isAchievementScreenVisible Menu_Stats::Update 009ecbc0 calls update_achievements when set, else FUN_009ede60 Menu_Stats 0x134 float _achievementScrollInPosition update_achievements 009ee2a0 sets 275.0 then slides it down by 2 to 240 Menu_Stats 0x138 float _achievementScrollThruListPosition update_achievements 009ee2a0 advances it by 2*_scrollSpeed and resets it to 0 per step Menu_Stats 0x13c int _selectedAchievmentId update_achievements 009ee2a0 steps it +-1 and wraps it at _maxAchievementID; indexes _achievementIDList Menu_Stats 0x140 int _IconIDtoUseForAchievementID[642] update_achievements 009ee2a0 reads [this+i*4+0x140]; 642 entries now (achievementsSprite moved to 0xb48) Menu_Stats 0xb48 ANM2 _achievementsSprite MenuManager::constructor 00986450 ANM2 at Stats+0xb48; update_achievements uses it 16x (REP 0xb44) Menu_Stats 0xc5c ANM2 _achievementMiniSprite1 MenuManager::constructor 00986450 eh_vector_constructor of 11 ANM2 at Stats+0xc5c (9 minis + 2 cursors) (REP 0xc58) Menu_Stats 0xd70 ANM2 _achievementMiniSprite2 2nd of the 11-ANM2 run at +0xc5c (ctor 00986450); FUN_009ede60 uses it Menu_Stats 0xe84 ANM2 _achievementMiniSprite3 3rd of the 11-ANM2 run at +0xc5c (ctor 00986450) Menu_Stats 0xf98 ANM2 _achievementMiniSprite4 4th of the 11-ANM2 run at +0xc5c (ctor 00986450) Menu_Stats 0x10ac ANM2 _achievementMiniSprite5 5th of the 11-ANM2 run (ctor 00986450); update_achievements 009ee2a0 uses +0x10ac Menu_Stats 0x11c0 ANM2 _achievementMiniSprite6 6th of the 11-ANM2 run at +0xc5c (ctor 00986450) Menu_Stats 0x12d4 ANM2 _achievementMiniSprite7 7th of the 11-ANM2 run at +0xc5c (ctor 00986450) Menu_Stats 0x13e8 ANM2 _achievementMiniSprite8 8th of the 11-ANM2 run (ctor 00986450); FUN_009ede60 uses +0x13e8 Menu_Stats 0x14fc ANM2 _achievementMiniSprite9 9th of the 11-ANM2 run (ctor 00986450); FUN_009ede60 uses +0x14fc Menu_Stats 0x1610 ANM2 _cursorLeftSprite 10th of the 11-ANM2 run (ctor 00986450); Render 009ecdd0 uses +0x1640/+0x1660 inside it Menu_Stats 0x1724 ANM2 _cursorRightSprite 11th of the 11-ANM2 run (ctor 00986450); Render 009ecdd0 uses +0x1754/+0x1774 inside it Menu_Stats 0x1838 AchievementOverlay_Entry _achievementOverlayEntries[642] ctor 00986450 eh_vector_constructor 0x282 x 0x34 at Stats+0x1838; Update 009ecbc0 tests [i*0x34+0x1838]==i (REP 0x1834[641]) Menu_Stats 0x9aa0 int _achievementIDList[642] update_achievements 009ee2a0 and load_achievements_xml 009ed780 index [this+i*4+0x9aa0] (REP 0x9a68[641]) Menu_Stats 0xa4a8 int _maxAchievementID load_achievements_xml 009ed780 fills it (13 refs); update_achievements wraps _selectedAchievmentId at it (REP 0xa46c) Menu_Stats 0xa4ac int _holdInputTimer update_achievements 009ee2a0 counts held frames, accelerates past 0x3c/0xb4, resets to 0 (REP 0xa470) Menu_Stats 0xa4b0 float _scrollSpeed update_achievements 009ee2a0 computes it from the hold timer and adds 2x it to the list position (REP 0xa474) MenuManager 0x0 std_vector_uint _menuStateHistory new: FUN_0098ae20 (menu state push) appends the new menu id to the vector at +0/+4/+8 (begin/end/cap) before calling SetState FUN_0098aa30; ctor 00986450 zeroes all three MenuManager 0xc bool _state REP int, only a byte here: SetState FUN_0098aa30 sets it to 1 on a menu change; MenuManager::Update 009897d0 eases _ViewPosition toward _viewPositionSet[_selectedMenuID] while set and clears it on arrival MenuManager 0xd bool _fadeOutActive new: MenuManager::Update 009897d0 adds 0.025 to _fadeOutProgress each frame while set; Render 0098a040 draws the fade when set MenuManager 0x10 float _fadeOutProgress MenuManager::Update 009897d0 += 0.025 while 0xd is set; Render 0098a040 uses it as the fade alpha MenuManager 0x14 bool _fadeInActive REP int, only a byte here: Update 009897d0 subtracts 0.025 from _fadeInProgress while set; Render 0098a040 clears it once progress <= 0; FUN_00959d00 sets it after copying the fade color MenuManager 0x18 float _fadeInProgress Update 009897d0 -= 0.025 while _fadeInActive; Render 0098a040 uses it as alpha and zeroes it at <= 0 MenuManager 0x1c KColor _fadeInColor ctor 00986450 KColor::SetFromARGB(0xff000000) on this+0x1c; FUN_00959d00 copies a color into +0x1c..+0x2c; Render 0098a040 draws the fade-in with it MenuManager 0x34 float _vingnetteIntensity Render 0098a040 eases it by 0.025 toward 0.5 when Menu_Character.Difficulty (+0x153c) is 1 or 3, else 0, and draws an overlay with that alpha MenuManager 0x40 int _selectedMenuID SetState FUN_0098aa30 writes the new menu id here; Update 009897d0 and Render 0098a040 switch on it; ctor zeroes it MenuManager 0x44 Vector _ViewPosition Update 009897d0 eases +0x44/+0x48 toward _viewPositionSet[_selectedMenuID]; Render 0098a040 adds it to sprite positions MenuManager 0x4c ANM2 _MenuShadowSprite ctor 00986450 ANM2::constructor on this+0x4c MenuManager 0x178 Seeds _seedsObject ctor 00986450 Seeds::constructor 009e9290 on this+0x178 MenuManager 0x1d4 Menu_Title _menuTitle ctor 00986450 ESI=this+0x1d4: PositionX/Y +0/+4 zeroed, TitleScreenSprite ANM2 at +8 (as REP); its size is 0x120 now (word at +0x11c) MenuManager 0x2f4 Menu_Save _menuSave ctor 00986450 ESI=this+0x2f4: +0x10/+0x14 zeroed, ANM2 at +0x18, 3 ANM2 at +0x12c, ANM2 +0x470, +0x584 = REP's inner layout; REP 0x2f8 (-4) MenuManager 0xb90 Menu_Game _menuGame ctor 00986450 ESI=this+0xb90: +8/+0xc zeroed, ANM2 at +0x10 and +0x124 (as REP); size is 0x244 now (+0x240 = -1) MenuManager 0xdd4 Menu_DailyChallenge _menuDailyChallenge ctor 00986450 EDI=this+0xdd4: +0..+0x10 zeroed, ANM2 +0x14, popup at +0x13c, prompt at +0x270, Leaderboard ctor FUN_00856f70 at +0x3a4 (REP 0xdd0, +4) MenuManager 0x1534 Menu_Character _menuCharacter ctor 00986450 calls the Menu_Character ctor FUN_00946e70 with this+0x1534; Render 0098a040 reads +0x153c as Menu_Character.Difficulty (REP 0x1530, +4) MenuManager 0x251c Menu_SpecialSeeds _menuSpecialSeeds ctor 00986450 ESI=this+0x251c, SpecialSeedsSprite ANM2 at +0x1c (REP 0x2518, +4) MenuManager 0x2688 Menu_Challenge _menuChallenge ctor 00986450 ESI=this+0x2688: +0xc/+0x10 zeroed, ANM2 at +0x14, +0x128/+0x12c (REP 0x2684, +4) MenuManager 0x27b8 Menu_Collection _menuCollection ctor 00986450 ESI=this+0x27b8: ANM2 at +0x14 and +0x128, +0x240..+0x258 zeroed (REP 0x27b4, +4) MenuManager 0x2a18 Menu_Stats _menuStats ctor 00986450 ESI=this+0x2a18: ANM2 +0x1c, +0xb48, 11 ANM2 at +0xc5c, 0x282 x 0x34 entries at +0x1838; Render 0098a040 case 9 reads +0x2b48 (Stats+0x130) (REP 0x2a14, +4) MenuManager 0xcecc Menu_Options _menuOptions ctor 00986450 calls FUN_009b1fc0 (Options ctor: ANM2 at +0x24, +0x138 as REP) with this+0xcecc (REP 0xce8c, +0x40) MenuManager 0xd154 Menu_ControllerSelect _menuControllerSelect ctor 00986450 ESI=this+0xd154: +8/+0xc zeroed, ANM2 at +0x10, +0x124..+0x12c (REP 0xd114, +0x40) MenuManager 0xd284 Menu_KeyConfig _menuKeyConfig ctor 00986450 ECX=this+0xd284: +0xc/+0x10 zeroed, ANM2 at +0x14; SetState FUN_0098aa30 resets +0xd288/+0xd28c when entering state 0xc (REP 0xd244, +0x40) MenuManager 0xd3ac Menu_Cutscenes _menuCutscenes ctor 00986450 ECX=this+0xd3ac: +8/+0xc zeroed, ANM2 at +0x10 (REP 0xd36c, +0x40) MenuManager 0xd4d0 Menu_Bestiary _menuBestiary ctor 00986450 ESI=this+0xd4d0: PositionX/Y +0/+4, ANM2 at +8, +0x11c, +0x230, +0x350..+0x364 zeroed (REP 0xd490, +0x40) MenuManager 0xd848 Menu_CustomChallenge _menuCustomChallenge MenuManager::Update 009897d0 calls Menu_CustomChallenge::Update(this+0xd848); ctor ANM2 at +0xd858 (REP 0xd808, +0x40) MenuManager 0xd96c Menu_Mods _menuMods ctor 00986450 ESI=this+0xd96c: +8/+0xc zeroed, ANM2 at +0x10, +0x128 (REP 0xd92c, +0x40) MenuManager 0xf704 Vector _viewPositionSet[23] ctor 00986450 zeroes 23 Vectors from +0xf704 (ends at the 0xf7bc bool); Update 009897d0 reads +0xf704/+0xf708 + id*8; SetState writes [12].x (+0xf768) for state 0xc (REP 0xf70c, -8) MenuManager 0xf7bc bool _shouldLerpColorModState MenuManager::Update 009897d0 lerps while set and clears it once the lerp equals the target; ctor 00986450 sets it to 0 (REP 0xf7c4, -8) MenuManager 0xf7c0 ColorModState _currentColorModState Render 0098a040 sends +0xf7c0..c8 as tint and +0xf7cc/+0xf7d0/+0xf7d4 as the "Amount"/"Brightness"/"Contrast" uniforms; ctor sets (1,1,1,0,0,1) (REP 0xf7c8, -8) MenuManager 0xf7d8 ColorModState _targetColorModState Update 009897d0 FUN_006ef410(this+0xf7d8, this+0xf7f0) and compares the result with +0xf7d8..+0xf7ec; ctor (1,1,1,0,0,1) (REP 0xf7e0, -8) MenuManager 0xf7f0 ColorModState _lerpColorModState second ColorModState arg of the lerp in Update 009897d0; ctor (1,1,1,0,0,1) at +0xf7f0..+0xf804 (REP 0xf7f8, -8) MenuManager 0xf808 float _scrollinterpolationX -8 like its neighbours; Update 009897d0 sets it to viewPositionSet[1].x + 364 + dist^2*0.004 and Render 0098a040 draws the fly sprite at _ViewPosition + (this, +0xf80c), so it is really the fly's offset (REP 0xf810) MenuManager 0xf80c float _scrollinterpolationY Update 009897d0 sets viewPositionSet[1].y + 176 + dist*0.004; Render 0098a040 fly sprite y offset (REP 0xf814) MenuManager 0xf818 ANM2 _flySprite ctor 00986450 ANM2 at this+0xf818 (via ECX=+0xf808,+0x10); Update 009897d0 bobs its layers 0/1 with sin(frame%80); Render 0098a040 draws it (REP 0xf820, -8) EntityConfig_Entity 0x0 int id EntityConfig::LoadEntities 006950c0 parses entities2.xml into a stack EntityConfig_Entity (id @EBP-0x10210) then inserts it; "id" attr atoi -> +0; GetEntity 00694fb0 key (id<<12|variant)<<8|subtype EntityConfig_Entity 0x4 int variant EntityConfig::LoadEntities 006950c0 parses entities2.xml into a stack EntityConfig_Entity (id @EBP-0x10210) then inserts it; "variant" atoi -> +4 EntityConfig_Entity 0x8 int subtype EntityConfig::LoadEntities 006950c0 parses entities2.xml into a stack EntityConfig_Entity (id @EBP-0x10210) then inserts it; "subtype" atoi -> +8 EntityConfig_Entity 0xc std_string name EntityConfig::LoadEntities 006950c0 parses entities2.xml into a stack EntityConfig_Entity (id @EBP-0x10210) then inserts it; "name" attr string::assign into EBP-0x10204 (+0xc) at 006955c0 EntityConfig_Entity 0x24 float shadowSize EntityConfig::LoadEntities 006950c0 parses entities2.xml into a stack EntityConfig_Entity (id @EBP-0x10210) then inserts it "shadowSize"/100 -> +0x24; Entity::LoadEntityConfig 006a98b0 copies +0x24 to Entity::_shadowSize EntityConfig_Entity 0x28 float collisionDamage EntityConfig::LoadEntities 006950c0 parses entities2.xml into a stack EntityConfig_Entity (id @EBP-0x10210) then inserts it "collisionDamage" atof -> +0x28; Entity::LoadEntityConfig 006a98b0 copies to Entity::_collisionDamage EntityConfig_Entity 0x2c bool isBoss EntityConfig::LoadEntities 006950c0 parses entities2.xml into a stack EntityConfig_Entity (id @EBP-0x10210) then inserts it "boss" attr -> byte +0x2c (0/1) EntityConfig_Entity 0x30 int bossID EntityConfig::LoadEntities 006950c0 parses entities2.xml into a stack EntityConfig_Entity (id @EBP-0x10210) then inserts it "bossID" atoi -> +0x30 EntityConfig_Entity 0x34 bool canBeChampion EntityConfig::LoadEntities 006950c0 parses entities2.xml into a stack EntityConfig_Entity (id @EBP-0x10210) then inserts it "champion" -> +0x34 (0/1) EntityConfig_Entity 0x38 float collisionRadius EntityConfig::LoadEntities 006950c0 parses entities2.xml into a stack EntityConfig_Entity (id @EBP-0x10210) then inserts it "collisionRadius" -> +0x38; Entity::LoadEntityConfig 006a98b0 passes +0x38 to SetSize EntityConfig_Entity 0x3c Vector collisionRadiusMulti EntityConfig::LoadEntities 006950c0 parses entities2.xml into a stack EntityConfig_Entity (id @EBP-0x10210) then inserts it "collisionRadiusXMulti" -> +0x3c, "collisionRadiusYMulti" -> +0x40; Entity::LoadEntityConfig 006a98b0 passes to SetSize EntityConfig_Entity 0x44 float mass EntityConfig::LoadEntities 006950c0 parses entities2.xml into a stack EntityConfig_Entity (id @EBP-0x10210) then inserts it "collisionMass" -> +0x44; Entity::LoadEntityConfig 006a98b0 copies +0x44 to Entity mass EntityConfig_Entity 0x48 unsigned int gridCollisionPoints EntityConfig::LoadEntities 006950c0 parses entities2.xml into a stack EntityConfig_Entity (id @EBP-0x10210) then inserts it "numGridCollisionPoints" atoi -> +0x48; Entity::LoadEntityConfig 006a98b0 passes to SetSize EntityConfig_Entity 0x4c float friction EntityConfig::LoadEntities 006950c0 parses entities2.xml into a stack EntityConfig_Entity (id @EBP-0x10210) then inserts it "friction" -> +0x4c; Entity::LoadEntityConfig 006a98b0 copies +0x4c to Entity friction EntityConfig_Entity 0x50 float baseHP EntityConfig::LoadEntities 006950c0 parses entities2.xml into a stack EntityConfig_Entity (id @EBP-0x10210) then inserts it "baseHP" -> +0x50; Entity::LoadEntityConfig 006a98b0 MaxHitPoints = baseHP + stage*stageHP EntityConfig_Entity 0x54 float stageHP EntityConfig::LoadEntities 006950c0 parses entities2.xml into a stack EntityConfig_Entity (id @EBP-0x10210) then inserts it "stageHP" -> +0x54; Entity::LoadEntityConfig 006a98b0 scales it by stage EntityConfig_Entity 0x58 bool shutDoors EntityConfig::LoadEntities 006950c0 parses entities2.xml into a stack EntityConfig_Entity (id @EBP-0x10210) then inserts it "shutdoors" -> +0x58 (0/1) EntityConfig_Entity 0x5c unsigned int gibsAmount EntityConfig::LoadEntities 006950c0 parses entities2.xml into a stack EntityConfig_Entity (id @EBP-0x10210) then inserts it "gibAmount" attr and atoi -> +0x5c EntityConfig_Entity 0x60 unsigned int gibFlags EntityConfig::LoadEntities 006950c0 parses entities2.xml into a stack EntityConfig_Entity (id @EBP-0x10210) then inserts it flags -> +0x60 EntityConfig_Entity 0x64 int portrait EntityConfig::LoadEntities 006950c0 parses entities2.xml into a stack EntityConfig_Entity (id @EBP-0x10210) then inserts it "portrait" atoi -> +0x64 (negated if negative) EntityConfig_Entity 0x74 std_string anm2Path EntityConfig::LoadEntities 006950c0 parses entities2.xml into a stack EntityConfig_Entity (id @EBP-0x10210) then inserts it "anm2path" concat(modpath) -> +0x74; EntityConfig::PreloadResources 0069ba90 AnmCache::Preload(+0x74) EntityConfig_Entity 0xa4 vector_Devolve devolve EntityConfig::LoadEntities 006950c0 parses entities2.xml into a stack EntityConfig_Entity (id @EBP-0x10210) then inserts it push_back of 12-byte {id,var|sub,weight=1.0} into vector end +0xa8 / cap +0xac EntityConfig_Entity 0xb4 std_string gridCollisionClassString EntityConfig::LoadEntities 006950c0 parses entities2.xml into a stack EntityConfig_Entity (id @EBP-0x10210) then inserts it "gridCollision" string::assign into +0xb4 (00696030); Entity::LoadEntityConfig 006a98b0 reads size +0xc4 and str_eq "walls"/"ground"/"nopits" EntityConfig_Entity 0xcc bool reroll EntityConfig::LoadEntities 006950c0 parses entities2.xml into a stack EntityConfig_Entity (id @EBP-0x10210) then inserts it "reroll" -> +0xcc EntityConfig_Entity 0xcd bool hasFloorAlts EntityConfig::LoadEntities 006950c0 parses entities2.xml into a stack EntityConfig_Entity (id @EBP-0x10210) then inserts it "hasFloorAlts" -> +0xcd EntityConfig_Entity 0xd0 unsigned int collisionInterval EntityConfig::LoadEntities 006950c0 parses entities2.xml into a stack EntityConfig_Entity (id @EBP-0x10210) then inserts it "collisionInterval" atoi -> +0xd0 EntityConfig_Entity 0xd8 unsigned int tags EntityConfig::LoadEntities 006950c0 parses entities2.xml into a stack EntityConfig_Entity (id @EBP-0x10210) then inserts it "tags" -> EntityConfig::parse_entity_tags 00694680 result -> +0xd8 (+0xdc zeroed alongside) EntityConfig_Entity 0xe0 float shieldStrength EntityConfig::LoadEntities 006950c0 parses entities2.xml into a stack EntityConfig_Entity (id @EBP-0x10210) then inserts it "shieldStrength" atof -> +0xe0 EntityConfig_Entity 0xe4 int shieldFrames NEW (not in REPENTOGON): EntityConfig::LoadEntities 006950c0 parses entities2.xml into a stack EntityConfig_Entity (id @EBP-0x10210) then inserts it "shieldFrames" atoi -> +0xe4 EntityConfig_Entity 0xe8 bool bestiary EntityConfig::LoadEntities 006950c0 parses entities2.xml into a stack EntityConfig_Entity (id @EBP-0x10210) then inserts it "bestiary" attr -> +0xe8; cleared when bestiary parent set EntityConfig_Entity 0xec Vector bestiaryOffset EntityConfig::LoadEntities 006950c0 parses entities2.xml into a stack EntityConfig_Entity (id @EBP-0x10210) then inserts it atof x3 -> +0xec,+0xf0 (offset) and +0xf4 (scale) EntityConfig_Entity 0xf4 float bestiaryScale EntityConfig::LoadEntities 006950c0 parses entities2.xml into a stack EntityConfig_Entity (id @EBP-0x10210) then inserts it third atof -> +0xf4 EntityConfig_Entity 0xf8 std_string bestiaryAnm2Path EntityConfig::LoadEntities 006950c0 parses entities2.xml into a stack EntityConfig_Entity (id @EBP-0x10210) then inserts it concat(modpath) moved into +0xf8 EntityConfig_Entity 0x110 std_string bestiaryAnim EntityConfig::LoadEntities 006950c0 parses entities2.xml into a stack EntityConfig_Entity (id @EBP-0x10210) then inserts it "bestiaryAnim" string::assign into EBP-0x10100 (+0x110) at 00696a10 EntityConfig_Entity 0x128 std_string bestiaryOverlay EntityConfig::LoadEntities 006950c0 parses entities2.xml into a stack EntityConfig_Entity (id @EBP-0x10210) then inserts it "bestiaryOverlay" string::assign into EBP-0x100e8 (+0x128) at 00696a90 EntityConfig_Entity 0x140 std_string bestiaryFloorAlt EntityConfig::LoadEntities 006950c0 parses entities2.xml into a stack EntityConfig_Entity (id @EBP-0x10210) then inserts it string::assign into EBP-0x100d0 (+0x140) at 00697e5a EntityConfig_Entity 0x158 int bestiaryParentType EntityConfig::LoadEntities 006950c0 parses entities2.xml into a stack EntityConfig_Entity (id @EBP-0x10210) then inserts it atoi -> +0x158; EntityConfig::GetBestiaryConfig 00695030 follows +0x158/+0x15c EntityConfig_Entity 0x15c int bestiaryParentVariant EntityConfig::LoadEntities 006950c0 parses entities2.xml into a stack EntityConfig_Entity (id @EBP-0x10210) then inserts it 2nd atoi -> +0x15c; GetBestiaryConfig 00695030 uses it as variant EntityConfig_Entity 0x160 ModEntry* modEntry EntityConfig::LoadEntities 006950c0 parses entities2.xml into a stack EntityConfig_Entity (id @EBP-0x10210) then inserts it stores param_2 (ModEntry*, 0 for vanilla) -> +0x160 at 0069843c EntityConfig_Entity 0x98 std_vector_int preloadSounds NEW: EntityConfig::LoadEntities 006950c0 parses entities2.xml into a stack EntityConfig_Entity (id @EBP-0x10210) then inserts it push_back(atoi) into +0x98..; EntityConfig::PreloadResources 0069ba90 walks +0x98..+0x9c as sound ids EntityConfig_Entity 0xb0 bool isPreloaded NEW: EntityConfig::PreloadResources 0069ba90 skips when +0xb0 set, sets it to 1 at end EntityConfig_Entity 0x164 bool isPortraitModded NEW: EntityConfig::LoadEntities 006950c0 parses entities2.xml into a stack EntityConfig_Entity (id @EBP-0x10210) then inserts it after "portrait": 0 when negative, else ModEntry+0xef9 byte (0 for vanilla) -> +0x164 EntityConfig_Player 0x0 int _id EntityConfig::load_players_xml 006998d0 (stack player, id @EBP-0x10208) "id" atoi -> +0; copy-ctor FUN_0069b810 (push_back of EntityConfig_Player, size 0x148); +0x124 defaults to it EntityConfig_Player 0x4 std_string _name EntityConfig::load_players_xml 006998d0 (stack player, id @EBP-0x10208) "name" string::assign into EBP-0x10204 (+4) at 00699c9b; copy-ctor FUN_0069b810 (push_back of EntityConfig_Player, size 0x148) string copy +0x4 EntityConfig_Player 0x1c std_string _skinPath EntityConfig::load_players_xml 006998d0 (stack player, id @EBP-0x10208) "skin" concat(root) moved to +0x1c; copy-ctor FUN_0069b810 (push_back of EntityConfig_Player, size 0x148) string copy +0x1c EntityConfig_Player 0x34 std_string _nameImagePath EntityConfig::load_players_xml 006998d0 (stack player, id @EBP-0x10208) "nameimage" concat(nameimageroot) -> +0x34; copy-ctor FUN_0069b810 (push_back of EntityConfig_Player, size 0x148) string copy +0x34 EntityConfig_Player 0x4c std_string _portraitPath EntityConfig::load_players_xml 006998d0 (stack player, id @EBP-0x10208) "portrait" concat(portraitroot) -> +0x4c; copy-ctor FUN_0069b810 (push_back of EntityConfig_Player, size 0x148) string copy +0x4c EntityConfig_Player 0x64 std_string _unkString copy-ctor FUN_0069b810 (push_back of EntityConfig_Player, size 0x148) string copy +0x64 (0069b894) and dtor at 0069b7e7; not written by any players.xml attribute EntityConfig_Player 0x7c std_string _extraPortraitPath EntityConfig::load_players_xml 006998d0 (stack player, id @EBP-0x10208) "extraportrait" concat -> +0x7c; copy-ctor FUN_0069b810 (push_back of EntityConfig_Player, size 0x148) string copy +0x7c EntityConfig_Player 0x94 std_string _costumeSuffixName EntityConfig::load_players_xml 006998d0 (stack player, id @EBP-0x10208) "costumeSuffix" string::assign into EBP-0x10174 (+0x94) at 0069a7cb; copy-ctor FUN_0069b810 (push_back of EntityConfig_Player, size 0x148) copy +0x94 EntityConfig_Player 0xac int _costumeID EntityConfig::load_players_xml 006998d0 (stack player, id @EBP-0x10208) "costume" atoi -> +0xac; copy-ctor FUN_0069b810 (push_back of EntityConfig_Player, size 0x148) dword copy EntityConfig_Player 0xb0 int _heart EntityConfig::load_players_xml 006998d0 (stack player, id @EBP-0x10208) "hp" atoi -> +0xb0 EntityConfig_Player 0xb4 int _armor EntityConfig::load_players_xml 006998d0 (stack player, id @EBP-0x10208) "armor" atoi -> +0xb4 EntityConfig_Player 0xb8 int _blackHeart EntityConfig::load_players_xml 006998d0 (stack player, id @EBP-0x10208) "black" atoi -> +0xb8 EntityConfig_Player 0xbc int _coins EntityConfig::load_players_xml 006998d0 (stack player, id @EBP-0x10208) "coins" atoi -> +0xbc EntityConfig_Player 0xc0 int _bombs EntityConfig::load_players_xml 006998d0 (stack player, id @EBP-0x10208) "bombs" atoi -> +0xc0 EntityConfig_Player 0xc4 int _keys EntityConfig::load_players_xml 006998d0 (stack player, id @EBP-0x10208) "keys" atoi -> +0xc4 EntityConfig_Player 0xc8 int _card EntityConfig::load_players_xml 006998d0 (stack player, id @EBP-0x10208) "card" atoi -> +0xc8 EntityConfig_Player 0xcc int _pill EntityConfig::load_players_xml 006998d0 (stack player, id @EBP-0x10208) "pill" atoi -> +0xcc EntityConfig_Player 0xd0 bool _canShoot EntityConfig::load_players_xml 006998d0 (stack player, id @EBP-0x10208) "canShoot" true/false -> byte +0xd0; copy-ctor FUN_0069b810 (push_back of EntityConfig_Player, size 0x148) byte copy +0xd0 EntityConfig_Player 0xd4 std_vector_int _collectibles EntityConfig::load_players_xml 006998d0 (stack player, id @EBP-0x10208) "items" list push_back into vector (end +0xd8, cap +0xdc); copy-ctor FUN_0069b810 (push_back of EntityConfig_Player, size 0x148) vector copy +0xd4 EntityConfig_Player 0xe0 int _trinket EntityConfig::load_players_xml 006998d0 (stack player, id @EBP-0x10208) "trinket" atoi -> +0xe0 EntityConfig_Player 0xe4 int _skinColor EntityConfig::load_players_xml 006998d0 (stack player, id @EBP-0x10208) "skinColor" atoi -> +0xe4 EntityConfig_Player 0xe8 int _achievement EntityConfig::load_players_xml 006998d0 (stack player, id @EBP-0x10208) "achievement" atoi -> +0xe8 EntityConfig_Player 0xec int _brokenHeart EntityConfig::load_players_xml 006998d0 (stack player, id @EBP-0x10208) "broken" atoi -> +0xec EntityConfig_Player 0xf0 uint32_t _pocketActiveID EntityConfig::load_players_xml 006998d0 (stack player, id @EBP-0x10208) "pocketActive" atoi -> +0xf0 EntityConfig_Player 0xf4 std_string _birthrightDescription EntityConfig::load_players_xml 006998d0 (stack player, id @EBP-0x10208) "birthright" string::assign into EBP-0x10114 (+0xf4) at 0069a95b; copy-ctor FUN_0069b810 (push_back of EntityConfig_Player, size 0x148) copy +0xf4 EntityConfig_Player 0x10c std_string _bSkinParentName EntityConfig::load_players_xml 006998d0 (stack player, id @EBP-0x10208) "bSkinParent" string::assign into EBP-0x100fc (+0x10c) at 0069a9cb; copy-ctor FUN_0069b810 (push_back of EntityConfig_Player, size 0x148) copy +0x10c EntityConfig_Player 0x124 int _moddedTaintedPlayerID EntityConfig::load_players_xml 006998d0 (stack player, id @EBP-0x10208) sets +0x124 = own id (vanilla) or players.size() (modded) at 0069abad/0069b325; copy-ctor FUN_0069b810 (push_back of EntityConfig_Player, size 0x148) dword copy EntityConfig_Player 0x128 bool _hidden EntityConfig::load_players_xml 006998d0 (stack player, id @EBP-0x10208) "hidden" true/True/atoi -> byte +0x128 (0069ab0c); copy-ctor FUN_0069b810 (push_back of EntityConfig_Player, size 0x148) byte copy EntityConfig_Player 0x12c ModEntry* _modEntry EntityConfig::load_players_xml 006998d0 (stack player, id @EBP-0x10208) stores the ModEntry* param at +0x12c (0069ab75); copy-ctor FUN_0069b810 (push_back of EntityConfig_Player, size 0x148) dword copy EntityConfig_Player 0x130 bool _renderCustomBackground EntityConfig::load_players_xml 006998d0 (stack player, id @EBP-0x10208) set 1 when the modded menu ANM2 has a "Background" layer (bStack_100e8); copy-ctor FUN_0069b810 (push_back of EntityConfig_Player, size 0x148) copies 0x130..0x13f EntityConfig_Player 0x134 ANM2* _moddedMenuBackgroundANM2 EntityConfig::load_players_xml 006998d0 (stack player, id @EBP-0x10208) allocates ANM2 from ModEntry+0x550 -> +0x134, then GetLayer("Background") EntityConfig_Player 0x138 ANM2* _moddedMenuPortraitANM2 EntityConfig::load_players_xml 006998d0 (stack player, id @EBP-0x10208) allocates ANM2 (ModEntry flag +0x31d) -> +0x138 EntityConfig_Player 0x13c ANM2* _moddedGameOverANM2 EntityConfig::load_players_xml 006998d0 (stack player, id @EBP-0x10208) allocates ANM2 (ModEntry flag +0x431) -> +0x13c EntityConfig_Player 0x140 ANM2* _moddedCoopMenuANM2 EntityConfig::load_players_xml 006998d0 (stack player, id @EBP-0x10208) allocates ANM2 (ModEntry flag +0x545) -> +0x140 EntityConfig_Player 0x144 ANM2* _moddedControlsANM2 EntityConfig::load_players_xml 006998d0 (stack player, id @EBP-0x10208) allocates ANM2 (ModEntry flag +0xbbd) -> +0x144; copy-ctor FUN_0069b810 (push_back of EntityConfig_Player, size 0x148) qword copy 0x140..0x147 ends the 0x148 struct EntityConfig 0x0 std_map_uint_EntityConfigEntityEntry _entities EntityConfig::GetEntity 00694fb0 / GetBestiaryConfig 00695030 lower_bound on map whose head is *this (node key +0x10, value +0x18) EntityConfig 0x20 vector_EntityConfig_Boss _bosses load_bossportraits_xml 0069c420 resizes (this+0x20) to 0x68 entries of 100 bytes and pushes alts into elem+0x58 EntityConfig 0x2c vector_string _edenHair EntityConfig::load_players_xml 006998d0: for player id 9 clears vector at +0x2c, reserves 0x80, pushes ItemConfig 0x3c std_map_string_int _collectibleNameMap LuaEngine::Isaac_GetItemIdByName 0086f640 looks up Manager+0x2a440 = ItemConfig(Manager+0x2a404, Isaac::GetItemConfig 0042ca00)+0x3c, string key, int value at node+0x28; ItemConfig::Load 00725570 clears this+0x3c Camera 0x8c bool _shouldOverride Camera::SetFocusPosition 00944d10: if !+0x8c push pos into ring +0x50 and set +0x8c=1; Camera::update_follow 009446e0 follows ring +0x50 instead of players when set; Camera::ClampedToRoom 00943490 skips X clamp Entity_Player 0x17a0 int _pocketSlots[8] AddPocketItem/RemovePocketItem/GetMaxPocketItems: 4 (id, type) pairs, type 0 pill 1 card 2 pocket active # ColorMod = the Lua Color class (0x2c): getters Color::R 00407240 (+0), Color::A (+0xc), RO (+0x20), BO (+0x28); SetColorize 00682fb0 writes +0x10..+0x1c; ctor 00407170 sets 1,1,1,1 then 7 zeros ColorMod 0x0 float _tint[4] Color::R/G/B/A getters read +0x0..+0xc ColorMod 0x10 float _colorize[4] Color::SetColorize 00682fb0 writes +0x10..+0x1c ColorMod 0x20 float _offset[3] Color::RO/GO/BO getters read +0x20..+0x28 Entity 0x1e4 ColorMod _splatColor Lua getter Entity::SplatColor returns this+0x1e4 # Lua field properties (offset from the game's Lua registration in LuaEngine::RegisterAPI 00866960, type read off each binder's getter/setter) EntityRef 0x0 int _type Lua EntityRef.Type via binder 00875c50: getter 008bb900 pushes dword via FUN_0085bfd0 (signed pushinteger), setter 008bb960 luaL_checkinteger dword EntityRef 0x4 uint32_t _variant Lua EntityRef.Variant via binder 00875dd0: getter 008bb9c0 pushes dword via FUN_0085bff0 (pushinteger, high=0 unsigned), setter 008bb960 dword EntityRef 0x8 int _spawnerType Lua EntityRef.SpawnerType via binder 00875f40: getter 008bba20 lua_pushinteger(*(int*), sign-extended; separate instance from Type, likely an enum), setter dword EntityRef 0xc uint32_t _spawnerVariant Lua EntityRef.SpawnerVariant via binder 00875dd0: getter 008bb9c0 pushes dword via FUN_0085bff0 (pushinteger, high=0 unsigned), setter 008bb960 dword EntityRef 0x10 Vector _position Lua EntityRef.Position via binder 008760c0: getter 008bba80 copies 8 bytes into UserdataValue EntityRef 0x24 Entity* _entity Lua EntityRef.Entity via binder 008763b0: getter 008bbbc0 UserdataPtr with Entity class key c8297a (nil if 0), setter stores pointer BitSet128 0x0 uint64_t _l Lua BitSet128.l via binder 008774f0: getter 008bc3c0 pushes two dwords via FUN_0085c030 (64-bit pushinteger), setter stores 64-bit checkinteger BitSet128 0x8 uint64_t _h Lua BitSet128.h via binder 008774f0: getter 008bc3c0 pushes two dwords via FUN_0085c030 (64-bit pushinteger), setter stores 64-bit checkinteger ItemConfig_Item 0xc8 int _initCharge Lua Item.InitCharge via binder 00878d70: getter 008bccf0 FUN_0085bfd0 signed dword (same binder as MaxCharges) TemporaryEffect 0x0 ItemConfig_Item* _item Lua TemporaryEffect.Item via binder 0087bf10: getter 008bdc50 UserdataPtr with Item class (const) key c829a6, nil if 0 PosVel 0x0 Vector _position Lua PosVel.Position via binder 0087d130: getter 008bde40 copies 8 bytes into UserdataValue PosVel 0x8 Vector _velocity Lua PosVel.Velocity via binder 0087d130: getter 008bde40 copies 8 bytes into UserdataValue Entity 0x36c float _friction Lua Entity.Friction via binder 0087d5d0: getter 008be110 FUN_0085c050 (lua_pushnumber), setter 008be170 luaL_checknumber -> *(float*) Entity_Tear 0x478 Entity* _stickTarget Lua EntityTear.StickTarget via binder 00880880: getter 008be4b0 UserdataPtr Entity key c8297a, setter stores pointer Entity_Tear 0x47c Vector _stickDiff Lua EntityTear.StickDiff via binder 00880710: getter 008be370 UserdataValue 8-byte copy Entity_Tear 0x484 int _stickTimer Lua EntityTear.StickTimer via binder 008805a0: getter 008be2b0 FUN_0085bfd0 signed dword, setter checkinteger dword Entity_Tear 0x7e8 bool _canTriggerStreakEnd Lua EntityTear.CanTriggerStreakEnd via binder 00880a00: getter 008be5e0 lua_pushboolean(byte), setter 008be640 lua_toboolean -> bool Entity_Tear 0x7f4 Vector _parentOffset Lua EntityTear.ParentOffset via binder 00880710: getter 008be370 UserdataValue 8-byte copy Entity_Player 0x1488 BitSet128 _tearFlags Lua EntityPlayer.TearFlags via binder 00883ab0: getter 008be780 UserdataValue 16-byte copy Entity_Player 0x1498 ColorMod _tearColor Lua EntityPlayer.TearColor via binder 00883c30: getter 008be8a0 -> 008ab7d0 UserdataValue, setter 008be900 copies 0x2c bytes Entity_Player 0x17c4 QueueItemData _queuedItem Lua EntityPlayer.QueuedItem via binder 008840c0: getter 008bebc0 UserdataValue 0x14-byte copy Entity_Player 0x1884 int _itemHoldCooldown Lua EntityPlayer.ItemHoldCooldown via binder 00884240: getter 008becf0 FUN_0085bfd0 signed dword, setter checkinteger dword Entity_Player 0x209c int _samsonBerserkCharge Lua EntityPlayer.SamsonBerserkCharge via binder 00884240: getter 008becf0 FUN_0085bfd0 signed dword, setter checkinteger dword Entity_Player 0x20a0 float _ibsCharge Lua EntityPlayer.IBSCharge via binder 00883940: getter 008be6b0 FUN_0085c050 pushnumber, setter checknumber -> float Entity_Pickup 0x584 uint32_t _state Lua EntityPickup.State via binder 00884ea0: getter 008bedb0 dword via FUN_0085bff0 (unsigned pushinteger), setter dword Entity_Effect 0x410 float _height Lua EntityEffect.m_Height via binder 00885330: getter 008bee70 pushnumber, setter 008beed0 checknumber -> float Entity_Effect 0x454 float _minRadius Lua EntityEffect.MinRadius via binder 00885330: getter 008bee70 pushnumber, setter 008beed0 checknumber -> float Entity_Effect 0x458 float _maxRadius Lua EntityEffect.MaxRadius via binder 00885330: getter 008bee70 pushnumber, setter 008beed0 checknumber -> float Entity_Effect 0x464 bool _isFollowing Lua EntityEffect.IsFollowing via binder 00885610: getter 008bf000 pushboolean(byte), setter toboolean -> bool Entity_Effect 0x468 Vector _parentOffset Lua EntityEffect.ParentOffset via binder 00885790: getter 008bf0d0 UserdataValue 8-byte copy Entity_Effect 0x470 int _damageSource Lua EntityEffect.DamageSource via binder 008854a0: getter 008bef40 FUN_0085bfd0 signed dword, setter dword Entity_Familiar 0xd4c int _fireCooldown Lua EntityFamiliar.FireCooldown via binder 00885f80: getter 008bf210 FUN_0085bfd0 signed dword, setter dword Entity_Familiar 0xd50 int _headFrameDelay Lua EntityFamiliar.HeadFrameDelay via binder 00885f80: getter 008bf210 FUN_0085bfd0 signed dword, setter dword Entity_Familiar 0xd54 int _moveDirection Lua EntityFamiliar.MoveDirection via binder 00885f80: getter 008bf210 FUN_0085bfd0 signed dword, setter dword Entity_Familiar 0xd58 int _shootDirection Lua EntityFamiliar.ShootDirection via binder 00885f80: getter 008bf210 FUN_0085bfd0 signed dword, setter dword Entity_Familiar 0xd5c int _lastDirection Lua EntityFamiliar.LastDirection via binder 00885f80: getter 008bf210 FUN_0085bfd0 signed dword, setter dword Entity_Familiar 0xd60 float _orbitAngleOffset Lua EntityFamiliar.OrbitAngleOffset via binder 008860f0: getter 008bf2d0 pushnumber, setter checknumber -> float Entity_Familiar 0xd64 Vector _orbitDistance Lua EntityFamiliar.OrbitDistance via binder 00886260: getter 008bf3a0 UserdataValue 8-byte copy Entity_Familiar 0xd6c float _orbitSpeed Lua EntityFamiliar.OrbitSpeed via binder 008860f0: getter 008bf2d0 pushnumber, setter checknumber -> float Entity_Familiar 0xd70 int _orbitLayer Lua EntityFamiliar.OrbitLayer via binder 00885f80: getter 008bf210 FUN_0085bfd0 signed dword, setter dword Entity_Familiar 0xd8c int _roomClearCount Lua EntityFamiliar.RoomClearCount via binder 00885f80: getter 008bf210 FUN_0085bfd0 signed dword, setter dword Entity_NPC 0xc7c int _groupIdx Lua EntityNPC.GroupIdx via binder 008877e0: getter 008bf5b0 FUN_0085bfd0 signed dword, setter dword Entity_Laser 0x410 Vector _parentOffset Lua EntityLaser.ParentOffset via binder 00888a70: getter 008bfac0 UserdataValue 8-byte copy Entity_Laser 0x418 float _startAngleDegrees Lua EntityLaser.StartAngleDegrees via binder 00888be0: getter 008bfc00 pushnumber, setter 008bfc60 checknumber -> float Entity_Laser 0x41c float _angleDegrees Lua EntityLaser.AngleDegrees via binder 00888be0: getter 008bfc00 pushnumber, setter 008bfc60 checknumber -> float Entity_Laser 0x420 float _lastAngleDegrees Lua EntityLaser.LastAngleDegrees via binder 00888be0: getter 008bfc00 pushnumber, setter 008bfc60 checknumber -> float Entity_Laser 0x45c bool _isFirstUpdate Lua EntityLaser.FirstUpdate via binder 00889050: getter 008bfeb0 pushboolean(byte), setter toboolean -> bool Entity_Laser 0x460 float _laserLength Lua EntityLaser.LaserLength via binder 00888be0: getter 008bfc00 pushnumber, setter 008bfc60 checknumber -> float Entity_Laser 0x4b8 float _curveStrength Lua EntityLaser.CurveStrength via binder 00888be0: getter 008bfc00 pushnumber, setter 008bfc60 checknumber -> float Entity_Laser 0x4bc float _radius Lua EntityLaser.Radius via binder 00888be0: getter 008bfc00 pushnumber, setter 008bfc60 checknumber -> float Entity_Laser 0x4c0 bool _isActiveRotating Lua EntityLaser.IsActiveRotating via binder 00889050: getter 008bfeb0 pushboolean(byte), setter toboolean -> bool Entity_Laser 0x4c4 uint32_t _rotationDelay Lua EntityLaser.RotationDelay via binder 008894c0: getter 008c0230 dword via FUN_0085bff0 (unsigned pushinteger), setter dword Entity_Laser 0x4c8 float _rotationDegrees Lua EntityLaser.RotationDegrees via binder 00888be0: getter 008bfc00 pushnumber, setter 008bfc60 checknumber -> float Entity_Laser 0x4cc float _rotationSpd Lua EntityLaser.RotationSpd via binder 00888be0: getter 008bfc00 pushnumber, setter 008bfc60 checknumber -> float Entity_Laser 0x4e8 Entity* _bounceLaser Lua EntityLaser.BounceLaser via binder 008897c0: getter 008c03c0 UserdataPtr Entity key c8297a, setter stores pointer Entity_Laser 0x4f4 float _blackHpDropChance Lua EntityLaser.BlackHpDropChance via binder 00888be0: getter 008bfc00 pushnumber, setter 008bfc60 checknumber -> float Entity_Laser 0x516 bool _isGridHit Lua EntityLaser.GridHit via binder 00889050: getter 008bfeb0 pushboolean(byte), setter toboolean -> bool Entity_Knife 0x430 float _scale Lua EntityKnife.Scale via binder 00889f70: getter 008c04f0 pushnumber, setter checknumber -> float Entity_Knife 0x43c float _rotationOffset Lua EntityKnife.RotationOffset via binder 00889f70: getter 008c04f0 pushnumber, setter checknumber -> float Entity_Knife 0x45c float _maxDistance Lua EntityKnife.MaxDistance via binder 00889f70: getter 008c04f0 pushnumber, setter checknumber -> float Entity_Knife 0x460 float _charge Lua EntityKnife.Charge via binder 00889f70: getter 008c04f0 pushnumber, setter checknumber -> float GridEntity_Door 0x15c int _currentRoomType Lua GridEntityDoor.CurrentRoomType via binder 0088bb60: getter 008c09b0 FUN_0085bfd0 signed dword, setter dword GridEntity_Door 0x160 int _targetRoomType Lua GridEntityDoor.TargetRoomType via binder 0088bb60: getter 008c09b0 FUN_0085bfd0 signed dword, setter dword GridEntity_Door 0x390 bool _isExtraVisible Lua GridEntityDoor.ExtraVisible via binder 0088be50: getter 008c0c10 pushboolean(byte), setter toboolean -> bool GridEntity_Door 0x3a4 std_string _openAnimation Lua GridEntityDoor.OpenAnimation via binder 0088c2d0: getter 008c0f40 lua_pushlstring of MSVC std::string (SSO cap>0xf), setter std::string::assign GridEntity_Door 0x3bc std_string _closeAnimation Lua GridEntityDoor.CloseAnimation via binder 0088c2d0: getter 008c0f40 lua_pushlstring of MSVC std::string (SSO cap>0xf), setter std::string::assign GridEntity_Door 0x3d4 std_string _lockedAnimation Lua GridEntityDoor.LockedAnimation via binder 0088c2d0: getter 008c0f40 lua_pushlstring of MSVC std::string (SSO cap>0xf), setter std::string::assign GridEntity_Door 0x3ec std_string _openLockedAnimation Lua GridEntityDoor.OpenLockedAnimation via binder 0088c2d0: getter 008c0f40 lua_pushlstring of MSVC std::string (SSO cap>0xf), setter std::string::assign GridEntity_Poop 0x154 int _reviveTimer Lua GridEntityPoop.ReviveTimer via binder 0088c4c0: getter 008c10c0 FUN_0085bfd0 signed dword, setter dword GridEntity_Poop 0x158 std_string _stateAnimation Lua GridEntityPoop.StateAnimation via binder 0088c640: getter 008c1180 pushlstring of std::string, setter assign GridEntity_Poop 0x170 bool _isUnderPlayer Lua GridEntityPoop.UnderPlayer via binder 0088c7c0: getter 008c1300 pushboolean(byte), setter toboolean -> bool GridEntity_Pit 0x154 bool _hasLadder Lua GridEntityPit.HasLadder via binder 0088ca80: getter 008c13d0 pushboolean(byte), setter toboolean -> bool GridEntity_Rock 0x154 std_string _anim Lua GridEntityRock.Anim via binder 0088ce40: getter 008c14a0 pushlstring of std::string, setter assign GridEntity_Rock 0x16c std_string _rubbleAnim Lua GridEntityRock.RubbleAnim via binder 0088ce40: getter 008c14a0 pushlstring of std::string, setter assign GridEntity_Rock 0x190 int _frameCnt Lua GridEntityRock.FrameCnt via binder 0088cfb0: getter 008c1620 FUN_0085bfd0 signed dword, setter dword GridEntity_TNT 0x154 int _frameCnt Lua GridEntityTNT.FrameCnt via binder 0088d150: getter 008c16e0 FUN_0085bfd0 signed dword, setter dword GridEntity_PressurePlate 0x154 ANM2 _timerPlate Lua GridEntityPressurePlate.TimerPlate via binder 0088d350: getter 008c17a0 UserdataValue copy-constructs ANM2, setter ANM2 copy+SwapANM2 GridEntity_PressurePlate 0x268 char* _nextGreedAnimation Lua GridEntityPressurePlate.NextGreedAnimation via binder 0088d4d0: getter 008c1940 lua_pushstring(ptr) or nil, setter stores luaL_checklstring pointer GridEntity_PressurePlate 0x26c RNG _greedModeRNG Lua GridEntityPressurePlate.GreedModeRNG via binder 0088d650: getter 008c1a50 UserdataValue 16-byte copy GridEntity_Spikes 0x154 int _timeout Lua GridEntitySpikes.Timeout via binder 0088d7f0: getter 008c1b70 FUN_0085bfd0 signed dword, setter dword RoomEntry 0x0 int _type Lua Entry.Type via binder 0088df10: getter 008c1c30 FUN_0085bfd0 signed dword, setter dword RoomEntry 0x4 uint16_t _variant Lua Entry.Variant via binder 0088e090: getter 008c1cf0 MOV DX,word -> FUN_0085c010 (MOVZX), setter stores 16-bit RoomEntry 0x6 uint16_t _subtype Lua Entry.Subtype via binder 0088e090: getter 008c1cf0 MOV DX,word -> FUN_0085c010 (MOVZX), setter stores 16-bit RoomEntry 0x8 float _weight Lua Entry.Weight via binder 0088e200: getter 008c1db0 pushnumber, setter checknumber -> float RoomSpawn 0x0 short _x Lua Spawn.X via binder 0088e450: getter 008c1e80 pushinteger((int)*(short*)) sign-extended, setter stores 16-bit RoomSpawn 0x2 short _y Lua Spawn.Y via binder 0088e450: getter 008c1e80 pushinteger((int)*(short*)) sign-extended, setter stores 16-bit RoomSpawn 0x8 uint8_t _entryCount Lua Spawn.EntryCount via binder 0088e6c0: getter 008c1f40 pushinteger(byte, high 0), setter stores byte RoomSpawn 0xc float _sumWeights Lua Spawn.SumWeights via binder 0088e840: getter 008c2000 pushnumber, setter checknumber -> float Game 0x264fc int _timeCounter Lua Game.TimeCounter via binder 008952b0: getter 008c2850 FUN_0085bfd0 signed dword, setter dword # # Identified from the most-used unnamed offsets in the code (6 subagents, 2026-10-24). "?" = plausible, not certain Entity 0x37c float _mass Lua Entity.Mass getter 00431520 returns float this+0x37c (REPENTOGON/zhl_fields put _mass at 0x2d4: wrong in this exe); ai_umbilical_baby 00431be0 uses 900/(mass+50); Entity::LoadEntityConfig 006a98b0 initialises it from config+0x44 Entity_Player 0x122c PlayerCostumeMap _playerCostumeMap[15] Update 00782af0 walks this+0x1238 (+0xc _isBodyLayer) stride 0x10 for 15 layers; entry 4 index 0x126c: Update/trigger_collectible_effect_removed 00793970 (Mega Mush 625) index*0x130 + _costumeSpriteDescs, -1 = none Entity_Player 0x1398 bool _isPlayingExtraAnimation PlayExtraAnimation 007abe20 (Lua) sets 1; IsExtraAnimationFinished 007ab110 returns !0x1398 && !0x139a; Update 00782af0 clears it when the animation finishes Entity_Player 0x1399 bool _isHurtPending TakeDamage 007729d0 sets 1 at the end; Update 00782af0 clears it once no item anim (0x1398) and rolls Intruder (575) spider burst Entity_Player 0x139a bool _isPlayingItemAnimation PlayExtraAnimation 007abe90 (the anm2-swap variant used by AnimatePickup/Collectible) sets 1 and 0x1398=0; IsExtraAnimationFinished 007ab110 tests it Entity_Player 0x13c4 std_string _name Lua EntityPlayer:GetName 007e9280 returns this+0x13c4 (SSO, cap 0x13d8); RestoreGameState 007ae4b0 assigns EntityConfig_Player::GetDisplayName; AddCollectible logs it Entity_Player 0x14f0 Vector _playerSpriteScale Lua EntityPlayer.SpriteScale getter 0060d0a0 returns this+0x14f0/0x14f4; Update 00782af0 Sprite::SetScale(&this+0x14f0); Store/RestoreGameState save it Entity_Player 0x14f8 Vector _bodyScale ? Render 0078b640 scales layers whose _playerCostumeMap[i]._isBodyLayer is set by this vector (0x1500 for the others); Update 00782af0 assigns it as body layer scale; saved in GameStatePlayer Entity_Player 0x1500 Vector _headScale ? Render 0078b640 scales non-body layers' pos/size by it; Update 00782af0 offsets head layers by (0x1504-0x14fc)*2.5; saved in GameStatePlayer next to 0x14f8 Entity_Player 0x1580 ActiveItemDesc _activeDesc[4] ctor 00753da0 zeroes 4 x 0x20 bytes at 0x1580; GetCollectibleNum 00770ca0 counts ids at 0x1580/0x15a0/0x15c0/0x15e0 (stride 0x20, REPENTOGON 0x1574 x 0x1c) Entity_Player 0x1770 vector_RNG _collectibleRNGs GetCollectibleRNG 005b17c0: id<0 -> begin, bounds (end 0x1774 - begin)>>4, returns begin + id*0x10; UseActiveItem/IncrementPlayerFormCounter use RNG at begin+id*0x10 Entity_Player 0x17dc int _playerForms[16] IncrementPlayerFormCounter 0075e320 writes this+0x17dc+form*4 (as _pocketSlots[form+0xf]); form 15 at 0x1818 recounts Necronomicon/Missing Page 2/trinket Missing Page; level_start 007a4ba0 recharges Necronomicon when it is >2 Entity_Player 0x181c uint32_t _playerFormsRewarded IncrementPlayerFormCounter 0075e320 tests bit (1<0.3); 0 without the item Entity_Player 0x1efc float _jellyBellyBounceTimer TakeDamage 007729d0: Jelly Belly (690) deflect sets 14/20; Update 00782af0 decrements by speedMult and wobbles sprite scale with sin(t*2pi/10) Entity_Player 0x1fc0 EntityPtr _darkEsau NpcAI::ENTITY_DARK_ESAU 005542e0 checks spawner player's +0x1fc0 == npc; DischargeActiveItem 007ac7e0 / release_weapons_and_effects 00757ac0 move/clear it with the EntityPtr multiset erase/insert Entity_Player 0x20dc std_vector_int _greedResetCollectibles ? ResetPlayer 007daed0 re-adds every id of begin 0x20dc..end 0x20e0 via AddCollectible; Game::reset_players_for_greed 007db3b0 copies it (also for the backup player) Entity_Player 0x1544 short _greedsGulletHearts Game::render_debug_player_info 007cfba0 prints "Greed's Gullet: %d (overflow:%d)" from shorts 0x1544/0x1546; update_greeds_gullet 007ce420 compares GetGreedsGulletHearts with it Entity_Player 0x1546 short _greedsGulletOverflow render_debug_player_info 007cfba0 prints it as the overflow; update_greeds_gullet 007ce420 adds it to the heart cap and writes it back History 0xc bool _isLocked Entity_Player::RemoveCollectibleByHistoryIndex 0078fec0 / reroll_collectibles_on_damage 005c88a0 set player+0x1df8 (History 0x1dec +0xc) to 1 around RemoveCollectible and restore it so no history entry is touched History 0x10 Entity_Player* _player Entity_Player ctor 00753da0 writes this into 0x1dfc (History 0x1dec +0x10) Entity_Player 0x530 ANM2 _crownOfLightSprite ctor 00753da0 ANM2 ctor; TriggerNewRoom_TemporaryEffects 007a8350 / UpdateHeartDependentEffects play "FloatGlow"/"FloatNoGlow" on it next to Crown of Light (415) effect add/remove; Update ANM2::Update Entity_Player 0x644 ANM2 _darkPrincesCrownSprite ctor 00753da0 ANM2 ctor; TriggerNewRoom_TemporaryEffects 007a8350 / UpdateHeartDependentEffects play "FloatGlow" on it with Dark Prince's Crown (442) effect; Update ANM2::Update Entity_Player 0x758 ANM2 _chargeBarSprites[7] ctor 00753da0 _eh_vector_constructor_iterator_(0x758, 0x114, 7, ANM2 ctor); FUN_0075ea40 sets bar percent on 0x758 (weapon charge / Bag of Crafting), 0xcbc, 0xdd0 (Sumptorium); Update updates all 7 Entity_Player 0x13dc Weapon* _weapons[5] release_weapons_and_effects 00757ac0 destroys 0x13e0..0x13ec (vtable+0x14 then deleting dtor) and 0x13dc; FUN_0075ea40 reads charge via vtable+0x1c of 0x13e0..; FUN_0042bca0 creates 0x13e0 (REPENTOGON 0x13d8) Entity_Player 0x1548 short _greedsGulletRedHearts ? update_greeds_gullet 007ce420: when GetGreedsGulletHearts grew past it, adds red hearts and stores the new value here Entity_Player 0x154a bool _isUpdatingGreedsGullet update_greeds_gullet 007ce420 returns if set, sets 1 on both twins, clears at the end; AddSoulHearts 00758d00 skips its extra handling while set Entity_Player 0x205c int _curseMistRedHearts AddCurseMistEffect stores _redHearts here for Keeper (type 14) before AddMaxHearts(0); RemoveCurseMistEffect restores _redHearts from it Entity_Player 0x2060 int _curseMistPocketSlots[8] AddCurseMistEffect copies _pocketSlots[0..7] here and clears them; RemoveCurseMistEffect copies back; MorphToCoopGhost moves it into 0x20ac Entity_Player 0x2080 uint32_t _curseMistTrinkets[2] AddCurseMistEffect saves _trinketsID[0..1] here; RemoveCurseMistEffect restores them; MorphToCoopGhost moves and zeroes it Entity_Player 0x2088 Vector _minecartOffset AttachMinecart stores pos - minecart._targetPosition here (x 0x2088, y 0x208c); ctor zeroes both Entity_Player 0x20ac int _ghostPocketSlots[8] MorphToCoopGhost copies _pocketSlots[0..7] (or the Curse Mist backup 0x2060) here; RevivePlayerGhost restores _pocketSlots from it; Store/RestoreGameState Entity_Player 0x20cc uint32_t _ghostTrinkets[2] MorphToCoopGhost stores the trinkets here; RevivePlayerGhost restores _trinketsID[0..1] from 0x20cc/0x20d0 Entity_Player 0x1380 short _tonsilCounter TakeDamage 007729d0 with Tonsil (trinket 97) decrements it and at <1 spawns a tonsil; FUN_007d9ca0 rerolls it to 6 + rand%7 from the trinket RNG; Store/RestoreGameState save it as short Entity_Player 0x1382 short _tonsilCount TakeDamage 007729d0: ++ (cache 0x200 familiars) while < multiplier+1, then TryRemoveTrinket(97 Tonsil) Entity_Player 0x1390 int _threeDollarBillItem HasCollectible 007706e0 / GetCollectibleNum 00770ca0: with 3 Dollar Bill (191) the id stored here counts as owned Entity_Player 0x13b6 bool _isBrokenRemotePending ControlActiveItem sets it when slot 0 is used with Broken Remote (trinket 4); Update 00782af0 then uses Teleport (44) or Teleport 2.0 (419) and clears it with 0x13b8 Entity_Player 0x13b8 int _cursedPennyPending ? Update 00782af0 rolls Cursed Penny (trinket 172) teleports with GetTrinketMultiplier when it is non-zero (1 = rand 100 ...), cleared next to 0x13b6; set by Entity_Pickup::HandleCollision 006e8ae0 Entity_Player 0x1620 int _glowingHourglassIndex ? ctor 00753da0 inits -1; UseActiveItem 005b39d0 / UseCard index GlowingHourglassState (+0x19d80 + it*0x5dc) with it when >= 0 Entity_Player 0x167c EntityRef _lastDamageSource Lua EntityPlayer:GetLastDamageSource 0085e270 returns this+0x167c; try_trigger_astral_projection checks its _type == 6; update_effects zeroes it beside _lastDamageFlags (0x16a8) Entity_Player 0x173c std_vector_int _levelEffectItems ? TriggerNewRoom_TemporaryEffects 007a8350 re-adds every id (negative = ~index into the level's list) as a temporary effect each room; level_start 007a4ba0 clears the vector Entity_Player 0x177c vector_RNG _trinketRNGs ctor 00753da0 zeroes begin/end/cap 0x177c..0x1784 after _collectibleRNGs; FUN_007d9ca0 uses *(0x177c)+0x610 (= trinket 97 * 0x10) for Tonsil; ControlActiveItem uses +0x950 (trinket 149) Entity_Player 0x1890 short _brittleBonesUpgrades TakeDamage 007729d0: ++ (by broken bone hearts) with Brittle Bones (549), sets cache 2; EvaluateItems 00763570 adds it*0.4 to the tears formula Entity_Player 0x18c0 int _coopBabyBuffTimers[8] update_baby_skin_effects: co-op babies set 150-frame buffs for every player: 0x18c0 damage (cache 1), 0x18c4 fire delay (2), 0x18c8 speed (0x10), 0x18cc shot speed/range (0xc), 0x18d0 luck (0x400), 0x18d4 shrink / 0x18d8 grow (0x800), 0x18dc trinket multiplier; Update counts each down; EvaluateItems reads them Entity_Player 0x1ae4 float _bodyAngle update_body_animations 00779b40 LerpAngleDeg's it toward atan2 of the movement; GetBodyMoveDirection 00779900 / update_shooting fire Montezuma's Revenge (680) laser at it+180 Entity_Player 0x1ae8 int _flashCountdown ? Update 00782af0: while >0 (or Azazel's Rage 699 effect count == 4) tints the player with a sin flash, decremented each frame Entity_Player 0x1ddc std_vector_int _pendingWisps TriggerRoomClear 007a8fd0 calls AddWisp(id) for every id of begin 0x1ddc..end 0x1de0, then empties it; ctor zeroes the 3 dwords Entity_Player 0x1ee4 Entity* _montezumaLaser GetBodyMoveDirection 00779900: with Montezuma's Revenge (680) uses its angle (+0x41c)+180 when it is non-null and _type == 7 (laser) Entity_Player 0x1f18 deque_EchoChamberItem _echoChamberItems TriggerEchoChamber: with Echo Chamber (700) replays every queued (id, type) pair (type 1 card -> UseCard, 0 pill -> UsePill), push_back the new one, keeps at most 3 (size 0x1f28, off 0x1f24); ctor builds the deque proxy Entity_Player 0x1f58 char _poopSpellQueue[6] update_bomb_input 00780f40 UsePoopSpell(0x1f58) then shifts 0x1f59..0x1f5d down; UseActiveItem does the same (REPENTOGON 0x1f34, shift +0x24) Entity_Player 0x1f88 float _forgottenBHeight Update 00782af0: for Tainted Forgotten (type 35) += 0x1f8c each frame, clamped at 0 with a -0.45 bounce, added to the render y; PlayerManager::replace_player copies it with 0x1f8c and 0x1e70 Entity_Player 0x1f8c float _forgottenBHeightVelocity Update 00782af0: Tainted Forgotten (type 35) vertical speed, +0.6 per frame, *-0.45 on landing when >=2, reduced by 0x1f88*0.2 while falling Entity_Player 0x1fd4 std_vector_uint8 _extraCollectibleCounts ? GetCollectibleNum 00770ca0 adds byte begin[id] (bounds end 0x1fd8 - begin) to the count; is_achievement_79_unlocked 007db860 reads byte [0x8f] Entity_Player 0x1eec uint8_t _holyMantleStacks ? TriggerNewRoom_TemporaryEffects 007a8350 re-adds the Holy Mantle (313, item config +0x4e4) effect (it >> 4) times each new room; FUN_007dafb0 subtracts the low nibble, FUN_007daff0/FUN_007db0a0 rewrite it; saved in GameStatePlayer Entity 0x1a4 Vector _renderPosition Entity::Render 006b10f0 stores the floored screen position (pos+posOffset world->screen + offset arg) at 0x1a4/0x1a8 and passes &this+0x1a4 to ANM2::Render; ctor zeroes it; Entity_Player::Render 0078b640 does the same Entity_Player 0x17d8 bool _isHeldItemVisible Update 00782af0 stores IsHeldItemVisible() here each frame and tests it later in the same update Entity_Player 0x1b1c Vector _moveToTarget Update 00782af0: while != (0,0) moves the player 0.18 of the way toward it (SetPosition); FUN_005cd780 sets it, GridEntity_TrapDoor::Update / RoomTransition::Update aim it at a grid cell (col*40+40, row*40+120); level_start / release_weapons_and_effects zero it Entity_Player 0x1d9c Entity_Familiar* _forgottenBody FUN_007cbef0 (The Soul, type 17) SpawnEx(3, 900 Forgotten body) and keeps it here (Remove via vtable+0x28 first); init_player_type_state / MorphToCoopGhost test it Entity_Player 0x1f08 int _forgottenBodyRoomIdx FUN_007cbef0 / init_player_type_state 007cc200 split it into room idx%169 and dimension idx/169 to find the room the body is in, -99999 = none (level_start resets it) Entity_Player 0x1f0c Vector _forgottenBodyPos FUN_007cbef0 spawns the Forgotten body here when 0x1f08 != -99999; PlayerManager::replace_player copies 0x1f08..0x1f10 and resets the source Entity_Player 0x1fb0 std_map_int_int _roomTemporaryCollectibles ctor builds a tree head at 0x1fb0 (size 0x1fb4); ClearTemporaryEffects 007907a0 walks it and RemoveCollectible(id) count (node+0x14) times, zeroes the counts and erases the tree Entity 0x330 EntityConfig_Entity* _config Entity::LoadEntityConfig 006a98b0 stores the EntityConfig_Entity* here; Entity_Player::Update 00782af0 resets _mass (0x37c) from config+0x44 (mass); NPC AIs spawn_gibs(config+0x60 gibFlags) Entity_Player 0x110c ANM2 _statusEffectSprite ctor 00753da0 ANM2 ctor; Update 00782af0 loads "gfx/StatusEffects.anm2" into it and plays "Charm"...; Render 0078ca00 draws it above the head (-35 * spriteScale.y) PlayerCostumeMap 0x0 int _index ClearCollectibleAnim 007ad5a0: -1 = none, else index into Entity_Player::_costumeSpriteDescs (stride 0x130) PlayerCostumeMap 0xc bool _isBodyLayer Update 00782af0 layer loop over Entity_Player+0x1238 stride 0x10: 0 -> head-style scale/offset (0x1500), else body scale only Entity_Player 0x137e short _deadCatLives GetExtraLives 007bf670 adds it to the 1up/... counts; TriggerDeath 007a1090 decrements it and removes Dead Cat (81) copies above lives*9-8; TriggerCollectibleRemoved 0078ff90 clamps it to 9*GetCollectibleNum(81) Entity_Player 0x1384 short _numLeprosy AddLeprosy 00759b90: ++ while <3, cache 0x200; EvaluateItems CheckFamiliar(0x79 Leprosy, it) Entity_Player 0x138c int _bleedOutHealth TakeDamage 007729d0 sets 600 with Shard of Glass (448) under FLAG_BLEED_OUT self-bleed; Update 00782af0 subtracts GetHitPointsLost, at <1 deals damage and resets 600, tints <150, clears the flag+0 when healed; AddHearts/AddRottenHearts zero it Entity_Player 0x13b4 uint8_t _holyMantleState TakeDamage 007729d0: with Holy Mantle (313) and 0 -> set 1 (shield consumed) else remove null 0x2e; room_exit 007a6680 clears; TriggerNewRoom_TemporaryEffects 007a8350 x = x>1; Restore sets 0/2 Entity_Player 0x1444 EntityPtr _breathOfLifeEffect ? release_weapons_and_effects 00757ac0 removes (vtable +0x28) and unregisters it like the 0x1420..0x144c EntityPtr run; update_effects 00794e50 releases it when the Breath of Life (326) effect is gone; ControlActiveItem drops it on re-trigger Entity_Player 0x165c int _slipperyTimer Update 00782af0: 60 while FLAG_SLIPPERY_PHYSICS (1<<27), else counts down to 0; update_body_animations 00779b40 uses it/60 to blend the slippery movement Entity_Player 0x1660 Vector _lastVelocity update_body_animations 00779b40 copies _velocity into 0x1660/0x1664 each frame; GetTearMovementInheritance 007aaea0 uses it *0.6*2 as the tear inherited velocity Entity_Player 0x1680 int _lastDamageSourceVariant DeathScreen::Show 009997c0 "Killed by (type.%d)"; zeroed with _lastDamageFlags in UseCard 007b2230 and update_effects 00794e50 Entity_Player 0x1684 int _lastDamageSpawnerType DeathScreen::Show 009997c0 "spawned by (%d.%d)" first value Entity_Player 0x1688 int _lastDamageSpawnerVariant DeathScreen::Show 009997c0 "spawned by (%d.%d)" second value Entity_Player 0x16b0 int _roomDamageTaken TakeDamage 007729d0 adds the damage amount; room_exit 007a6680 resets it to 0 (beside _totalDamageTaken 0x16b4) Entity_Player 0x16d4 std_vector_int _pillEffectUses UsePill 007c4180 ++[pillEffect] (twice for horse pills), unlock 0x182 when [43]>4; AddPrettyFly 007abdf0 ++[10 PILLEFFECT_PRETTY_FLY] then cache 0x200; remove_twin merges the counts Entity_Player 0x1788 vector_RNG _pillRNGs UsePill 007c4180 indexes begin+effect*0x10 (bounds (0x178c-0x1788)>>4); StoreGameState saves the seeds Entity_Player 0x1794 vector_RNG _cardRNGs UseCard 007b2230 RNG at cardType*0x10 + begin; StoreGameState saves (0x1798-0x1794)>>4 seeds QueueItemData 0x8 uint8_t _flags Lua QueueItemData.Touched 007538f0 returns byte+8 & 1; GetTrinketMultiplier 007cb6e0 / replace_trinket test bit 2 (golden queued trinket); ClearQueueItem zeroes the byte Entity_Player 0x18a0 int _strengthMaxHearts UseCard 007b2230 Strength (12) ++ per temporary heart container; ClearTemporaryEffects 007907a0 removes that many and zeroes it; trigger_max_hearts_removed takes from it Entity_Player 0x1b10 bool _hasBabyRoomShield ? room_enter 007a6c50 sets 1; TakeDamage 007729d0 for a co-op baby (variant 1) with _babySkin 11 consumes it and ignores the hit Entity_Player 0x1d94 short _damageMultiplierStacks ? FUN_0060d0c0 increments it; EvaluateItems 00763570 damage *= pow(1.5, it) when >0; Update 00782af0 re-evaluates cache 1 when it differs from 0x1d96 and resets it to 0 later Entity_Player 0x1d96 short _lastDamageMultiplierStacks ? Update 00782af0 copies 0x1d94 here after setting cache 1 when they differ History 0x0 vector_HistoryItem _historyItems Entity_Player::RemoveCollectibleByHistoryIndex 0078fec0 / DropCollectible index begin 0x1dec / end 0x1df0 with stride 0x1c Entity_Player 0x1e80 EntityPtr _salvationEffect update_effects 00794e50 spawns it with Salvation (696), removes it (vtable +0x28) without it; Update 00782af0 keeps it on the player and spins its sprite by frame count; release_weapons_and_effects removes it Entity_Player 0x1ecc int _reverseEmpressMaxHearts UseCard 007b2230 Reverse Empress (59, null 0x3e) ++ per temporary heart container; trigger_collectible_effect_removed 00793970 null 0x3e removes that many and zeroes it; trigger_max_hearts_removed takes from it first Entity_Player 0x1ed0 int _reverseChariotMoveCooldown update_body_animations 00779b40 under null effect 63 (added by card 63 Reverse Chariot): moving input gives a velocity lurch and sets 5, counts down; 0 without the effect Entity_Player 0x1ed4 int _reverseSunBoneHearts UseCard 007b2230 Reverse Sun (75) converts red heart containers to bone hearts and stores the count; trigger_collectible_effect_removed null 0x42 converts them back while >0 Entity_Player 0x1ef0 int _ductTapeMode update_body_animations 00779b40: golden Duct Tape (trinket 109, multiplier >=2) drop action cycles 1..3, 0 otherwise; TriggerTrinketAdded 007ad860 sets 1; saved as a byte Entity_Player 0x1f78 int _bagOfCraftingHoldFrames ControlActiveItem 00791a40: with item state 710 and an output, ++ while held, >29 crafts and resets; FUN_0075ea40 renders ((x-5)/25)*100 % charge; UseActiveItem zeroes Entity_Player 0x1fa4 std_vector_uint _itemCards AddItemCard 007d8240 push_back up to min(Starter Deck count+3, 20) entries, spawning the oldest as card 300 when full; pockets_rotate 007a42b0 rotates it; PlayerHUD::Update draws it Entity_Player 0x1fc4 bool _isLevelStartPending level_start 007a4ba0 sets it on the _backupPlayer and clears its own; Update 00782af0 runs level_start(1) once it is set; saved Entity_Player 0x2024 int _grantedCollectibleCountdown ? FUN_007d8740 adds to it capped at 4 with the flags in 0x2028; update_effects 00794e50 counts it down and clears 0x2028 at 0; EvaluateItems gives +1.5 tears/+1 while >0 Entity_Player 0x2028 uint32_t _grantedCollectibleFlags HasCollectible 007706e0 / GetCollectibleNum 00770ca0 report Scorpio 305 (0x10), Fire Mind 257 (8), Ball of Tar 231 (0x20), Sacred Heart 182 (0x40) while the bit is set; set by FUN_007d8740, cleared by update_effects Entity_Player 0x2050 vector_FamiliarData _curseMistFamiliars AddCurseMistEffect 007d8980 pushes 0x34-byte familiar records into begin 0x2050 / end 0x2054 / cap 0x2058; RemoveCurseMistEffect 007d8d20 respawns from it; StoreGameState saves it Entity_Player 0x2098 int _wildCardVarData ControlActiveItem 00791a40 stores the active slot's _varData (pill color) beside _wildCardItem; UseCard 007b2230 Wild Card UsePill(_wildCardItem, it, 0x180); saved Entity_Player 0x418 int _fireBlockCooldown Update 00782af0 counts it down beside _controlsCooldown; update_shooting 0077b020 sets it after a Maw of the Void / Revelation release and blocks firing while >0 EntityDesc 0x0 uint32_t _type Entity_Player::update_shooting 0077b020 Friend Ball capture writes type/variant/subtype into _friendBallEnemy +0/+4/+8 EntityDesc 0x4 uint32_t _variant update_shooting 0077b020 Friend Ball capture (_friendBallEnemy 0x1914) EntityDesc 0x8 uint32_t _subtype update_shooting 0077b020 Friend Ball capture (_friendBallEnemy 0x1918) EntityDesc 0xc int _championId Entity_Player ctor 00753da0 sets _friendBallEnemy+0xc (0x191c) to -1; saved in GameStatePlayer EntityDesc 0x10 float _health update_shooting 0077b020 Friend Ball capture: maxHealth*0.5 (_friendBallEnemy 0x1920) EntityDesc 0x14 float _maxHealth update_shooting 0077b020 Friend Ball capture: baseHP (_friendBallEnemy 0x1924) EntityDesc 0x18 bool _playerControlled Entity_Player ctor 00753da0 zeroes the byte at 0x1928 (_friendBallEnemy+0x18); saved in GameStatePlayer Entity 0x8 vector_DamageEvent _damageEvents damage queued this frame: Entity::TakeDamage 006ace60 pushes {float dmg, pad, uint64 flags @+8, EntityRef @+0x10} (FUN_006b7db0); Entity::Update 006ae820 walks begin 0x8..end 0xc in 0x38-byte steps subtracting dmg from _health, then clears (0xc=0x8) Entity 0x14 float _pendingDamage Entity::TakeDamage 006ace60 adds the damage (in_ECX[5] += dmg); Lua Entity.HasMortalDamage 006ad340 returns _health <= this+0x14; Entity::Update 006ae820 zeroes it Entity 0x18 uint64_t _pendingDamageFlags Entity::TakeDamage 006ace60 ORs DamageFlags lo/hi into 0x18/0x1c; Entity::Update 006ae820 zeroes both; Hornfel_UpdateAI 004b92e0 tests &4 (explosion) Entity 0x160 Vector _shadowOffset Entity::RenderShadowLayer 006b2000 and Entity_Player::Render 0078ca00 add this+0x160/0x164 to _pos before the 0.65 shadow-layer transform; ctor 006a8290 zeroes Entity 0x174 bool _isKillOnTouch ? Entity_NPC::HandleCollision 006cd410 calls Kill (vtable+0x24) when set; Fly AI 00506bd0 damages itself every 4 frames when set; boss AIs (Duke, Widow, Monstro...) set it on spawned flies after clearing FLAG_APPEAR Entity 0x178 vector_Vector _collisionPoints Entity::SetSize 006ac2a0 clears it (0x17c=0x178) and pushes numGridCollisionPoints ellipse points (std::vector::_Emplace_reallocate, cap 0x180); LoadEntityConfig 006a98b0 picks GridCollisionClass from its size Entity 0x18c bool _collidesWithEntity ? EntityList::rebuild_sublists 00419e70 clears it for every entity each frame; ENTITY_WRATH 00475110 / ENTITY_POKY 00521ab0 test !_collidesWithGrid && !this (no setter found in the C) Entity 0x194 Vector _gridCollisionVelocity Entity::CollideWithGrid 006a9c90 copies _velocity (0x360/0x364) into 0x194/0x198 when it hits a wall and sets _collidesWithGrid (0x190)=1 Entity 0x19c Vector _gridCollisionNormal Entity::CollideWithGrid 006a9c90 writes (+-1,0)/(0,+-1) or the summed contact normal to 0x19c/0x1a0 and pushes velocity along it; Brownie/Dingle AIs use pos + normal*200 Entity 0x1b8 ColorMod _color Entity::SetColor 006b2fa0 copies the ColorMod straight into 0x1b8..0x1e0 when duration<1 (else pushes ColorParams into the 0x1ac vector); ctor 006a8290 inits tint 1,1,1,1 rest 0 Entity 0x240 EntityRef _charmSource Entity::AddCharmed 006ad870 copies the source EntityRef (type,variant,..,flags 0x260,entity 0x264) into 0x240..0x264; ctor zeroes it like an EntityRef (ints, zero Vectors at +0x10/+0x18) Entity 0x268 EntityRef _entityRef2 ? ctor 006a8290 inits 0x268..0x28c exactly like the 0x240 EntityRef (4 ints 0, zero Vectors at 0x278/0x280, 2 ints 0); Entity_Player::TakeDamage 007729d0 / Update test its entity (+0x24 = 0x28c) == this. zhl _poisonDamage 0x278/_burnDamage 0x27c sit inside it and look wrong Entity 0x290 EntityRef _entityRef3 ? ctor 006a8290 inits 0x290..0x2b4 like the 0x240 EntityRef (zero Vectors at 0x2a0/0x2a8); zhl _depthOffset 0x2b0 sits inside it (the real DepthOffset is 0x358) Entity 0x2b8 EntityRef _entityRef4 ? ctor 006a8290 inits 0x2b8..0x2dc like the 0x240 EntityRef (zero Vectors at 0x2c8/0x2d0, ctor writes 'this->_mass' = zero-Vector y); zhl _mass 0x2d4 sits inside it (the real Mass is 0x37c) Entity 0x310 EntityPtr _iceFrozenEffect ? Entity::Update 006ae820 Removes (vtable+0x28) the entity in 0x310 once flag bit 51 (ICE_FROZEN, hi 0x80000) is gone; Entity::ClearReferences 006acb60 removes and releases it Entity 0x314 Vector _pausePosition Entity_NPC::Update 006c4b30: while _pauseTimer>0 it latches _pos into 0x314/0x318 (if zero) and pins _pos to it Entity 0x320 float _poisonTickDamage Entity::AddPoison 006ad500 stores max(old, damage); Entity::Update 006ae820 deals it via TakeDamage(this+0x320, 0x8000..) and resets it to 2.0 when poison ends; CopyStatusEffects 006a8a20 copies it Entity 0x324 float _burnTickDamage Entity::AddBurn 006ae280 stores max(old, damage); Entity::Update 006ae820 deals it via TakeDamage and resets it to 2.0 when burn ends; CopyStatusEffects 006a8a20 copies it Entity 0x328 int _spawnFrame Lua Entity.FrameCount 006a9c10 returns game frame - this+0x328 Entity 0x344 Vector _preInterpolatePos Entity::Interpolate 006b0eb0 (and the NPC/Tear/Projectile overrides) saves _pos here before advancing it half a step Entity 0x358 float _renderDepthOffset Lua Entity.DepthOffset 00435d10 returns this+0x358 (zhl _depthOffset at 0x2b0 does not match this exe) Entity 0x368 float _baseFriction Entity::LoadEntityConfig 006a98b0 copies EntityConfig friction (+0x4c) here (1.0 without config); Entity_NPC::Update 006c4b30 restores _friction (0x36c) from it after Appear/regen Entity 0x374 Vector _sizeMulti Lua Entity.SizeMulti 0085dd40 returns 0x374/0x378; Entity::SetSize 006ac2a0 stores the X/Y multipliers there Entity 0x384 float _maxHitPoints Lua Entity.MaxHitPoints 00417360 returns this+0x384 (900); LoadEntityConfig 006a98b0 = baseHP + stage*stageHP; HasFullHealth/AddHealth clamp _health to it Entity 0x38c Vector _prevPosition Entity::PreUpdate 006ae7d0 copies _pos into 0x38c/0x390; Entity::Update 006ae820 uses pos - this+0x38c as the frame's displacement Entity 0x394 Vector _prevVelocity Entity::PreUpdate 006ae7d0 copies _velocity into 0x394/0x398 Entity 0x3a0 float _prevUpdateTime Entity::Update 006ae820 sets 0x3a0 = 0x3a4 then 0x3a4 += _speedMultiplier (unless flag 0x4000); Entity::GetIntervalTicks 006ac760 and the 'GetHitPointsLost' 00435db0 helper return (int)0x3a4-(int)0x3a0 ticks elapsed Entity 0x3a4 float _updateTime Entity::Update 006ae820 adds _speedMultiplier to it each update (time-scaled frame counter); AIs subtract (int)0x3a4-(int)0x3a0 from their cooldowns Entity 0x3cc std_multiset_uint _entityPtrReferrers Entity::ClearReferences 006acb60 walks the tree at 0x3cc (head node new(0x14), size 0x3d0) nulling every EntityPtr* stored in it; EntityPtr assignments go through std::multiset::insert/erase Entity 0x3d8 EntityPtr _hitEffect ? Entity::TakeDamage 006ace60 Removes the old one and stores a freshly spawned effect 1000.160 in in_ECX[0xf6]; ClearReferences 006acb60 releases it Entity 0x3f0 int _holdCountdown Entity_NPC::hold_set 006b5de0 sets max(it, ticks) with the spot in 0x3f4 (Emergency Contact); Entity::Update 006ae820 decrements it; NPC::Update 006c4b30 kills friction and pins velocity while >0 Entity 0x3f4 Vector _holdPosition Entity_NPC::hold_set 006b5de0 writes the spot to 0x3f4/0x3f8; Entity_NPC::Update 006c4b30 assigns it while _holdCountdown>0 NPCAI_Pathfinder 0x0 Entity* _entity PathFinder::Init 007e31a0 stores the owner (called from the NPC/Familiar constructors with this); UpdateGridIndex 007e6ff0 reads owner+0x33c position NPCAI_Pathfinder 0x4 Vector _movementTarget PathFinder::MoveRandomly 007e6300 picks a random destination into +4/+8 and steers toward it; Lua ResetMovementTarget 007e6fa0 and Reset 007e3260 zero it (NPC +0x418) NPCAI_Pathfinder 0xc Vector _moveDirection ? PathFinder::MoveRandomlyBoss accumulates and normalises a direction in +0xc/+0x10 and negates it on grid collision; ResetMovementTarget 007e6fa0 zeroes it (NPC +0x420) NPCAI_Pathfinder 0x20 int _gridIndex Lua PathFinder.UpdateGridIndex 007e6ff0 writes the owner's grid index (or -1) to +0x20, GetGridIndex returns it; Reset sets -1 (NPC +0x434) NPCAI_Pathfinder 0x72c bool _hasDirectPath Lua PathFinder.HasDirectPath returns byte +0x72c; Reset 007e3260 clears it (NPC +0xb40, tested by Gaper-family AIs); same struct as lua_fields 'PathFinder' NPCAI_Pathfinder 0x730 Vector _gridPathTarget PathFinder::FindGridPath stores the target position in +0x730/+0x734 (in_ECX[0x1cc/0x1cd]) and reuses it; Reset zeroes it (NPC +0xb44) NPCAI_Pathfinder 0x738 bool _canCrushRocks Lua PathFinder.SetCanCrushRocks 00499dc0 writes byte +0x738; FindGridPath tests it; Reset clears it (NPC +0xb4c) NPCAI_Pathfinder 0x73c int _evadeMovementCountdown Lua PathFinder.GetEvadeMovementCountdown 00456740 returns +0x73c; EvadeTarget sets 3 / subtracts elapsed ticks (NPC +0xb50); same as lua_fields 'PathFinder' NPCAI_Pathfinder 0x744 float _evadeDistance ? PathFinder::EvadeTarget clamps +0x744 to <=20 and decays it *0.9, picking random moves while >20; Reset zeroes it (NPC +0xb58, Heart AI tests <=20) Entity_NPC 0xb68 int _savedState Entity_NPC::Update 006c4b30 stores _state here and sets _state=1 while FLAG_APPEAR is set, restores _state from it afterwards; Init 006b8b20 zeroes Entity_NPC 0xb70 int _appearFrames Entity_NPC::Update 006c4b30 counts up while _state==1 (appear) and runs the init AI call when it is 0; Init zeroes Entity_NPC 0xb74 int _aiCallPhase Entity_NPC::Update 006c4b30 sets 1 (pre/paused call), 4 (post-update call), HandleCollision 006cd410 sets 3 (collision call) around Entity_NPC_UpdateAI_dispatch, then 0; Beast AIs branch on ==1 Entity_NPC 0xb78 bool _collisionIsLow Entity_NPC::HandleCollision 006cd410 stores its 'low' argument here before the phase-3 AI call Entity_NPC 0xb7c Entity* _collisionEntity Entity_NPC::HandleCollision 006cd410 stores the collider here for the phase-3 AI call; AIs read collider+0x28 type, compare with _parent/_spawnerEntity Entity_NPC 0xb80 int _collisionResult Entity_NPC::HandleCollision 006cd410 sets -1 before the phase-3 AI call; AI writes 0 (ignore collision) or >0 (block); HandleCollision returns accordingly Entity_NPC 0xb84 int _decoyTargetTimer ? Entity_NPC::Update 006c4b30 counts it up while the target is familiar 3.67 (Punching Bag), wraps to -1 past 180, decays toward 0; GetPlayerTarget 006be840 ignores decoys while it is <0 Entity_NPC 0xb88 vector_DamageEvent _killDamageEvents Entity_NPC::Kill 006be6f0 copies Entity +0x8 damage events here (vector::assign_0x38) together with 0xb94/0xb98 before Entity::Kill; Init clears it Entity_NPC 0xb94 float _killDamage Entity_NPC::Kill 006be6f0 copies Entity _pendingDamage (+0x14) here Entity_NPC 0xb98 uint64_t _killDamageFlags Entity_NPC::Kill 006be6f0 copies Entity _pendingDamageFlags (+0x18/+0x1c) here; NpcHelper::ChampionDrop 006bf120 reads it Entity_NPC 0xba8 int _championTimer Entity_NPC::MakeChampion 006d03e0 sets Random%20+40 for colors 10/25; Update 006c4b30 decrements and shoots/respawns at <1; TakeDamage 006d60a0 (color 21) gates on it and sets 60 Entity_NPC 0xbac float _championSpeed Entity_NPC::MakeChampion 006d03e0 sets 1.333 (yellow/rainbow), 0.8 (dark blue/grey), scales it for tiny/giant; Update 006c4b30 friction = 1-(1-this)*(1-friction); Init/Morph reset 1.0 Entity_NPC 0xbe4 uint32_t _deliriumCycleIDHigh NpcAI::ENTITY_DELIRIUM 004a6500 builds a bitfield across _deliriumCycleID (0xbe0)>>25 | (0xbe4&7)<<7 and zeroes 0xbe4 when it rewrites 0xbe0 Entity_NPC 0xbe8 Entity* _deliriumEntity ? NpcAI::ENTITY_DELIRIUM 004a6500 reads it and tests its _dead (+0x173); Init 006b8b20 zeroes it Entity_NPC 0xbec EntityPtr _entityRef Lua EntityNPC.EntityRef 004e4850 returns *(this+0xbec); AIs assign it via multiset insert/erase (EntityPtr), Init zeroes; 45 AIs use it as their linked entity Entity_NPC 0xbf0 deque_EntityPtr _entityDeque Entity_NPC::Constructor 006b8590 builds a std::deque (proxy new(8), 5 dwords 0xbf0..0xc00); Hornfel_UpdateAI 004b92e0 calls std::deque::resize(2) and indexes map 0xbf4/mapsize 0xbf8/off 0xbfc (4 per block) Entity_NPC 0xc04 deque_Vector _vectorDeque1 Entity_NPC::Constructor 006b8590 builds a std::deque (proxy, 0xc04..0xc14); std::deque::assign(&npc+0xc04) in Evis/Chub/Dogma AIs, map 0xc08, off 0xc10 (2 per block) Entity_NPC 0xc18 deque_Vector _vectorDeque2 Entity_NPC::Constructor 006b8590 builds a std::deque (proxy, 0xc18..0xc28); std::deque::assign(&npc+0xc18) (Beast soul 005971e0), Dogma/Wormwood index map 0xc1c/off 0xc24 Entity_NPC 0xc2c Vector _confusionTargetPos Entity_NPC::CalcTargetPosition 006bec40: with FLAG_CONFUSION (0x200) it picks a random clamped spot every 15 frames into 0xc2c/0xc30 and returns it; Init zeroes Entity_NPC 0xc34 float _aiFloat generic AI scratch float: Init 006b8b20 sets 1.0; Lamb/War/Beast/Gemini AIs store speeds/thresholds (e.g. maxHP*0.4) in it Entity_NPC 0xc38 float _scale Lua EntityNPC.Scale 004567a0 returns this+0xc38; MakeChampion 006d03e0 sets the tiny/giant scale; Init/Morph 1.0 Entity_NPC 0xc3c bool _canShutDoors Entity_NPC::CanShutDoors 006b8450 (vtable 18) returns it unless FLAG_FRIENDLY; 00436220 (named Entity::SetVisibleFlag) sets it to arg unless FLAG_FRIENDLY; Update 006c4b30 clears it when unreachable twice or no bosses alive Entity_NPC 0xc3e bool _isUnreachableOnce ? Entity_NPC::Update 006c4b30: first time no player has a path it sets 0xc3e=1, the next time it clears _canShutDoors; Init clears Entity_NPC 0xc44 int _shieldFrames Entity_NPC::champion_init 006bb790 copies EntityConfig shieldFrames (+0xe4); Init 006b8b20 / Delirium / Ultra Greed set 120 Entity_NPC 0xc5c float _totalDamageTaken Entity_NPC::Update 006c4b30 adds max(0, hp before - hp after Entity::Update) each update; Init/Morph zero it Entity_NPC 0xc60 bool _isBestiaryEncountered Entity_NPC::Update 006c4b30 calls PersistentGameData::TryAddBestiaryEncounter(type,variant) once and sets it; Init/Morph clear Entity_NPC 0xc68 int _flickerTimer Entity_NPC::Update 006c4b30 flicker champion (color 9) / type 252 state machine: countdown, reset to 60+Random(30) Entity_NPC 0xc6c int _flickerState Entity_NPC::Update 006c4b30 flicker champion state 0 wait, 1 fade out, 2 fade in, 3 invisible Entity_NPC 0xc70 float _flickerAlpha Entity_NPC::Update 006c4b30 steps it by 0.05 between 0 and 1 and applies it as the sprite alpha; Init 1.0 Entity_NPC 0xc76 short _championRegenCount Entity_NPC::Update 006c4b30 increments it each time the dark red champion (12) regenerates; Clotty/Hive/Mulligan/Hopper AIs scale spawns by it Entity_NPC 0xc80 ColorMod _floorColor ? Entity_NPC::Constructor 006b8590 inits a ColorMod (1,1,1,1, 7 zeros); Update 006c4b30 samples the room render surface into it every 30 frames and Color::Lerp's the sprite toward it (0.1) Entity_NPC 0xcd8 ANM2 _statusEffectSprite Entity_NPC::Update 006c4b30 loads gfx/StatusEffects.anm2 into this+0xcd8 and plays the status animation; Render 006d2e50 draws it; constructor builds the ANM2 (0xd0c/0xd1c/0xde1/0xde8 are inside it) Entity_NPC 0xf0c std_vector_uint _secondaryHitList Entity_NPC::Constructor/ClearReferences 006b8f30 manage a 3-dword vector 0xf0c..0xf14; NpcAI::ENTITY_WHIPPER 004e5170 clears it and binary-searches it for GetHitListIndex of whip-hit entities Entity_NPC 0xf18 uint32_t _aiCallFlags bitmask of extra AI calls: Update 006c4b30 calls the AI with phase 1 if &1, phase 4 if &8; HandleCollision 006cd410 phase 3 if &4; regen champion saves it <<16 and restores from 0xf1a Entity_NPC 0xf30 Vector _forwardVector Entity_NPC::GetForwardVector 006d48a0 (vtable 22) returns it when non-zero (else velocity dir); Gyro/Dust/Knight AIs set it; Init zeroes Entity_NPC 0xf38 EntityPtr _forcedTarget Entity_NPC::TryForceTarget 006b9910 assigns the target (multiset erase/insert); TakeDamage 006d60a0 and many AIs test it Entity_NPC 0xf3c int _forcedTargetTimer Entity_NPC::TryForceTarget 006b9910 stores Duration (refuses when <0); Update 006c4b30 counts it down, bosses get -150 cooldown, releases _forcedTarget at 0 Entity_NPC 0xf44 float _hitPointsMulti Entity_NPC::Morph 006c0f30 sets _maxHitPoints = 0xf44 * new maxHP; ENTITY_CAGE 004878a0 multiplies maxHP/HP of split children by the parent's; Init 1.0 Entity_NPC 0xf48 float _scaleMulti ENTITY_CAGE 004878a0 SetScale(child scale * parent 0xf48) and multiplies it; Init 1.0 Entity_NPC 0xf4c int _lastGridIndex Entity_NPC::Update 006c4b30 (brown champion) compares Room::GetGridIndex(_pos) with it, spawns poop at the old index, stores the new one; Init -1 Entity_NPC 0xb6c int _aiCounter ? generic AI int: Init 006b8b20 zeroes; NpcHelper::moms_heart_attack_pattern 004d33d0 / ENTITY_MOMS_HEART 004d48b0 use it as a phase (==3, =4), Bumbino/Gideon count with it Camera 0x0 uint8_t _aimOffsetBuffer[0x10] ring buffer {Vector* data, int capacity, int count, int head} of 60 aim/focus-entity look-ahead offsets: ctor 009428d0 fills 0x3c, update_focus_position 009439d0 pushes aimDirection*35 (or knife/Epic Fetus focus offset), FUN_00943190 averages it Camera 0x10 uint8_t _velocityOffsetBuffer[0x10] ring buffer (90) of player velocity*4.5 look-ahead: update_focus_position 009439d0 pushes it, averages with FUN_00943190; SnapToPosition 00944d40 refills with zero Camera 0x20 uint8_t _enemyOffsetBuffer[0x10] ring buffer (300) of FUN_00942f20 result (average offset of active enemies type 10..999 from the players' center, room+0x125c entity list); update_focus_position 009439d0 pushes/averages it Camera 0x30 uint8_t _playerSpreadBuffer[0x10] ring buffer (15) of the average (player pos - players center)*0.25 over players: update_focus_position 009439d0 pushes/averages it Camera 0x40 uint8_t _shakeOffsetBuffer[0x10] ring buffer (4) of screen-shake offsets: update_follow 009446e0 / update_focus_position push zero when Game+0x26508 < 1, else a random 10px offset scaled by timer/11, average written to Game._screenShakeOffset (0x2650c) Camera 0x50 uint8_t _focusPositionBuffer[0x10] ring buffer (120) of focus positions: SetFocusPosition 00944d10 pushes when !_shouldOverride; update_follow 009446e0 follows its last entry; ctor fills with -(1,1) sentinels replaced by the target in update_focus_position Camera 0x60 Vector _playersCenter update_focus_position 009439d0 stores players_center_position() here at the end of each update Camera 0x68 Room* _room ctor 009428d0 stores its Room* argument; get_clamp_bounds 009432f0 / ClampedToRoom 00943490 read room bounds (+0x14..+0x20, +0x11fc) through it Camera 0x6c Vector _position camera position: ctor/SnapToPosition 00944d40/update_follow 009446e0 write it (lerp by +0x90) and copy it to Room+0x1204 (_renderScrollOffset); IsPosVisible 00944a40 tests against it Camera 0x74 Vector _screenAnchor ctor 009428d0 sets (1.0*0.5, 1.0*0.5); ClampedToRoom 00943490 / update_focus_position compute pos = screenSize*anchor - ... Camera 0x7c Vector _unk7c ? only zeroed in ctor 009428d0 (pair with +0x84); no reader found in the dump Camera 0x84 Vector _unk84 ? only zeroed in ctor 009428d0; no reader found in the dump Camera 0x90 float _followLerp ctor 009428d0 sets 0.1 (this[1]+3); update_follow 009446e0 moves it +-0.01 within 0.1..0.5 by target distance and lerps _position by it Room 0x24 GridEntity* _gridEntities[0x1c0] Room::SpawnGridEntity 007ebca0 deletes/stores the new GridEntity at this+0x24+idx*4; CheckLine 007f0df0 bounds idx <= 0x1bf (REPENTOGON says [0x1BF]; 0x24+0x700 = 0x724 = _doors) Room 0x724 GridEntity_Door* _doors[8] Room::GetDoor 00436020 returns this+0x724+slot*4 (slot -1..7); TrySpawnDevilRoomDoor 007f83b0 / MakeDoor 007eea90 use it Room 0x744 int _doorGridPositions[8] Camera::constructor 009428d0 converts room+0x744+enterDoor*4 to a position with gridWidth (x%w*40+40, x/w*40+120); Room::UpdateRedKey 008271e0 spawns outlines at the same index Room 0x76c int _gridPaths[0x1c0] Lua Room:GetGridPath 004565c0 / SetGridPath 0042a290 read/write this+0x76c+idx*4 for idx < 0x1c0; SetGridPath 004565e0 only overwrites values < 951 Room 0x1210 uint32_t _brokenWatchState Room::GetBrokenWatchState 0081edd0 returns it (2 in challenge 0x16); SetBrokenWatchState 0081edf0 writes it then calls time_scale_update 007ea2d0 Room 0x6e40 ANM2 _lightSprite ctor 007e9400 ANM2::constructor; lighting helper 00806c20 (called by Room::render_lighting 0080ea80, ZHL-misnamed Game::Render) plays Light/flame/sparks and sets its _scale (+0x9c = 0x6edc/0x6ee0) per light source; render_player_light 0080bd20 / render_grid_entity_light 0080c810 render it Room 0x706c int _shopRestockTimer Room::TriggerRestock 00815800 sets 30; Room::Update 00802980 counts it down and calls ShopRestockPartial at 0 (then -1); on_leave 007efa50 flushes it the same way Room 0x7234 uint8_t _pendingGridRemovals[0x8] std::set (ctor 007e9400 head node 0x14 bytes); Room::Update 00802980 destroys the grid entity at every index in it, then clears it; filled by Room::Init 007f2800 Room 0x7308 uint8_t _litGridIndices[0x8] ? std::set (ctor 007e9400 head node); Room::render_lighting 0080ea80 clears it each frame, lighting helper 00806c20 looks entities' grid index up in it before drawing their light Room 0x7328 uint8_t _outputGroupGridIndices[0x50] std::set[10] (ctor 007e9400 vector ctor 8 x 10); Room::TriggerOutput 00823080 calls GridEntity::trigger_output on every grid index in set[group] Room 0x7378 uint8_t _outputGroupCallbacks[0x78] std::vector[10] (ctor 007e9400 vector ctor 0xc x 10); Room::TriggerOutput 00823080 calls each function in vector[group] Room 0x7744 EntityPtr _redDoorOutlines[8] ctor 007e9400 builds 8 EntityPtr (ctor 0042a020 / dtor 00579700 multiset erase); Room::UpdateRedKey 008271e0 spawns effect 1000.154 per free door slot and stores it with multiset insert, clears them without Red Key Level 0xc uint32_t _curses Level::generate_dungeon 00740e10 ORs this+0xc with Game+0x26550 and Seeds::GetForcedCurses (Game._curses at the same offset; Level*==Game*) Level 0x14 RoomDescriptor _roomList[0x20f] Level::GetRoomByIdx 00740bc0 returns this+0x14+n*0xb8 for n = roomMap[...] < 0x20f; QueryRoomTypeIndex 007484c0 reads ->Data (+0x10 = 0x24), +0xc (0x20), +0xb4 (0xc8) per 0xb8 stride Level 0x17adc int _roomMap[0x1fb] Level::GetRoomByIdx 00740bc0 reads this+0x17adc+(dimension*0xa9+idx)*4 as the _roomList index (3 dimensions x 169) Level 0x182c8 int* _currentRoomMap Level::ChangeRoom 0073fc80 / Init 00744940 set it to &_roomMap[dimension*0xa9] (this+0x17adc+dim*0x2a4) Level 0x182d4 RNG _generationRNG Level::generate_dungeon 00740e10 / Init 00744940 seed+step the RNG at 0x182d4..0x182e0 (Game._generationRNG) Level 0x18300 Room* _room Level::ChangeRoom 0073fc80 / RestoreGameState 007475b0 use it as the current Room (Game._room, Level::GetCurrentRoom 00407480) Level 0x1830c int _currentDimensionIdx Level::GetRoomByIdx 00740bc0 uses it as default dimension; ChangeRoom 0073fc80 sets it with _currentRoomMap (Game._currentDimensionIdx) Level 0x18310 int _lastRoomDimensionIdx Level::ChangeRoom 0073fc80 / Init 00744940 write it (Game._lastRoomDimensionIdx) Level 0x18378 uint8_t _ventricleRazorPortals[0x18] 2 x {int roomIdx, int gridIdx, bool}: FUN_0074a280 ("PortalIdx is bigger than 2!") stores _currentRoomIndex/arg/flag at this+0x18378+i*0xc, called from UseActiveItem case 0x18c (Ventricle Razor); Init 00744940 / ChangeRoom (Beast room) reset roomIdx to -99999 Game 0x14 RoomDescriptor _roomList[0x20f] Level*==Game*: Level::GetRoomByIdx 00740bc0 returns this+0x14+n*0xb8, n < 0x20f Game 0x17adc int _roomMap[0x1fb] Level*==Game*: Level::GetRoomByIdx 00740bc0 indexes this+0x17adc+(dimension*0xa9+idx)*4 Game 0x182c8 int* _currentRoomMap Level*==Game*: Level::ChangeRoom 0073fc80 sets it to this+0x17adc+dimension*0x2a4 Game 0x18378 uint8_t _ventricleRazorPortals[0x18] Level*==Game*: FUN_0074a280 writes 2 x 0xc portal records (Ventricle Razor, UseActiveItem case 0x18c) Game 0x264f4 int _freezeFrames Game::Update 006fadc0 decrements it while >0 and returns right after HUD::PostUpdate (no game update); Game::IsPaused 006fd350 returns 1 while >0; reset_run_state 006f43b0 zeroes it Game 0x26508 int _screenShakeTimer Lua Game:ShakeScreen 00703670 writes the timeout; Game::Update 006fadc0 counts down, zeroes _screenShakeOffset at 0; Camera::update_follow 009446e0 scales shake by timer/11 Game 0x26514 int _darknessTimeout Lua Game:Darken 00440ee0 writes param 2; Game::Update 006fadc0: while >0 decrement and raise +0x26518 by 1/21, else lower it by 1/30 Game 0x26518 float _darknessModifier Game::GetDarknessModifier 00440610 returns it; Game::Update 006fadc0 ramps it 0..1 by _darknessTimeout; renderer uses 1 - _darknessStrength*it*0.96 Game 0x2651c float _darknessStrength Lua Game:Darken 00440ee0 writes param 1; multiplied with _darknessModifier in Room::render_darkness_overlay 00825de0 Game 0x26520 uint8_t _giantBookClickerImage[0x8] image handle (+0 ptr, +4 owner): Game::Render 006fbc10 loads gfx/ui/giantbook/GiantBook_Clicker.png into it when null; ~Game 006f3060 releases it Game 0x26528 int _bloomTimer Game::SetBloom 00703830 sets it = Time; Game::Update 006fadc0 counts it down; Game::Render 006fbc10 bloom pass while >0, intensity sin(1-|t-dur/2|/(dur/2)) Game 0x2652c int _bloomDuration Game::SetBloom 00703830 sets it = Time; Game::Render 006fbc10 uses it as the total for the bloom curve Game 0x26530 float _bloomStrength Game::SetBloom 00703830 stores the XMM2 Strength; Game::Render 006fbc10 multiplies the bloom curve by it Game 0x26538 int _hallucinationTimer Lua Game:ShowHallucination 007059f0 sets it; HasHallucination 004a5d00 returns >0; Game::Update 006fadc0 counts it down; Game::Render 006fbc10 draws the effect while >0 Game 0x2653c int _hallucinationDuration ShowHallucination 007059f0 sets it with the timer; Game::Render 006fbc10 fades by (timer - duration + 20) Game 0x26540 bool _isRoomSnapshotTaken ? Game::Render 006fbc10 renders into render target DAT_00c797a4 30 frames after room entry (or 1 in 3 by room seed when already set) and sets it to 1; ResetState 006f4520 clears it Game 0x2658c KColor _fadeInColor Lua Game:Fadein 006f5210 copies a KColor (5 dwords 0x2658c..0x2659c), alpha +0xc (0x26598) set 1.0; Game::Update 006fadc0 lowers alpha by _fadeSpeed; Render 006fbc10 draws the quad while alpha > 0 Game 0x265a0 bool _isFadeInIconShown ? Fadein 006f5210 param 2 / FUN_00707ad0 sets 1; Game::Render 006fbc10 calls FUN_009522b0 (frame%16 animated icon) during the fade-in Game 0x265a4 KColor _fadeOutColor Lua Game:Fadeout 006f5290 copies the KColor to 0x265a4..0x265b4 and adds speed to its alpha (0x265b0); Game::Update 006fadc0 raises alpha to 1 then acts on _fadeOutTarget Game 0x265b8 float _fadeSpeed Fadein 006f5210 / Fadeout 006f5290 store the speed; Game::Update 006fadc0 steps the fade alphas by it Game 0x265bc int _fadeOutTarget Game::Fadeout 006f5290 stores the target (<= 0xb, "Invalid target specified to Game::Fadeout()"); Game::Update 006fadc0 switches on it when the fade completes Game 0x265c0 int _framesSinceRoomTransition Game::Update 006fadc0 increments it each normal frame and zeroes it while a RoomTransition is active; FUN_00708350 returns true while < 8; ResetState/ctor zero it Game 0x269d4 uint8_t _encounteredBosses[0xc] std::vector<{int type, int variant}>: Lua Game:AddEncounteredBoss 00703470 pushes (8-byte stride 0x269d4/d8/dc), HasEncounteredBoss 00703510 / GetNumEncounteredBosses 0085e370 scan it Game 0x269e0 int _pixelationTimer Lua Game:AddPixelation 00753cc0 sets it to max(cur, arg); Game::Update 006fadc0 counts it down; Room::Render 0080f200 pixelation while >0 Game 0x269e4 int _pixelationDuration ? AddPixelation 00753cc0 writes the same max value; read by Room::Render 0080f200 as the total Game 0x269e8 bool _isInstantFadeIn Console::RunCommand (restart branch, FUN_00685ee0) sets 1 after Manager::RestartGame; Fadein 006f5210 / FUN_00707ad0 then start alpha at 1e-5 instead of 1.0; Game::Update 006fadc0 clears it when the fade ends Entity_Knife 0x438 float _rotation Lua EntityKnife.Rotation getter 004d7790 returns this+0x438; Update 00961b00 sets sprite rotation = +0x438 - 90 Entity_Knife 0x440 float _displayRotation Entity_Knife::Update 00961b00 LerpAngleDeg's it toward _rotation+_rotationOffset (+0x438 + +0x43c) and places the knife at parent pos + sin/cos(+0x440); SetAttackAnimation 009680d0 / SpinAttack 00968430 snap it to +0x438 Entity_Knife 0x434 float _knifeDepthOffset Entity_Knife::GetRenderZ 009665e0 returns floor((+0x434 + pos.y)*100 + 10030); Update writes it from the swing direction, Shoot 00966ef0 zeroes it Entity_Knife 0x44c Vector _anchorPosition Entity_Knife::Update 00961b00 lerps it toward the parent pos by 1 - charge*dist*0.8 (set to parent pos when zero); SetAttackAnimation 009680d0 sets it to parent+0x33c; update_target 00967650 uses it as the throw origin Entity_Knife 0x454 Vector _initPosition ? only written: Entity_Knife::Init 00960c10 copies pos into +0x454/+0x458 (ctor zeroes it); no reader in the dump Entity_Knife 0x468 HomingLaser _homingLaser ctor 00960a70 runs the HomingLaser init 0099c290 there; InitHomingPath 00961320 resets _samples (+0x484/+0x490), _unkVec (+0x49c), _bezier (+0x4b0), sets _origin +0x46c=pos, _endPoint +0x474, _sampleNum +0x480=30, then HomingLaser::build_bezier_path; Update walks the 0x18-byte bezier entries at +0x4b0; Free tidies +0x4b0 Entity_Knife 0x4bc int _pathSegment Entity_Knife::Update 00961b00 searches bezier segments of _homingLaser from index +0x4bc (bezier_closest_point) and stores the chosen segment back; InitHomingPath 00961320 / Init reset it to 0 Entity_Knife 0x4c0 float _pathProgress Entity_Knife::Update 00961b00 stores the closest bezier t (must not go backwards within the current segment) and evaluates the cubic at t and t+_pathFollowSpeed; InitHomingPath / Init set -100.0 Entity_Knife 0x4cc float _height Entity_Knife::Update 00961b00: +0x4cc += +0x4d0 each frame, clamped to 0 on landing, posOffset.y = +0x4cc + +0x4d4; Shoot 00966ef0 resets it to 0 for the hop Entity_Knife 0x4d0 float _fallingSpeed Entity_Knife::Update 00961b00 adds 1.5 per frame (gravity) and adds it to +0x4cc; Shoot 00966ef0 sets -10.0 (jump) when the tear-flag mask 0xc345e0 is set Entity_Knife 0x4d4 float _basePosOffsetY Entity_Knife::Update 00961b00 saves posOffset.y into +0x4d4 and later sets posOffset.y = _height(+0x4cc) + +0x4d4; copied from the parent knife with +0x4cc/+0x4d0 Entity_Knife 0x4d8 std_vector_uint _hitList Entity_Knife::GetHitEntities 009612e0 returns this+0x4d8 (of the root knife); Shoot/SetAttackAnimation/SpinAttack clear it (end=begin +0x4dc); ctor zeroes +0x4d8..+0x4e0, Free tidies it Entity_Knife 0x4e7 bool _isUsingParentHitList Entity_Knife::GetHitEntities 009612e0 walks to the parent knife (+0x3bc, type 8) while this+0x4e7 is set; apply_hit_effects 0096ae70 sets it on the knives it spawns; Init clears it Entity 0x175 bool _isInterpolating Entity::Interpolate 006b0eb0 (and Knife/Tear/NPC/Projectile Interpolate) set +0x175=1 before re-running Update; Manager::Update 00954cd0 clears it; Entity_Knife::Update / Entity_Laser::UpdateHits skip hit logic while set; Entity::Init 006a93a0 clears it Entity_Tear 0x46a bool _isFireSoundPending Entity_Tear::Init 006660a0 sets it to 1; Entity_Tear::Update 006670f0 calls play_fire_sound() once and clears it Entity_Tear 0x46c short _popBounceCount Entity_Tear::Update 006670f0 increments it on both tears on a tear-tear bounce, HandleCollision 00673660 increments it when TEAR_POP (bit 58, mask 0xc345b0) is set; Update keeps bouncing only while < 9; Init zeroes it Entity_Tear 0x470 int _hitCount Entity_Tear::HandleCollision 00673660 tests ==0 for first-hit effects then increments it on every enemy hit; Init zeroes it Entity_Tear 0x474 uint32_t _deathFlags Entity_Tear::Update 006670f0 ORs a reason into it whenever it sets _dead (+0x173): 1 grid hit, 2 grid collision type 4, 4 hit the floor, 0x10 damage depleted, 0x20, 0x40 timeout/forced die; tests ==4 for the hydro-bounce revive; Init zeroes it Entity_Tear 0x488 EntityPtr _techZeroLaser Entity_Tear::Update 006670f0 (TEAR_LASER bit 57, mask 0xc345a0): Entity_Laser::ShootAngle result stored here, repositioned between the tears, Remove()d (vtable+0x28) when the linked tear dies or >350 apart; ClearReferences 006666c0 removes it Entity_Tear 0x48c EntityPtr _techZeroTarget Entity_Tear::Update 006670f0 (TEAR_LASER bit 57): nearest other tear (QueryRadius, type 2) whose +0x48c is not this; laser +0x488 spans to it; Interpolate 00679400 reads it; ClearReferences 006666c0 resets it Entity_Tear 0x490 EntityPtr _laserShotLaser Entity_Tear::Update 006670f0 (TEAR_LASERSHOT bit 60, mask 0xc345d0) spawns a laser via Entity_Laser::ShootAngle along the tear's (continue)velocity and keeps it here; without the flag it is Remove()d; ClearReferences 006666c0 removes it Entity_Tear 0x494 EntityPtr _linkPrev Entity_Tear::apply_link_spring_forces 0067aaf0 springs toward +0x494 and +0x498 (rest length 10); link setter 0067ae30 joins prev/next; ClearReferences 006666c0 relinks prev<->next (EntityPtr set 0067dac0) when both are tears Entity_Tear 0x498 EntityPtr _linkNext see _linkPrev: apply_link_spring_forces 0067aaf0, 0067ae30, ClearReferences 006666c0; Init 006660a0 resets both Entity_Tear 0x49c EntityPtr _attachedEffect ? Entity_Tear::Update 006670f0 spawns (Game::Spawn) an entity for several tear-flag cases into +0x49c, sets its parent/color and scales it with _fScale every frame; ClearReferences 006666c0 Remove()s it Entity_Tear 0x7fc int _holdTimer Entity_Tear::Update 006670f0: while >0 counts down, pins the tear to parent(+0x3bc) pos + +0x800 with zero velocity and bobs height ±0.5 per 15 frames; on expiry restores velocity from +0x808; Interpolate 00679400 does the same pin Entity_Tear 0x800 Vector _holdOffset Entity_Tear::Update 006670f0 / Interpolate 00679400 set pos = parent pos + this+0x800/+0x804 while _holdTimer (+0x7fc) > 0; Init zeroes it Entity_Tear 0x808 Vector _holdVelocity Entity_Tear::Update 006670f0 copies +0x808/+0x80c into velocity when _holdTimer (+0x7fc) reaches 0 Entity_Familiar 0x414 Entity_Player* _sirenOriginalPlayer Siren charm 0064b920 saves the old _player (+0x410) here before handing the familiar over; Entity_Familiar::RemoveFromPlayer 0064bab0 restores the owner from it and clears it; Init zeroes it, delirium_morph 00631b20 carries it over Entity_Familiar 0xeec EntityPtr _sirenHelper Siren charm 0064b920 spawns entity 966 (Siren helper, parent=Siren, target=familiar) into +0xeec; RemoveFromPlayer 0064bab0 Remove()s it; HandleCollision 006261f0 / convert_shot_for_enemy_owner 0064bb70 check its age; Init erases it Entity_Familiar 0xef0 int _sirenCharmFrames Siren charm 0064b920 sets +0xef0=1, Entity_Familiar::Update 0061da10 increments it each frame while >0, RemoveFromPlayer 0064bab0 clears it Entity_Familiar 0xdc0 EntityPtr _linkedEntity Entity_Familiar::Shoot 00614b10 stores the blue fly from AddBlueFlies, FireBrimstone 00638c10 the laser, Init 0060de70 the effect 1000.201 of variant 240; ClearReferences 006121d0 Remove()s it for variant 240 and resets it Entity_Familiar 0xdb8 int _appearTimer Entity_Familiar::Init 0060de70 sets 5; Update 0061da10 counts it down while entity flag 4 (appear) is set, spawns the poof at 3, keeps the familiar invisible until 0 and skips its AI Entity_Familiar 0xda8 int _counter multi-purpose per-variant counter: Update 0061da10 counts it down / up to 749, HandleCollision 006261f0 sets 300 (variant 58), TriggerRoomClear 0062aab0 increments it, update_weapon 0062e620 uses it as a fire delay, TakeDamage 0062cdc0 ignores damage while >0 for variant 238; Init zeroes it Entity_Familiar 0xee0 void* _extraData ReferenceCount pointer: set_extra_data 004357e0 allocates it (in_ECX[1]); Render 00624e10 RTDynamicCasts +0xee0 to IsaacsBodyData for variant 48; ctor zeroes +0xee0/+0xee4 Entity_Familiar 0xdbc int _chargeLevel ? Entity_Familiar::Update 0061da10 variant 226 only: counts 0..5 up while an entity flag is set and down otherwise, sound volume min(level*0.2,1) and pitch from it, stops the loop sound at 0 Entity_Familiar 0xd76 bool _isNotCountedAsFollower ? Entity_Familiar::FollowParent 00612bb0 counts only followers with priority>0 and +0xd76==0; set by Init 0060de70 (subtype 55555 and some variants) and WispInit 00436330 for intangible wisps; Init clears it Entity_Familiar 0xd77 bool _isSubtype55555 ? Entity_Familiar::Init 0060de70 sets it = (subtype == 55555) and then gives the familiar ItemConfig collectible 661, a color and no appear flag; AddToFollowers 0062db20 / AddToDelayed 00613fe0 return early and Kill 00610540 skips the orbit-layer logic when set Entity_Projectile 0x444 int _animKey Entity_Projectile::Update 00653070 caches the animation it last played (size index 0..12, or 100/200/.../1000 per variant) and re-plays only when it changes; Init 00652b90 sets -1 to force the first play Entity_Projectile 0x420 float _scale Lua EntityProjectile.Scale (folded Entity_Tear::Scale 00557cd0) returns this+0x420; AddScale 0085e320 adds to it; Init sets 1.0; Update multiplies shadow size by it Entity_Projectile 0x424 float _homingStrength Lua EntityProjectile.HomingStrength (folded Entity_Tear::BaseScale 0060ccb0) returns this+0x424; Init 00652b90 sets 1.0 Entity_Projectile 0x428 float _curvingStrength Lua EntityProjectile.CurvingStrength 004d3060 returns this+0x428; Init 00652b90 sets 0.015 Entity_Projectile 0x41c float _damage Lua EntityProjectile.Damage 0085e360 returns this+0x41c Entity_Projectile 0x458 float _changeVelocity Lua EntityProjectile.ChangeVelocity (folded Entity_Tear::Rotation 0060ccc0) returns this+0x458; Init zeroes it Entity_Projectile 0x440 bool _isRenderedAtGround ? Entity_Projectile::Render 0065cb60: when set, subtracts _height from _posOffset.y before rendering and adds it back after; ctor/Init zero it, no writer found Entity_Effect 0x414 float _fallingSpeed Lua EntityEffect.FallingSpeed (folded Entity_Tear::FallingSpeed) returns this+0x414; Entity_Effect::Init 005cdb20 gibs set -5-rand*10 next to m_Height(+0x410)=-23 Entity_Effect 0x418 float _fallingAcceleration Lua EntityEffect.FallingAcceleration (folded Entity_Tear::FallingAcceleration) returns this+0x418; Entity_Effect::Init 005cdb20 gibs set 1.3 Entity 0x3fc int _pitfallState Entity_Bomb::Update 006a24d0: !=0 slows it and 1->2 when the anim ends then removes; Entity_Player::GetDeathAnimName 007828f0 picks "HoleDeath" when != 0; NpcAI::ENTITY_PITFALL uses it Entity_Pickup 0x558 ColorMod _colorMod ? ctor 006e0010 sets +0x558..+0x564 = 1.0 (tint) and +0x568..+0x580 = 0 (colorize/offset), Init 006e02f0 assigns a ColorMod to it as one block (ends right before State 0x584) Entity_Pickup 0x54c int _collisionCooldown Entity_Pickup::HandleCollision 006e8ae0: player touch while >0 just refreshes it to 10 and returns; Update decrements; Player::DropTrinket sets 4, TakeDamage zeroes Entity_Pickup 0x588 int _coopDuplicateIndex Entity_Pickup::HandleCollision 006e8ae0: in co-op, while +1 < alive players spawns another collectible and calls setter 006e2ff0(this+0x588 +1), -1 = none; Room::SpawnClearAward sets 0; Init -1 Entity_Pickup 0x52f bool _isPayToPlay Entity_Pickup::Init 006e02f0 sets it for chest variants 53/55/57/60 when someone has Pay To Play (380); HandleCollision/TryOpenChest then spend a coin instead of TryUseKey Entity_Pickup 0x548 int _chestReCloseTimer Entity_Pickup::TryOpenChest 006e6e40 sets 60; Update 006e3940 decrements and at 0 an Eternal Chest (53) plays "Close" and gets subtype 1; CanFlip checks it Entity_Pickup 0x5c4 int _invisibleFrames Entity_Pickup::Update 006e3940: while invisible with collision, ++ and after 3 frames sets _visible; Init/Morph zero it Entity_Pickup 0x530 int _itemPoolType ? Entity_Player::DropCollectible 00790530 copies History item +0x18 (REPENTOGON _itemPoolType) into it; HandleCollision passes it to SetQueuedItem as QueueItemData +0x10; Morph keeps it, ==3 with price 0 rerolls tag 0x200000000 items Entity_Pickup 0x58c EntityPtr _unkEntityRef ? Entity_Pickup::ClearReferences 006ee130 resets it like the other EntityPtrs (multiset erase); ctor zeroes; no setter found Entity_Pickup 0x550 int _gridRepositionState ? Entity_Pickup::HandleCollision 006e8ae0 sets 1 after a pedestal swap near a room grid entity (<70px); Update 006e3940 1: scans grids -> 2; 2: TargetPosition = pos, -> 0 Entity_Laser 0x53c EntityPtr _tearWaitEffect Entity_Laser::Update 00977cc0: with TEAR_WAIT (bit 17, Anti-Gravity) spawns effect 1000.71/126 into this+0x53c, copies tear flags/colour to it; laser stays frozen while that effect's state (+0x450) is 0; ClearReferences resets it Entity_Laser 0x540 int _waitFrames Entity_Laser::Update 00977cc0 sets 2 (hidden) with the Anti-Gravity effect and returns early while it counts down; Interpolate 0097e6f0 skips while >0; update_laser sets it on OneHit continuum lasers; Init zeroes Entity_Laser 0x538 EntityPtr _continuumLaser Entity_Laser::update_laser 00973c60: with TEAR_CONTINUUM (bit 38) spawns the wrapped laser at the room edge via ShootAngle into this+0x538 (sets its _disableInitSound/_disableFollowParent); Remove/ClearReferences free it Entity_Laser 0x52c EntityPtr _parentLaser Game::BombTearflagEffects 007009a0 sets it (multiset insert); Update and CanDamageEntity 0096cf80 walk this+0x52c->+0x52c to the root laser whose hit list is shared; ClearReferences resets Entity_Laser 0x4ec EntityPtr _childLaser ? Entity_Laser::Remove 0097ea30 removes it with the laser (unless _oneHit) like _bounceLaser(+0x4e8); ClearReferences resets; Init zeroes; setter not found Entity_Laser 0x530 EntityPtr _subLasers[2] ? ctor 0096cb60 eh-vector-constructs 2 EntityPtrs at +0x530; Remove 0097ea30 removes both unless _oneHit; ClearReferences resets them Entity_Laser 0x448 BitSet128 _heldTearFlags ? Entity_Laser::Update 00977cc0 moves TEAR_WAIT out of _tearFlags into this+0x448..0x454 (OR) when it spawns the Anti-Gravity effect; ctor/Init zero 16 bytes Entity_Bomb 0x450 EntityPtr _stickyTarget Entity_Bomb::HandleCollision 006a5f00 with TEAR_STICKY (bit 37) sets it to the collider (multiset insert) and stores the offset in _targetPosition; Update 006a24d0 follows that entity's pos/velocity Entity_Bomb 0x430 short _collisionCooldown Entity_Bomb::HandleCollision 006a5f00: while >0 refreshes to 4 and ignores the collision; Update 006a24d0 decrements, sets 4 when invisible; Init sets 4 Entity_Bomb 0x432 short _parentCollisionCooldown Entity_Bomb::HandleCollision 006a5f00: collider == _parent and >0 -> refresh to 4, ignore; Update decrements; Init sets 4 (0x40004 with +0x430) Entity_Bomb 0x424 int _bounceCount Entity_Bomb::Update 006a24d0 increments it on each floor bounce (fallSpeed *= -0.7) and stops bouncing after 3; Init zeroes Entity_Bomb 0x454 int _bombIndex Entity_Bomb::Update 006a24d0 on its first frame gives player bombs a global running number (DAT_00c7ec64++); &1 alternates a side offset Entity_Bomb 0x458 int _updateDelay Entity_Bomb::Update 006a24d0 returns early while >0 (decrementing); set 5 for variants 17/20 when Ipecac-style flags are added; Init zeroes Entity_Bomb 0x45c int _scatterTimer ? Entity_Bomb::Update 006a24d0 sets 90 when it gives the bomb a random 5-10 velocity, decrements; HandleCollision 006a5f00 checks <1 in room type 0x10 Entity_Bomb 0x461 bool _isSkipNextUpdate Entity_Bomb::Update 006a24d0 starts: if set, clear it and return; Init 006a2050 zeroes Entity_Bomb 0x462 bool _hasCostumes Entity_Bomb::update_sparks 006a6f10 (costume loader) sets 1 when a costume ANM2 loaded; Update/Render 006a5a60 only update/draw _bombCostumesSprites when set # Deletions: REPENTOGON fields that a confirmed field contradicts Entity 0x2d4 - _mass the Lua Entity.Mass getter 00431520 reads +0x37c (see Entity 0x37c); 0x2d4 was only bracketed Entity 0x2b0 - _depthOffset the Lua Entity.DepthOffset getter 00435d10 reads +0x358 (see Entity 0x358); 0x2b0 was only bracketed # # REPENTOGON fields that had been kept only by bracketing, re-verified against this exe (3 subagents) Entity_Player 0x1344 int _redHearts Lua EntityPlayer:GetHearts 00428b10 returns this+0x1344; AddHearts 00758a70 / AddMaxHearts 007588a0 clamp and add to it Entity_Player 0x140c Entity_Effect* _markedTarget Entity_Familiar::TryAimAtMarkedTarget 006146e0 reads player+0x140c; GetTearMovementInheritance 007aaea0 tests HasCollectible(394 Marked) && it; release_weapons_and_effects 00757ac0 Removes it Entity_Player 0x1410 Entity* _heldEntity ThrowHeldEntity 007d2470 (Lua) clears &this+0x1410; Render 0078ca00 draws the held entity's sprite (+0x48); TrapDoor/Stairs Update compare it with _twinPlayer 0x1e68 (Forgotten carrying the Soul) Entity_Player 0x1458 Entity_Laser* _megaBlastLaser update_effects 00794e50: while _megaBlastDuration 0x18f4 > 15 and this is null, ShootAngle laser with timeout duration-15 and SetReference here; release_weapons_and_effects 00757ac0 Removes it Entity_Player 0x145c int _rUaWizardTimer UsePill 007c4180 R U A Wizard case adds 900 (1800 horse pill); update_effects 00794e50 counts down; Weapon_Bone/SpiritSword::Fire test >0; Store/RestoreGameState slot 0x82 Entity_Player 0x1478 float _tearfallspeed Lua field EntityPlayer.TearFallingSpeed = +0x1478; FireTear 00790af0 uses -it as tear falling speed Entity_Player 0x147c float _tearfallaccel Lua field EntityPlayer.TearFallingAcceleration = +0x147c; FireTear 00790af0 copies it to the tear's _fallingAccel Entity_Player 0x1508 TemporaryEffects _temporaryeffects Lua EntityPlayer:GetEffects 004361c0 returns this+0x1508; 120+ callers pass it to TemporaryEffects::Has/AddCollectibleEffect Entity_Player 0x1520 int _speedModifier EvaluateItems 00763570 movespeed = (it + ...)*0.2 + ... (0 under Curse Mist/coop ghost); reroll_collectibles_on_damage 005c88a0 randomises it -1..1; Store/RestoreGameState slot 0x12 Entity_Player 0x1524 int _fireDelayModifier EvaluateItems 00763570 fire-delay block reads it (0 under Curse Mist/coop ghost); reroll_collectibles_on_damage 005c88a0 randomises it -1..1 beside 0x1520/0x1528; Store/RestoreGameState slot 0x13 Entity_Player 0x1528 int _damageModifier EvaluateItems 00763570 damage += it (0 under Curse Mist/coop ghost); reroll_collectibles_on_damage 005c88a0 randomises it -1..1; Store/RestoreGameState slot 0x14 Entity_Player 0x1574 uint32_t _cacheFlags AddCacheFlags 00436160 (ZHL exact, Lua) ORs flags into this+0x1574; AddDeadEyeCharge 007c78b0 sets bit 1 before EvaluateItems Entity_Player 0x1578 int8_t _tearDisplacement FireTear 00790af0 / FireBomb 007a0970 offset the shot by (char)it; Weapon_Bone::Fire negates it per shot (alternating eye); init_player_type_state 007cc200 swaps it with the sub player Entity_Player 0x1604 int _itemStateCooldown ControlActiveItem 00791a40 tests it with _itemState; update_shooting 0077b020 counts it; SwapActiveItems/room_exit/active_used_post zero it Entity_Player 0x1608 uint32_t _vampireCharmKills FUN_007d3350: with HasCollectible(62 Charm of the Vampire) ++ per kill, at >= 13 (8 in co-op) AddHearts(1) and subtracts 13; Store/RestoreGameState slot 0x21 Entity_Player 0x1610 int _bombPlaceDelay update_bomb_input 00780f40: bombs placed only while <1, then set to 30 (1 with 517 Fast Bombs, 15 in some co-op mode) Entity_Player 0x1614 int _forgottenSwapFormCooldown init_player_type_state 007cc200: The Forgotten/Soul (types 16/17) swap refused while >0, else set to 15; pockets_rotate 007a42b0 counts it down Entity_Player 0x161c int _playerIndex Lua EntityPlayer:IsSubPlayer 00753ac0 returns it >>31 (index < 0); ctor 00753da0 inits -1; ConsumableCountChanged 007597e0 only when >= 0; EntityList/GetNearestTargetPlayer order players by it with -1 skipped Entity_Player 0x1624 int _moveDirection Lua EntityPlayer:GetMovementDirection 004e4860 returns this+0x1624; update_body_animations 00779b40 sets -1/1/3... Entity_Player 0x1828 ColorMod _footprintColor1 SetFootprintColor 007b98c0 (ZHL exact) writes the KColor into its offset[0..2] (0x1854 for the other foot); ctor inits tint 1.0; update_footprints 007b8cb0 draws with it Entity_Player 0x1854 ColorMod _footprintColor2 SetFootprintColor 007b98c0 (ZHL exact) writes the KColor here when FUN_007b9940(0); update_footprints 007b8cb0 reads tint[3] and draws with it Entity_Player 0x1888 int _ponyCharge UseActiveItem 005b39d0 case 181 White Pony (Pony shares) sets 60; HandleCollision 0078e1f0 damages while >0; update_effects 00794e50 counts it down to 0 Entity_Player 0x188c int _planCKillCountdown UseActiveItem 005b39d0 Plan C case sets 300; update_effects 00794e50 counts it down; Store/RestoreGameState slot 0xf Entity_Player 0x18a4 int _epiphoraCharge EvaluateItems 00763570: with HasCollectible(368 Epiphora) tears *= it/180+1; update_shooting 0077b020 ++ up to 180 while firing one direction, 0 otherwise Entity_Player 0x18b0 uint32_t _deadEyeCharges Lua EntityPlayer:AddDeadEyeCharge 007c78b0 ++ while <8 and sets cache 1; ClearDeadEyeCharge 007c78e0 (ZHL exact) zeroes it; EvaluateItems damage *= it*0.125+1 Entity_Player 0x18b4 uint32_t _deadEyeMisses ClearDeadEyeCharge 007c78e0 (ZHL exact) ++ and picks the 20/33/50% clear chance by 1/2/more; AddDeadEyeCharge 007c78b0 zeroes it Entity_Player 0x18bc uint32_t _mawOfTheVoidChargeTimer update_shooting 0077b020 fires the Maw of the Void ring once > 150 and zeroes it; FUN_0075ea40 shows it as a charge bar (it*100/150) Entity_Player 0x18e8 uint32_t _imExcitedSpeedupCountdown UsePill 007c4180 I'm Excited!!! case (Broken Watch state 2) sets (rand(2)+2)*900; update_effects 00794e50 counts it down; Store/RestoreGameState slot 0x10 Entity_Player 0x18f4 int _megaBlastDuration UseActiveItem 005b39d0 Mega Blast case sets 450 (*1.5 with 356 Car Battery); update_effects 00794e50 counts it down while firing the laser 0x1458 and removes the costume at <1 Entity_Player 0x18f8 int _peeBurstCooldown update_shooting 0077b020 counts it down against _maxPeeBurstCooldown 0x18fc; EvaluateItems tears *= it*5/max+1; update_effects blocks the Kidney Stone when >0 or urethra blocked 0x1908 Entity_Player 0x18fc int _maxPeeBurstCooldown update_shooting 0077b020 sets 180 and compares _peeBurstCooldown against it-5; EvaluateItems 00763570 divides by it+1 Entity_Player 0x1900 int _bladderCharge update_shooting 0077b020 bursts and zeroes it once >= _maxBladderCharge 0x1904; Update 00782af0 shows it/max; update_effects zeroes it Entity_Player 0x1904 int _maxBladderCharge update_effects 00794e50 sets (rand+1)*30; update_shooting 0077b020 / Update 00782af0 compare _bladderCharge 0x1900 against it Entity_Player 0x1908 bool _isUrethraBlocked update_effects 00794e50 sets/clears it at _nextUrethraBlockFrame 0x190c (Kidney Stone); update_shooting 0077b020 releases the stone when set and clears it Entity_Player 0x190c int _nextUrethraBlockFrame update_shooting 0077b020 sets GetFrameCount-based frame + (rand+15)*30; update_effects 00794e50 blocks the urethra once GetFrameCount >= it Entity_Player 0x192c int _purityState FUN_007c7c60 picks the gfx/characters/costumes/PurityGlow costume by it (0..3); EvaluateItems 00763570 tests 0/1/3 per stat; TakeDamage/Update reroll it; Store/RestoreGameState slot 0xd2 Entity_Player 0x1930 int _immaculateConceptionState AddImmaculateConceptionCounter 007c8050 adds the argument to it and spawns by it/threshold; Store/RestoreGameState slot 0xd3 Entity_Player 0x1934 int _cambionConceptionState GetCambionPregnancyLevel 007c90b0 reads it; TakeDamage 007729d0 ++; Store/RestoreGameState slot 0xd4 Entity_Player 0x1938 uint32_t _conceptionFamiliarFlags AddImmaculateConceptionCounter 007c8050 / TakeDamage 007729d0 set a bit per conception familiar granted; GetCollectibleNum 00770ca0 counts set bits; Store/RestoreGameState slot 0xd5 Entity_Player 0x193c float _d8DamageModifier UseActiveItem 005b39d0 D8 case rolls it and renormalises by (2-sum of 0x193c..0x1948)*0.25; EvaluateItems damage *= it; Store/RestoreGameState slot 0xd6 Entity_Player 0x1940 float _d8SpeedModifier UseActiveItem 005b39d0 D8 case rolls it; EvaluateItems 00763570 movespeed *= it; Store/RestoreGameState slot 0xd7 Entity_Player 0x1944 float _d8RangeModifier UseActiveItem 005b39d0 D8 case rolls it; EvaluateItems 00763570 range *= it; Store/RestoreGameState slot 0xd8 Entity_Player 0x1948 float _d8FireDelayModifier UseActiveItem 005b39d0 D8 case rolls it; EvaluateItems 00763570 maxfiredelay = 30/(tears*it)-1; Store/RestoreGameState slot 0xd9 Entity_Player 0x1d7c vector_EntitySaveState _movingBoxContents TryDecreaseGlowingHourglassUses 007b9e10: with HasCollectible(523 Moving Box) walks begin 0x1d7c..end 0x1d80 in 0x78-byte save states for pickup 5.100.422; UseActiveItem Moving Box case restores pickups from it; StoreGameState saves (end-begin)/0x78 Entity_Player 0x1d8c int _boneHeartsMask Lua EntityPlayer:IsBoneHeart 007caaa0 tests bit (1<= 1; AddBoneHearts 007ca840 updates it Entity_Player 0x1d90 int _hallowedGroundCountdown GridEntity_Poop::Update / NpcAI::ENTITY_POOP refresh it for players in the white-poop aura; update_effects 00794e50 counts it down; EvaluateItems tears *2.5 while set; TakeDamage tests >0 Entity_Player 0x1dd0 uint32_t _urnSouls AddUrnSouls 007d3480 adds amount to it; Weapon_UrnOfSouls::Fire requires >0; PlayerHUD::RenderActiveItem draws it; Store/RestoreGameState slot 0x114 Entity_Player 0x1f7c int _eveSumptoriumCharge update_shooting 0077b020: for Tainted Eve (type 26) ++ while charging, at >59 zeroes it and fires; FUN_0075ea40 shows it as a charge bar (it/60*100) Entity_Player 0x1f80 std_map_int_int _itemWispsList HasCollectible 007706e0: when size 0x1f84 != 0, std::set find in the tree at 0x1f80 and node value (+0x14) >= 1 counts; RecomputeWispCollectibles 007d7740 rebuilds it from item wisps (3.237) keyed by subtype; ctor builds the head Entity 0x15c float _shadowSize Entity::LoadEntityConfig 006a98b0 stores EntityConfig shadowSize here (0.015625 without config) Entity 0x168 unsigned long long _flags Lua Entity.GetEntityFlags 00417420 returns this+0x168 (Add/Clear/HasEntityFlags use 0x168/0x16c); AddFreeze 006ad3c0 ORs FLAG_FREEZE 0x20 into it Entity 0x170 bool _valid EntityList::AddEntity 00418500 skips if set, else pushes the entity and sets +0x170=1; EntityList::Update 004186c0 clears it when an entity stops existing; EntityFactory::Create 006f0090 picks a pool slot whose +0x170 is 0; ctor 006a8290 zeroes it Entity 0x177 bool _removedByFactory EntityFactory::Create 006f0090 on 'Entity pool array %s is full, overwriting' sets byte [slot+0x177]=1 (0x6f0332), calls Remove (vt+0x28) and ClearReferences (vt+0x44), then clears it; Entity_Laser::ClearReferences 0097e800 only frees child lasers when set; Init 006a93a0 zeroes 0x176/0x177 Entity 0x184 int _entityGridCollisionClass Lua Entity.GridCollisionClass 00440eb0 returns this+0x184; LoadEntityConfig 006a98b0 assigns 0/3/5/6 from config Entity 0x190 bool _collidesWithGrid Lua Entity.CollidesWithGrid 00665a80 returns byte this+0x190 (400) Entity 0x1ac vector_ColorParams _colorParams ctor 006a8290 zeroes the 3-pointer vector at 0x1ac/0x1b0/0x1b4; Entity::SetColor 006b2fa0 pushes ColorParams here when duration>=1; Entity::Update 006ae820 walks 0x3c-byte elements, decrements duration @+0x34, erases expired ones and re-applies the colour Entity 0x210 int _fireDamageCountdown Entity::TakeDamage 006ace60: with DAMAGE_FIRE (flags&2) returns 0 while in_ECX[0x84]>0, else sets it to 10; Entity::Update 006ae820 decrements it; Init 006a93a0 zeroes it Entity 0x214 int _damageCountdown Entity::TakeDamage 006ace60: with DAMAGE_COUNTDOWN (flags&0x40) returns 0 while in_ECX[0x85]>0; Entity::Update 006ae820 decrements it; Entity_Familiar::HandleCollision 006261f0 only deals contact damage when <1 and Entity_Familiar::TakeDamage 0062cdc0 sets it to 0x1e Entity 0x218 int _freezeCountdown Entity::AddFreeze 006ad3c0 adds duration (cap 0x78) and sets FLAG_FREEZE 0x20; Entity::Update 006ae820 decrements and clears 0x20 at 0; AddMidasFreeze 006adf40 also sets it Entity 0x21c int _poisonCountdown Entity::AddPoison 006ad500 adds duration and sets FLAG_POISON 0x40; Entity::Update 006ae820 decrements, clearing 0x40 and resetting 0x320 to 2.0 at 0 Entity 0x220 int _slowingCountdown Entity::AddSlowing 006ad750 adds duration and sets FLAG_SLOW 0x80; Entity::Update 006ae820 decrements it Entity 0x224 int _charmedCountdown Entity::AddCharmed 006ad870 adds duration and sets FLAG_CHARM 0x100 (zeroes it when making the entity permanently friendly) Entity 0x228 int _confusionCountdown Entity::AddConfusion 006add70 adds duration and sets FLAG_CONFUSION 0x200 Entity 0x22c int _midasFreezeCountdown Entity::AddMidasFreeze 006adf40 only when it is 0: sets it and _freezeCountdown to duration and ORs 0x420 (FREEZE|MIDAS_FREEZE) Entity 0x230 int _fearCountdown Entity::AddFear 006ae0a0 (Lua Entity:AddFear) adds duration to it under the usual boss-cooldown gate; Entity::Update 006ae820 handles it with the fear flag Entity 0x234 int _burnCountdown Entity::AddBurn 006ae280 adds duration at raw +0x234 and zeroes 0x2e4 on a fresh burn; Entity::Update 006ae820 decrements it, clearing FLAG_BURN 0x1000 and resetting 0x324 to 2.0 at 0 Entity 0x238 int _bossStatusEffectCooldown every Entity::Add* status function (AddFreeze 006ad3c0, AddBurn 006ae280 raw +0x238...) refuses while >0 unless ignoreBossStatusCooldown, and sets it to 0xf0 for bosses Entity 0x23c int _shrinkCountdown Entity::AddShrink 006b5c10 adds duration and sets FLAG_SHRINK 0x1000000; Entity::Update 006ae820 decrements it Entity 0x2e0 int _poisonDamageTimer Entity::AddPoison 006ad500 zeroes it on a fresh poison; Entity::Update 006ae820 increments raw +0x2e0 while FLAG_POISON 0x40 and deals TakeDamage(+0x320) when it %20 == 1 Entity 0x2e4 int _burnDamageTimer Entity::AddBurn 006ae280 zeroes raw +0x2e4 on a fresh burn; Entity::Update 006ae820 increments it while FLAG_BURN 0x1000 and deals TakeDamage(+0x324) when it %20 == 1 Entity 0x2e8 int _bleedingCountdown Entity::AddBleeding 006ae420 adds duration under the boss-cooldown gate and sets the bleed flag; Entity::Update 006ae820 decrements it Entity 0x2f0 int _magnetizedCountdown Entity::Update 006ae820 decrements it and clears FLAG_MAGNETIZED (bit 51, hi 0x80000) at 0; Init 006a93a0 zeroes it Entity 0x2f4 int _baitedCountdown Entity::AddBaited 006b7560 adds duration and sets FLAG_BAITED (bit 52, hi 0x100000); Entity::Update 006ae820 decrements and clears it Entity 0x2f8 int _knockbackCountdown Entity::AddKnockback 006b7a80 stores duration (scaled down by mass>10) and sets the knockback flags (hi 0x8000/0x18000); Entity::Update 006ae820 decrements and clears hi 0x18000 Entity 0x2fc int _weaknessCountdown Entity::AddWeakness 006b77d0 adds to [ESI+0x2fc] and sets FLAG_WEAKNESS (bit 54, OR [ESI+0x16c],0x400000) Entity 0x300 int _iceCountdown Entity::AddIce 006b79d0 adds duration at raw +0x300; Entity::Update 006ae820 decrements and clears FLAG_ICE (bit 50, hi 0x40000) Entity 0x304 int _brimstoneMarkCountdown Entity::AddBrimstoneMark 006b78d0 adds duration at raw +0x304; Entity::Update 006ae820 decrements and clears FLAG_BRIMSTONE_MARKED (bit 56, hi 0x1000000) Entity 0x308 Vector _knockbackDirection Entity::AddKnockback 006b7a80 stores the push direction here (scaled by 10/mass for heavy entities) Entity 0x31c int _pauseTimer Entity_NPC::Update 006c4b30: while >0 latches _pos into 0x314/0x318, pins _pos there, damps velocity 0.6 and decrements it; Init 006a93a0 zeroes it Entity 0x33c Vector _pos Lua Entity.Position 00417290 returns this+0x33c/0x340 Entity 0x34c Vector _posOffset Lua Entity.PositionOffset 00417310 returns this+0x34c Entity 0x360 Vector _velocity Lua Entity.Velocity 004172d0 returns this+0x360/0x364 Entity 0x370 float _size Lua Entity.Size 00871f90 returns float this+0x370; Entity::SetSize 006ac2a0 writes it Entity 0x380 float _health Lua Entity.HitPoints 00417370 returns float this+0x380 Entity 0x388 float _collisionDamage Lua Entity.CollisionDamage 005b1570 returns float this+0x388; LoadEntityConfig 006a98b0 copies config collisionDamage Entity 0x39c float _speedMultiplier Entity::Update 006ae820 adds it to the 0x3a4 update clock each frame and scales sprite playback speed by it; Entity::AddVelocity 00431450 uses it; Init 006a93a0 sets 1.0 Entity 0x3b0 bool _isInvicible Lua Entity.IsInvincible 005b1580 returns byte this+0x3b0 Entity 0x3b4 float _shrinkStatus1 Entity::AddShrink 006b5c10 calls SetSize(config size * it); Entity::Update 006ae820 lerps it toward _shrinkStatus2; Init 006a93a0 sets 1.0 Entity 0x3b8 float _shrinkStatus2 Entity::AddShrink 006b5c10 sets the shrink target 0.333 here; Entity::Update 006ae820 lerps _shrinkStatus1 toward it; Init 006a93a0 sets 1.0 Entity 0x3d4 EntityPtr _minecart Entity::GiveMinecart 006b7be0 spawns a 965.0 minecart and stores it in this EntityPtr (multiset ref); ctor 006a8290 nulls it Entity_Familiar 0x5f8 int _moveDelayNum Lua EntityFamiliar:MoveDelayed 00631050 uses +0x5f8 as the ring index into the Vector history at 0x418 ((idx+1)%delay), resetting it to 0 when refilling Entity_Familiar 0x5fc NPCAI_Pathfinder _pathfinder Entity_Familiar::predict_player_movement 00650220 calls NPCAI_Pathfinder::SimulatePlayerMovement(this+0x5fc); FamiliarAI::bumbo 0062f7f0 calls NPCAI_Pathfinder::HasPathToPos on it Entity_Laser 0x4e0 float _scale Entity_Laser::ResetSpriteScale 0097fc10 sets sprite scale and _size = it * config size; Entity_Laser::set_scale 0097fe50 writes +0x4e0; Entity_Laser::Init 0096f590 sets 1.0 Entity_Laser 0x500 bool _multidimensionalTouched Lua EntityLaser:SetMultidimensionalTouched 005cd590 writes byte this+0x500; Entity_Laser::copy_from_parent 0096f070 copies it Entity_Laser 0x514 bool _prismTouched Entity_Laser::update_laser 00973c60 only looks for an Angelic Prism (3.123) while +0x514==0 and sets +0x514=1 on the split child lasers it spawns (stored at 0x504..0x510); copy_from_parent 0096f070 copies it; Init 0096f590 zeroes it Entity_NPC 0xbc8 uint32_t _deliriumBossType NpcAI::ENTITY_DELIRIUM 004a6500 picks a boss, logs 'Changed Delirium form to %d:%u.' with it and writes it into _type Entity_NPC 0xbcc uint32_t _deliriumBossVariant NpcAI::ENTITY_DELIRIUM 004a6500 logs 'Changed Delirium form to %d:%u.' with it (second arg) and writes it into _variant Entity_NPC 0xbd0 uint16_t _deliriumTransformationTimer NpcAI::ENTITY_DELIRIUM 004a6500: ushort countdown decremented in states 0x11/8, drives Game::ShowHallucination(timer*0.4*30), reset to random*0x1e between forms Entity_NPC 0xbd2 uint8_t _deliriumRemainingAttacks NpcAI::ENTITY_DELIRIUM 004a6500 sets it to rand%3+2 on a new form, decrements per attack and leaves state 8 when 0 Entity_NPC 0xbd3 uint8_t _deliriumState NpcAI::ENTITY_DELIRIUM 004a6500 byte state machine (0x10 pick form, 0x11 hallucination, 0x12) separate from _state 0xb64 Entity_NPC 0xbd8 uint32_t _deliriumAttackID NpcHelper::delirium_fire_pattern 004a8b70 unpacks it (low byte = pattern, 0xff = random %0xb) and repacks it; ENTITY_DELIRIUM 004a6500 resets it to 0xff per form Entity_NPC 0xbdc uint8_t _deliriumAttackAngle NpcHelper::delirium_fire_pattern 004a8b70 reads it as the pattern angle and stores (Random()%0xff)&0xff back; ENTITY_DELIRIUM 004a6500 zeroes it per form (written as a dword) Entity_NPC 0xbe0 uint32_t _deliriumCycleID NpcAI::ENTITY_DELIRIUM 004a6500 keeps packed bitfields here (low 7 bits form cycle, (rand%600+300)<<15 timer) updated on every form change Entity_NPC 0xc3d bool _isBoss Entity_NPC::IsBoss 006b8470 (vtable slot 19) is MOV AL,[ECX+0xc3d]; champion_init 006bb790 copies EntityConfig isBoss (+0x2c) into it Entity_NPC 0xc40 float _shieldStrength Entity_NPC::champion_init 006bb790 copies EntityConfig shieldStrength (+0xe0); NpcAI::ENTITY_DELIRIUM 004a6500 sets it from lost health *80; ENTITY_ISAAC 00463100 sets 90 Entity_NPC 0xc74 uint16_t _championRegenTimer Entity_NPC::Update 006c4b30: for champion colour 12 on death sets it to 1, revives at 10 HP, counts it up per HP lost shrinking/growing the sprite ('ReGenChamp' Globin anm2) and resets to 0 after 0x59 Entity_Tear 0x420 float _fScale Lua EntityTear.Scale 00557cd0 returns this+0x420 Entity_Tear 0x428 BitSet128 _tearFlags Lua EntityTear.TearFlags 004177c0 returns the 4 dwords 0x428..0x434 Entity_Tear 0x444 std_vector_uint _hitList Entity_Tear::HandleCollision 00673660 does LEA ECX,[ESI+0x444] then EntityList::HitListContains 00431640 (binary search of GetHitListIndex) and sorted insert 00431570; ctor 00665cf0 zeroes 0x444..0x44c, Init 006660a0 sets end=begin Entity_Tear 0x450 int _tearIdx Lua EntityTear.TearIndex 004aade0 returns this+0x450 Entity_Tear 0x458 float _rotation Lua EntityTear.Rotation 0060ccc0 returns this+0x458 Entity_Tear 0x45c int _scaleAnimNum Entity_Tear::ResetSpriteScale 00677780 recomputes the RegularTear%d/BloodTear%d anim number from scale and replays only when it differs from +0x45c; Entity_Tear::Init 006660a0 sets -1 ActiveItemDesc 0x14 int _timeRechargeCooldown Entity_Player::ControlActiveItem (00791a40) sets desc+0x14 to 9/0xb/0xf after use, decrements it each frame for all 4 slots (player+0x1594 stride 0x20) and only advances a chargeType==1 (timed) item while it is < 1 ActiveItemDesc 0x4 int _unk Entity_Player::AddCollectible (0075f0e0) writes player+0x1584+slot*0x20 alongside +0xc/+0x10/+0x18/+0x1c when installing an active; SwapActiveItems (007a4760) swaps it with slot 1 (+0x15a4); Store/RestoreGameState save it Game 0x1af70 BossPool _bossPool Game ctor (006f1020) builds 0x25 x 0x3c BossPool_Pool at Game+0x1af70 (~Game destroys them); Level::place_special_rooms / generate_boss_room / TryInitializeExtraBossRoom call BossPool::GetBossId with ECX=Game+0x1af70 Game 0x1b83c RoomTransition _roomTransition BossOverlay::update / FUN_00429570 call RoomTransition::Update with ECX=Game+0x1b83c; ctor builds the versus-screen ANM2 at +0x38 (0x1b874); Game::IsPaused / many AIs test its mode dword != 0 Game 0x1ba78 StageTransition _stageTransition StageTransition::Update (0092f1c0) runs with this=Game+0x1ba78; Game::Update/Render/IsPaused and Entity_Player shooting/pocket-use test the state dword != 0 (PlayerManager::Update next to _roomTransition) Game 0x1bb84 Seeds _seedEffects Lua Game:GetSeeds (0042a340) returns this+0x1bb84; ctor calls Seeds::constructor there; Seeds::AchievementUnlocksDisallowed called with ECX=Game+0x1bb84 Game 0x26534 bool _triggerWindowResize window-size handler FUN_00954150 (width/height scale recompute) sets byte Game+0x26534=1; Game::Render (006fbc10) at entry calls FUN_007084c0 (render-surface rebuild) when set and clears it; ctor zeroes it Game 0x26544 unsigned int _debugFlags console debug toggles: FUN_00685f10 sets bit n in Game+0x26544; Entity::PostRender bit 0 (entity positions), bit 5 hitspheres (Entity_Laser/Knife/Brimstone), bit 0xd render_debug_lua_memory (debug 14) Game 0x26548 uint64_t _gameStateFlags Game::GetStateFlag (004217a0) tests bit in qword this+0x26548+(n>>6)*8; Level::place_special_rooms / GridEntity_Door::SetLocked / Entity_Slot::TakeDamage set bits there Game 0x26558 int _treasureRoomsVisited Lua Game:GetTreasureRoomVisitCount (007383a0) returns this+0x26558, Lua AddTreasureRoomsVisited (007e9370) increments it; Room::Init (007f2800) increments it on entering a treasure room Game 0x2655c int _planetariumsVisited Room::Init (007f2800) increments Game+0x2655c on first visit of room type 0x18 (planetarium); Game::GetPlanetariumChance (0074dbd0) tests it == 0; ResetState zeroes it; store_game_state saves it Game 0x2657c int _shopVisits moved from 0x26574: Room::Init (007f2800 at 007f36f4) increments Game+0x2657c when room type == 2 (shop) and unlocks achievement 0x17b (School Bag) once >= 6 outside greed difficulties (matches REPENTOGON Lua AddShopVisits logic); 0x26574 is a slot coin countdown (reset to 10, decremented on CoinInsert) Game 0x26580 EntityFactory* _entityFactory Game ctor stores EntityFactory::constructor result at Game+0x26580; Game::SpawnEx (006fe410) and ~20 spawners call EntityFactory::Create(*(Game+0x26580),...); ~Game frees it Game 0x26588 bool _isRerun FUN_006f72f0 (start a game from saved start params, copies their Seeds) sets byte Game+0x26588=1, LoadConfigXmls clears it, store/restore_game_state save it; Game::StartDebug / Entity::AddCharmed require it == 0 next to Seeds::AchievementUnlocksDisallowed before achievement unlocks Game 0x26589 bool _isDebug Game::StartDebug (006f7750) sets byte Game+0x26589=1; Entity::AddCharmed tests _dailyChallenge._id==0 && it==0 before unlocks Game 0x26630 DailyChallenge _dailyChallenge Game::StartDailyChallenge(DailyChallenge*) (006f6dd0) copies _id/_seed/_isPractice/_specialDailyId into Game+0x26630/34/38/3c; Game::IsChallengeOrDaily (006dae20) tests +0x26630 != 0 Game 0x266e4 ScoreSheet _scoreSheet Minimap::render_score_time (0098ef30, at 0098f62a) calls ScoreSheet::Calculate (009e5d90) with ECX=Game+0x266e4; Game::StartStageTransition passes Game+0x266e4 to FUN_009e5a30 Game 0x26778 GenericPrompt _genericPrompt Game::LoadConfigXmls / ReloadStagesXmlOnLuaReset call GenericPrompt::Initialize(Game+0x26778); Game::Render calls GenericPrompt::Render and Room::SpawnClearAward GenericPrompt::Show on it GridEntity 0x28 unsigned int _spawnFrame GridEntity::Init (00709db0) sets this+0x28 = Game _frameCount (Game+0x264f8); GridEntity_TrapDoor::Update compares it with the room's entry frame GridEntity_Door 0x394 int _targetRoomIdx Lua GridEntityDoor.TargetRoomIndex field+0x394; Room::update_door_transitions (007f01c0) and Entity_NPC::HandleCollision read door+0x394 and, when < -99, resolve it with Level::GetRoomByIdx for the target room's Dimension/GridIndex ItemConfig_Card 0x20 std_string desc Lua Card.Description field+0x20 ItemConfig_Item 0x20 std_string desc Lua Item.Description field+0x20 ItemConfig_Pill 0x20 std_string desc ItemConfig::load_pocketitems_xml (0072cff0) parses the "description" attribute into a local std::string (72d42d, [ebp-0x58]) and std::string::assign's it to pill entry +0x20 (name at +0x8, Lua GreedModeAllowed at +0x38) ItemConfig_Pill 0x44 unsigned int announcerVoiceDelay Lua PillEffect.AnnouncerDelay field+0x44 Room 0x11ec int _roomClearDelay Room::KeepDoorsClosed (0085e0f0) sets this+0x11ec=10; Room::Update (00802980) resets it to 10 (20 in some boss rooms) while enemies/greed wave remain and otherwise counts it down; NPC AIs test it (< 9) as the room-clear countdown Room 0x11f8 Camera* _Camera AIs call Camera::IsPosVisible / Camera::SetFocusPosition with *(Room+0x11f8) (NpcAI::ENTITY_ADVERSARY, ENTITY_DOGMA, ENTITY_SISTERS_VIS); FUN_00428a70 returns it Room 0x1218 EntityList _entityList Lua Room:GetEntities (00428a50) returns this+0x1258 = EntityList+0x40 (_updateEL); ~157 callers run EntityList::QuerySublist on Room+0x1218 Room 0x1618 FXLayers _fxLayers Room::LoadBackdropGraphics calls FXLayers::LoadConfig (00990a40) and Room::Render calls FXLayers::Render (009948f0) / render_veins with ECX=Room+0x1618 RoomDescriptor 0x48 int16_t TotalMoneySpent FUN_007d8630 (player coin spend, Keeper's Sack) adds the amount to short (Room->_descriptor)+0x48 and unlocks achievement 0x246 once it exceeds 0x27; ctor zeroes it RoomDescriptor 0x4c int32_t GreedSubType Level::generate_greed (0073e0a0) stores the chosen greed room subtype (4 or 0xb) in current desc+0x4c when 0, else reuses it as the RoomConfig::GetRandomRoom subtype; ctor zeroes it RoomDescriptor 0x52 int16_t TKeeperCoinSpawns Entity_Pickup::Update (006bbdc0) for player type 0x21 (Tainted Keeper): if the room was visited before, stops at short desc+0x52 > 9, else rolls 1/(n+1) and increments it per enemy coin spawn RoomDescriptor 0x64 uint32_t BossDeathSeed Room::TriggerBossDeath (007fec00, log "TriggerBossDeath: %d bosses remaining.") loads (Room->_descriptor)+0x64 at 007fed23 as the RNG seed for the last-boss-death reward (Game+0x265f4 overrides); ctor zeroes it RoomDescriptor 0x68 vector_GridEntityDesc SavedGridEntities RoomDescriptor::constructor (006ef590) sizes the vector at +0x68/+0x6c/+0x70 to 0x1c0 (grid cells) x 0x20 GridEntityDesc, each with seed 0x16a9de81 at +0x10/+0x1c RoomDescriptor 0x74 vector_EntitySaveState SavedEntities Room::RestoreState (007eff50) respawns each 0x78-byte EntitySaveState in desc+0x74..+0x78 via Game::SpawnEx + Entity_Pickup::RestoreState, then clears it RoomDescriptor 0x80 std_set_int RestrictedGridIndexes ctor allocates a 0x14-byte std::set head at +0x80 (size +0x84); grid-bound enemies (NpcAI POKY/SPIKEBALL/STONEHEAD/CONSTANT_STONE_SHOOTER/BOMB_GRIMACE/GUTS) std::set::insert their _spawnGridIndex into current desc+0x80 on death; Room::Init find_node's it RoomDescriptor 0x88 vector_EntitySaveState SavedEffects Game::spawn_bomb_crater (00703190) appends the crater effect's 0x78-byte save state to (Room->_descriptor)+0x88..+0x90, capped at 0x80 entries RoomDescriptor 0xc int32_t Dimension ctor zeroes +0xc between ListIndex and Data; Room::update_door_transitions (007f01c0) / Entity_NPC::HandleCollision read the target desc+0xc as the dimension with its GridIndex; RoomTransition::ChangeRoom compares two descs' +0xc TearParams 0x38 BitSet128 _flags Lua TearParams.TearFlags field+0x38; TearParams::constructor (005cd690) zeroes the 4 dwords 0x38..0x44 Entity_Player 0x139c std_string _queuedExtraAnimation ctor 00753da0 inits an MSVC std::string at 0x139c (size 0x13ac=0, cap 0x13b0=0xf); dtor 00754ed0 frees it beside _name/_headAnim; AddCollectible 0075f0e0 (007629bf) assigns "Glitch" to it; Update 00782af0 (007891d1): if not empty and IsExtraAnimationFinished, PlayExtraAnimation(c_str) and clear it Entity_Player 0x1414 bool _isHeldEntityVisible TryHoldEntity 007d2170 saves the picked-up entity's _visible here; ThrowHeldEntity 007d2470 restores it onto _heldEntity (0x1410) Entity_Player 0x1418 int _heldEntityGridCollisionClass TryHoldEntity 007d2170 saves the held entity's _entityGridCollisionClass (+0x184); ThrowHeldEntity 007d2470 writes it back to held+0x184 Entity_Player 0x141c int _heldEntityCollisionClass TryHoldEntity 007d2170 saves the held entity's _entityCollisionClass (+0x188); ThrowHeldEntity 007d2470 writes it back to held+0x188 Entity_Player 0x146c int _firedTearCount FireTear 00790af0: tear->_tearIdx = this+0x146c, then increments it (running per-player tear index) Entity_Player 0x1760 vector_VoidedPassive _voidedPassives UseActiveItem 005b39d0 Void (477) case: for each absorbed passive pickup push_back {collectible id, pickup _itemPoolType 0x530} via LEA ECX,[EDI+0x1760] (005bec00/005bedd7, 8-byte elements) after the random stat ups; ctor zeroes 0x1760..0x1768; Store/RestoreGameState 007ae4b0 save/restore it (stride 8, ids < collectible count); remove_twin 007a37c0 appends the twin's copy Entity_Player 0x176c int _extensionCordIndex update_effects 00794e50 Extension Cord (trinket 125): index of the familiar the chain laser currently starts from, reset to familiar count-1 when -1/out of range, decremented each beam; Init 00755470 (007572b9) sets -1 Entity_Player 0x1b18 bool _isGlitchBaby Init 00755470: co-op baby (variant 1) with subtype 25 sets 1 (and rolls GetGlitchBabySubType), else 0; level_start 007a4ba0 re-sets _babySkin=25 and InitBabySkin when it is set Entity_Player 0x1e40 std_vector_int _contactHitList sorted entity-index hit list: ctor zeroes 0x1e40..0x1e48; HandleCollision 0078e1f0 with Mega Mush (625) effect skips enemies EntityList::HitListContains(this+0x1e40) and sorted_vector_insert_unique's the rest; update_effects 00794e50 Pony/Mars/Suplex dash checks and clears it; UseActiveItem 005b39d0 clears it Entity_Player 0x1e4c UserProfile _userProfile embedded KAGE::System::UserProfile (vptr + impl ptr at 0x1e50): ctor 00753da0 stores vftable 0xb82d98 (RTTI .?AVUserProfile@System@KAGE@@), dtor 00754ed0 resets to UserProfileBase 0xb82e20; Init 00755470 (00756b2d) sets impl 0x1e50 from the netplay player table; IsInnateCollectible 00771200 reads impl+8/+0xc (64-bit id); AddCollectible/HasCollectible call FUN_00a23920 (returns impl+8 qword) on it Entity_Player 0x1eac EntityPtr _astralProjectionBody try_trigger_astral_projection 007afc20: when null spawns an effect with the player's sprite playing "Death" (ghost layer hidden) and SetReference's it here (multiset erase/insert); try_end_astral_projection 007d35b0 / trigger_collectible_effect_removed 00793970 teleport the player to its _pos and Remove it (vtable +0x28); TakeDamage 007729d0 tests it Entity_Player 0x1fc8 PlayerProceduralItems _proceduralItems embedded {Entity_Player* owner at 0x1fc8, std::set at 0x1fcc (head, size 0x1fd0)}: Init 00755470 (007575bb) stores this at 0x1fc8; ctor builds the set head; TryRemoveTrinket 00771f60 walks the set for negative (glitched) ids in Game _proceduralItemManager 0x67758 and RemoveCollectible's on the owner; trigger_set_dispatch 009e0680 runs glitched_item_effects_run(id, owner, ...) for every id, called with ECX=this+0x1fc8 from EvaluateItems, TakeDamage, TriggerRoomClear, trigger_npc_death, Weapon::TriggerTearEffects, Entity_NPC::TakeDamage; Store/RestoreGameState copy the set Entity_Player 0x1fe0 std_vector_uint8 _extraTrinketCounts ? Init 00755470 resizes it to the trinket count (Game+0x2a414-0x2a410)>>2 and zeroes it, right after doing the same to _extraCollectibleCounts 0x1fd4 with the collectible count; GetTrinketMultiplier 007cb6e0 adds 1 when byte begin[id] (bounds end 0x1fe4) is non-zero Entity_Player 0x2010 std_vector_int _darkArtsHitList ctor zeroes 0x2010..0x2018; update_effects 00794e50 clears it when the Dark Arts end blast fires (beside _darkArtsBlastPending 0x2004 / _darkArtsDamage 0x2008) and HitListContains/clear it at 0079989b..00799bb9; UseActiveItem 005b39d0 (005c3dcf) uses it in the Dark Arts case Entity_Player 0x201c uint8_t _shadowImage[0x8] image handle (+0 ptr, +4 owner, like Game _giantBookClickerImage): Init 00755470 (007577fd) assigns Manager::LoadImage("gfx/shadow.png"); Render 0078ca00 (netplay) reads width/height at ptr+0x10/+0x14 and draws it at pos+_shadowOffset scaled by _shadowSize; dtor 00754ed0 releases owner 0x2020 ItemPool 0x0 uint32_t _seed 00734f30 ItemPool::Init stores the seed param at *this (and at 0x654); 007367d0 StoreGameState copies *this to GameStateItemPool._seed ItemPool 0x4 ItemPool_Item _pools[31] 00732c70 GetPool returns this+4+type*0x34; ctor 006f1020 eh-vector-ctor(_itemPool+4, 0x34, 0x1f); 00736fd0 AddBibleUpgrade adds to +0x34+i*0x34 (pool._bibleUpgrade); 00732e90 GetItemPoolsForCollectible walks pool vectors at +0x8/+0xc stride 0x34 ItemPool 0x664 RNG _trinketPoolRNG 00734f30 Init seeds it with the stepped item-pool seed, shifts 1/5/0x13 at 0x668..0x670; 00733ca0 GetTrinket copies/steps it (FUN_008658c0(.., this+0x664)); 007367d0 StoreGameState writes it to _trinketPoolRNGseed ItemPool 0x674 float _unkFloat674 ? 00734f30 Init = 1.0f; 007367d0 StoreGameState saves it to GameStateItemPool+0x200; StatHUD::update_player 0084cc40 shows Game+0x1adb4 (=ItemPool+0x674) *100 as stat slot 8 (after devil/angel), a slot StatHUD::Render 0084c2c0 skips ItemPool 0x678 float _unkFloat678 ? 00734f30 Init = 1.0f; 007367d0 StoreGameState saves it to GameStateItemPool+0x204 (GameState::Clear 009c79a0 also sets both to 1.0f); no other reader found KColor 0x10 int _unk KColor::KColor 00a0f690 and SetFromARGB 00a0f550 zero +0x10; Game:Fadein 006f5210 copies 5 dwords, Fadeout 006f5290 zeroes 0x265b4 (= _fadeOutColor+0x10); every KColor member in structs.hpp is followed by a 4-byte pad (KColor is 0x14) Game 0x26574 int _reviveMachineCoinsLeft Revive Machine (slot 6.19) in Entity_Slot::Update 0065d950 on "CoinInsert": FUN_00704b50 decrements it, revives ghosts when FUN_0065d010 (getter) < 1, then FUN_0065d020 resets it to 10 + min(2*0x26578, 10); Game::ResetState 006f4520 = 10; store_game_state saves it Game 0x26578 int _reviveMachineUses FUN_0065d040 increments it after a Revive Machine revive (Entity_Slot::Update 0065d950); FUN_0065d020 uses it to raise the coin cost; ResetState 006f4520 = 0; store_game_state saves it Game 0x26614 DeathmatchManager _deathmatchManager ctor 006f1020 zeroes 0x26614..0x2662c then calls DeathmatchManager::set_type 00429be0 (this+0xc = 0x26620 gets new DeathmatchType{Normal,Ipecac,Bomberman,Ludovico..}, ~Game deletes 0x26620); +0 mode int: Game::End returns if >1 and !=6, Game::Render calls 0x26620 vtable +0x14/+0x18 when ==4, ~150 sites treat players as enemies when >1; FUN_008cb0f0 resets +0/+4. Ends at _dailyChallenge 0x26630 (Ambush 0x265c8 is 0x4c) Game 0x268ac ANM2 _completionWidgetSprite Game::LoadConfigXmls 006f4740 and ReloadStagesXmlOnLuaReset 006f3c00 load gfx/ui/completion_widget.anm2 there; ctor ANM2::constructor; Game::Render 006fbc10 renders it after GenericPrompt::Render; Menu_Options::Update 009b23a0 resets it (GenericPrompt 0x26778 is 0x134 in REPENTOGON, ending here) Game 0x269c4 int _stageNameNumeral ? Level::GetName 007460b0 passes it to get_stage_display_name 00745ca0, which appends it as a roman numeral (table 00b6a950 M/CM/D..) plus "?","?!","..."," Spikes","... Please stop." at 3/4/5/1001/x1000; ResetState 006f4520 = 1; StageTransition::Update alternates on its parity; store_game_state saves it; no writer besides ResetState found Entity 0x2ec float _bleedDamageAccumulator Entity::Update 006ae820: while FLAG_BLEED_OUT (hi &4) adds |pos-prevPos|*_speedMultiplier*0.02 to it, deals floor(it) (cap 10) * (stage*0.3+2.8) damage and keeps the fraction; zeroed when _bleedingCountdown ends, by Init 006a93a0 and RemoveStatusEffects 006ae630 Entity 0x3ac float _slowingAmount Entity::AddSlowing 006ad750 stores its float amount arg here; Entity_Player::Update 00782af0 scales _friction (0x36c) by it while FLAG_SLOW 0x80; Entity_NPC::trigger_kill_item_effects 006d5400 passes it on to AddSlowing of nearby enemies; Init 006a93a0 sets 0.9 Entity 0x400 int _pitfallTimer FUN_007b9b50 (player pitfall update) increments it in _pitfallState 2 and climbs out (state 3) after 0x27 frames on input or forced past 0x77; Entity_Player::AnimatePitfallIn 007abc20, GridEntity_Pit::PostInit 00714320, ENTITY_ROTGUT_face 0057bec0, Entity_Player::room_enter 007a6c50 and Init 006a93a0 zero it next to _pitfallState (0x3fc) Entity 0x404 float _scoreMultiplier ? award_fly_kill_points 009e5c00 (also called by Entity_Player::trigger_npc_death) multiplies the kill points ceil(f(maxHP)*5) by entity+0x404; ctor 006a8290/Init 006a93a0 set 1.0, Init sets 0 for Uriel/Gabriel (271/272) when the Game state flag for them is set; Entity_Pickup::Init 006e02f0 sets 0 on the fly it spawns; Entity_NPC split 006d97e0 gives children half the parent value Entity_Familiar 0xd78 bool _isHourglassRewound Entity_Familiar::TriggerGlowingHourglass 00651890 sets +0xd78=1; Entity_Familiar::room_enter 0062bb70 Remove()s (vtable+0x28) a _isNotCountedAsFollower familiar on room enter only while it is 0, then clears it; Init 0060de70 zeroes it Entity_Familiar 0xd90 Vector _formationOffset Entity_Familiar::UpdateFollowPosition 00634260 lerps +0xd90 toward +0xd98 by 0.1 each frame and returns it rotated by +0xda0 (Duct Tape formation offset from the player); FollowParent 00612bb0 / MoveDelayed 00631050 / GetOrbitPosition 006139b0 pin _pos to it for subtype-55555 familiars; reset_follow_target 006348d0 zeroes it; ai_wisp 0043aa90 pins _pos to it when nonzero Entity_Familiar 0xd98 Vector _formationTargetOffset Entity_Familiar::UpdateFollowPosition 00634260 rebuilds it when player _ductTapeMode (+0x1ef0) differs from +0xda4: mode 1 row (+-32*(n/2+1),0), mode 2 V (24px steps, y 32-|x|), mode 3 circle radius 54, else pos - player pos; reset_follow_target 006348d0 zeroes it; Init 0060de70 sets it with +0xd90 Entity_Familiar 0xda0 float _formationAngle Entity_Familiar::UpdateFollowPosition 00634260 lerps it (0.1, shortest angle, normalized to +-180) toward the player's aim direction (player+0x1630 atan2 - 90) and rotates _formationOffset by it; reset_follow_target 006348d0 / Init 0060de70 zero it Entity_Familiar 0xda4 uint8_t _formationMode Entity_Familiar::UpdateFollowPosition 00634260 caches player _ductTapeMode (+0x1ef0) here and recomputes _formationTargetOffset when they differ; 0 skips the rotation; reset_follow_target 006348d0 / Init 0060de70 set 0xff Entity_Laser 0x438 BitSet128 _activeTearFlags Entity_Laser::update_laser 00973c60 and UpdateHits 0097baa0 copy _tearFlags (0x428..0x434) into 0x438..0x444 each update (only the first one for _oneHit lasers); impact_tear_flag_effects 0096d3f0 clears one-shot flag groups from it after triggering them; ctor 0096cb60 / Init 0096f590 zero it Entity_Laser 0x4f8 EntityPtr _multidimensionalLasers[2] Entity_Laser::update_laser 00973c60 (player-spawned, !_multidimensionalTouched) ShootAngle()s two lasers into +0x4f8/+0x4fc (multiset insert), sets their _disableFollowParent and _multidimensionalTouched, repositions them each frame and Remove()s them when no target; Remove 0097ea30 / ClearReferences 0097e800 loop 2 slots; Init 0096f590 zeroes Entity_Laser 0x504 EntityPtr _prismLasers[4] Entity_Laser::update_laser 00973c60 (!_prismTouched, HomingLaser::find_targets) checks the 4 slots +0x504..+0x510 and spawns the Angelic Prism split lasers into them; Remove 0097ea30 / ClearReferences 0097e800 loop 4 slots from +0x504; Init 0096f590 zeroes them Entity_Laser 0x544 float _impactDistance Entity_Laser::update_line_hits 00971810 keeps the smallest blocking distance along the beam here (with the point in +0x548 and direction in +0x550); Init 0096f590 sets +inf (0x7f800000); UpdateHits 0097baa0 calls impact_tear_flag_effects when it is finite or _isGridHit Entity_Laser 0x548 Vector _impactPosition Entity_Laser::update_line_hits 00971810 stores the closest blocking point (with _impactDistance); UpdateHits 0097baa0 passes &this+0x548 as the position to impact_tear_flag_effects 0096d3f0; ctor 0096cb60 zeroes it Entity_Laser 0x550 Vector _impactDirection Entity_Laser::update_line_hits 00971810 stores the normalized beam-segment direction with the closest blocking point; UpdateHits 0097baa0 passes &this+0x550 as the direction to impact_tear_flag_effects 0096d3f0; ctor 0096cb60 zeroes it Entity_Laser 0x558 float _subLaserDistance ? Entity_Laser::update_laser 00973c60: with the split-laser tear flags, stores _impactDistance (lerped from the old value when blocked) here and spawns/places the 2 _subLasers at that distance; sets +inf when not; Init 0096f590 sets +inf Entity_Laser 0x55c float _subLaserAngle ? Entity_Laser::update_laser 00973c60 stores the beam angle (get_segment_start_dir angle, approach_angle toward it when blocked) at +0x55c and fires/aims the 2 _subLasers from it (SetAimAngle); Init 0096f590 zeroes it Entity_Tear 0x424 float _baseScale Entity_Tear::SetScale 00676120 writes it together with _fScale (clamped >=0.01); HandleCollision 00673660 rescales from it (SetScale(dmgLeft*base/dmg), spawn scale base*1.3); Init 006660a0 sets 1.0 (REPENTOGON names 0x424 _baseScale too) Entity_Tear 0x454 float _baseDamage Entity_Tear::SetCollisionDamage 00675fa0 writes the arg to _collisionDamage and +0x454; Init 006660a0 sets 3.5 like _collisionDamage (REPENTOGON names 0x454 _baseDamage too) Entity_Tear 0x7e9 bool _isHovering ? Entity_Tear::play_fire_sound 00666d40 sets it (and triples a negative _fallingSpeed) when TEAR_ORBIT (dword0 bit16, mask c34b60) is set and clears it with the HYDROBOUNCE mask c345e0; height helper 00676020 treats the tear as gravity-less when it is set or _fallingAccel <= 0.001 Entity_Tear 0x7ea bool _isFireSoundMuted Entity_Tear::play_fire_sound 00666d40 skips the fire sound while it is set; Entity_Knife::UpdateSwingHits 009688d0 sets it on tears it spawns, setter 00753720 (called from Entity_Player::Update) too; Init 006660a0 zeroes it Entity_Tear 0x810 Vector _orbitVelocity ? Entity_Tear::Update 006670f0 subtracts +0x810 from _velocity (Vector -= at 66a93a), recomputes it for the orbit (around _spawnerEntity/_parent or _targetPosition) and assigns it (66abde), zeroes it otherwise; Init 006660a0 sets zero vector Entity_Tear 0x818 float _orbitAngle ? Entity_Tear::Update 006670f0: set to GetAngleDegrees of the offset from the orbit centre when the orbit starts, then advanced each update by _orbitRadius/(90 or 30)*180/pi * update-time delta (0x39c) and normalized; Init zeroes it Entity_Tear 0x81c float _orbitRadius ? Entity_Tear::Update 006670f0: 0 means not yet orbiting; set to +-length(offset to centre) (sign from _tearIdx&1 or the side) when the orbit starts; FromAngle(_orbitAngle)*it gives the orbit position; Init zeroes it Entity_Knife 0x420 BitSet128 _usedTearFlags Entity_Knife::apply_hit_effects 0096ae70 tests _tearFlags & ~(+0x420) & group and ORs the group (c34850, c34bc0) into 0x420..0x42c after triggering its one-shot effect; UpdateHomingPath 00967180 (from Shoot/Update) clears it; ctor 00960a70 zeroes it Entity_Knife 0x467 bool _isPrimaryClub Weapon_Bone::Fire 009fa450 sets knife+0x467 = (slot == 0) on the clubs it creates; Entity_Knife::UpdateSwingHits 009688d0 at swing end calls Entity_Player::ClearDeadEyeCharge only for it (unless _isDeadEyeHit); Init 00960c10 zeroes it Entity_Knife 0x4e4 bool _isDeadEyeHit Entity_Knife::UpdateSwingHits 009688d0 with Dead Eye (373) calls AddDeadEyeCharge only while +0x4e4==0, then sets it; at swing end on the primary club clears Dead Eye charge if 0 and resets it; SetAttackAnimation 009680d0 / SpinAttack 00968430 / Init 00960c10 clear it NPCAI_Pathfinder 0x14 int _direction PathFinder::Reset 007e3260 sets -1; SimulatePlayerMovement 007e8010 derives it from the movement input as a Direction (0 left, 1 up, 2 right, 3 down, -1 none) NPCAI_Pathfinder 0x28 int _moveCountdown PathFinder::Reset 007e3260 zeroes it; update_chase_movement 007e6b90 counts it down by elapsed ticks and picks a new random angle at <1 (reload 45..164, 10 while feared/confused); SimulatePlayerMovement 007e8010 reloads 60 under entity flag 0x8000000, else decrements to 0 and scales drift by it/60 PathFinder 0x4 Vector _movementTarget same struct as NPCAI_Pathfinder: PathFinder::MoveRandomly 007e6300 picks a random destination into +4/+8 when zero, steers toward it, zeroes it on arrival; Reset 007e3260 zeroes it Menu_Character 0x34 float _greedDecoAlpha Menu_Character::Render 0094a500 eases it +0.05 toward 1 while Difficulty is 2/3 (greed), -0.05 toward 0 otherwise, and writes it as _GreedDecoOverlaySprite tint alpha Menu_Character 0x9fc Vector _eastereggPagePosition Menu_Character::Render 0094a500 sets it to menu offset + _PositionX/Y + (404,238) and renders _EastereggPageSprite there (plus its "ButtonIcon" null) Menu_Character 0xc38 vector_Vector _portraitPositions Reset 00948fc0 resizes this std::vector (begin c38/end c3c/cap c40, 8-byte elems) to _numCharacters filled with (240,135); UpdateRotations 0094d500 writes each wheel position; render_portraits 0094bee0 reads them Menu_Character 0xc44 vector_float _portraitScales Reset 00948fc0 resizes this std::vector (c44/c48/c4c) to _numCharacters filled with 1.0; UpdateRotations 0094d500 writes 1/depth per character; render_portraits 0094bee0 copies it next to the position Menu_Character 0xd64 std_string _seedText Reset 00948fc0 clears this std::string (size +0xd74, cap +0xd78); Render 0094a500 draws it in groups of 4 on _SeedPageSprite when non-empty; handle_input 0094c580 edits it Menu_Character 0xd7c int _seedUnlockPageState Menu_Character::Update 00949c20 state machine for _SeedUnlockPageSprite: 1 Appear -> 2 shown -> 3 disappear -> 0; Render 0094a500 draws the page while !=0; Reset zeroes it Menu_Character 0xd80 int _seedUnlockPageTimer Menu_Character::Update 00949c20 counts frames in state 2 and switches _seedUnlockPageState to 3 after 60, zeroing it; Reset 00948fc0 zeroes it PersistentGameData 0x1 bool _isReadOnly ? TryUnlock 00929a20, IncreaseEventCounter 00929b40, AddToCollection 0092a2d0, AddChallenge 0092a7b0, AddBestiaryKill 0092acb0, TryAddBestiaryEncounter 0092aea0 and Manager+0x15 users (Room::SpawnClearAward 007fb250) all skip writing while it is set; Clear 009262b0 zeroes it PersistentGameData 0x2 bool _isSteamAchievementsEnabled ? Clear 009262b0 sets 1; TryUnlock 00929a20 only calls UnlockSteamAchievement and Manager::queue_achievement_popup when set; UnlockSteamAchievement 00929790 also checks it PauseScreen 0x4 int _menuType ? ctor 009b5320 sets 0, Show 009b7680 sets 1; Update 009b5d20 picks the ANM2 at +0x140 (minisprite) when ==1 else +0x2c (mainsprite) for every selection test Weapon 0x8 EntityPtr _technology2Laser Weapon::Fire 009f3540 fires a laser into +0x8 when the owner has Technology 2 (0x98) and Removes it (vslot 0x28) when not shooting; Weapon::ClearReferences 009f3320 (and Weapon_Brimstone/Bone/Knife/Laser/UrnOfSouls ClearReferences) Remove it and erase the multiset ref Weapon_Brimstone 0x48 EntityPtr _mainLaser Weapon_Brimstone::GetMainEntity 009f3160 returns +0x48, GetFocusEntity 00a02870 returns it under modifier bit 4; ClearReferences 00a02790 Removes it; Fire 009ff360 stores/tests the brimstone laser there (+0x458, +0x3bc) GridEntity_Rock 0x184 vector_Vector _rubbleOffsets BeginBatches 00719f80 pushes random (8-r16, 8-r16) Vectors into this std::vector (begin 184/end 188/cap 18c); Render 00719ad0 draws _rubbleAnim once per entry GridEntity_Door 0x154 int _updateCount ? GridEntity_Door::Update 0070c5c0 increments it every update; BeginBatches 00711590 zeroes it GridEntity_Door 0x168 ANM2 _sparkleSprite LoadSprite 0070d3f0 loads gfx/door_sparkle.anm2 into +0x168; Update 0070c5c0 plays "Sparkle" on it (Rewind of its AnimationState +0x198); Render 0070d1e0 renders it; Free 0070bb20 resets it GridEntity_Door 0x392 bool _isUnlockedByPlayer TryUnlock 00710480 sets it after the player pays a key/coin; Update 0070c5c0 keeps a challenge door (target type 11) open only while it is set; Open 00710dd0 tests it; BeginBatches 00711590 clears it HUD 0x0 uint8_t _playerHUD[0x36e0] PlayerHUD[8], stride 0x6dc; ctor 006f2060 eh_vector_constructor(this, 0x6dc, 8, PlayerHUD ctor 006efc70); InvalidateCraftingItem 009a2c70 walks the 8 entries (stride 0x6dc, owner player at +0) HUD 0x36e0 Font _font HUD::LoadGraphics 009a1a30 Font::Load(font/MPlus_12b.fnt) into +0x36e0 (ctor 006f2060 Font ctor after the PlayerHUD array) HUD 0x372c Font _fontKR HUD::LoadGraphics 009a1a30 Font::Load(font/KR_Font14.fnt) into +0x372c HUD 0x5494 int _bossHPBarDamageFlash EntityList::Update 004186c0 sets Game+0x22e98 (HUD +0x5494) = 8 when the boss bar fill drops; HUD::Update 009a2990 decrements while >=0; boss bar render 009a7c90 blinks white/red on odd frames; reset 009a19a0 = -1 HUD 0x5498 int _bossHPBarHealFlash EntityList::Update 004186c0 sets Game+0x22e9c (HUD +0x5498) = 8 when the boss bar fill rises (and clears the damage flash); HUD::Update 009a2990 decrements while >=0; boss bar render 009a7c90 tints on odd frames; reset 009a19a0 = -1 HUD 0x54d4 bool _isRefreshTick ? HUD::Update 009a2990: when set, decrements _hudRefreshCountdown, clears it, zeroes _hudRefreshType at <1; reset 009a19a0 clears it (no writer of 1 found in the dump) PlayerHUD 0xa short _lastHeartFlash PlayerHUD::Update 00842230 sets (9-f)*255/9 while the player has exactly one heart (frame%45<10, not with Holy Mantle 313 effect), else 0; RenderHearts 00843df0 uses it /255 as heart color offset PlayerHUD 0x6ad bool _isCraftingItemDirty HUD::InvalidateCraftingItem 009a2c70 sets PlayerHUD[i]+0x6ad=1 for the player (or all); Entity_Player::bag_of_crafting_collect 007d5170 sets it on pickup Room 0x12c0 int32_t _aliveEnemyCount Entity_Player::spawn_dark_esau 007b0070 decrements it for a spawned NPC whose vtable slot 18 (CanShutDoors) is true; AIs read Room+0x12c0 + 0x12c4 as the door-holding enemy count (Gate 0045fc00, Cage 004878a0) Room 0x12c8 int32_t _aliveBossCount spawn_dark_esau 007b0070 decrements it when slot 19 (IsBoss) is also true; Cage/Sisters Vis subtract 0x12c8 + 0x12cc from the enemy count (non-boss enemies) Game 0x67788 int _ascentTimer Dad's Note white-out: set to 1 by the AddCollectible body 0x762675, counted up by Game::Update 0x6fb92e (shake n/6+2, StartStageTransition(0,5,0) past 0x59), Game::Render alpha n/90; notes/systems/ascent.md PlayerCostumeMap 0x4 int _layerID Entity_Player::RenderGlow 0078dc60 passes Entity_Player+0x1230 (entry 0 +4) as the layer id to ANM2::GetLayer / Sprite::RenderLayer of costume desc[_index]; UpdateCostumes 0075bf00 stores the matched LayerState->_layerData id (-1 when none) at 0x1230+i*0x10; ClearCostumes 0075dfe0 sets -1 PlayerCostumeMap 0x8 int _priority Entity_Player::UpdateCostumes 0075bf00 skips a costume layer when CostumeSpriteDesc+0x118 priority < 0x1234+i*0x10, else copies that priority in (init -1); ClearCostumes 0075dfe0 sets 0 CostumeSpriteDesc 0x114 ItemConfig_Item* _item Entity_Player::UpdateCostumes 0075bf00 reads desc+0x114 as {type,id} (tests type 3 id 0x271 Mega Mush, types 1/3/4 id 0x14); AddCostume compares it with the ItemConfig_Item* arg while walking the 0x130-stride vector CostumeSpriteDesc 0x118 int _priority Entity_Player::UpdateCostumes 0075bf00 compares desc+0x118 with PlayerCostumeMap _priority per layer and copies it there when it wins CostumeSpriteDesc 0x12c int _playerType Entity_Player::UpdateCostumes 0075bf00 rebuilds a mapped desc when *(desc+0x12c) != Entity_Player _playerType DeathmatchManager 0xc DeathmatchType* _type DeathmatchManager::set_type 00429be0 deletes the old object at this+0xc via vtable slot 0 and news DeathmatchTypeNormal/Ipecac/Bomberman/Ludovico/Sumo/Knockout/SwordFight/MachineGun/Indigestion/KnifeFight into it (Game+0x26620); ~60 sites call its vtable (+0x44 etc.), Game::Render calls +0x14/+0x18 on it Game 0x26550 uint32_t _debugCurses Level::GetCurses 00748490 returns ~prevented & (forced | Game+0x26550 | _curses); FUN_00685f50 (only caller Console::RunCommand 'curse' command) stores its argument there; reset_run_state 006f43b0 zeroes it; NpcAI::ENTITY_MOLE, Entity_Slot::SetPrizeType, setup_loot_preview OR it into the curse mask the same way ProceduralItemManager 0x0 std_vector_ProceduralItemPtr _proceduralItems begin/end at Game+0x67758/0x6775c: ItemPool::CreateGlitchedCollectible 009dcc70, Entity_Pickup::Update 006e3940, Isaac::SpawnLocust 005b35c0, reroll_collectibles_on_damage 005c88a0 index *(begin + ~id*4) bounded by (end-begin)>>2; ~ProceduralItemManager 009dc750 Tidy()s it at +0 ProceduralItemManager 0xc KAGE_SmartPointer_RenderTargetBase _renderTarget Entity_Pickup::load_collectible_gfx 006e1e90, Entity_Player::AnimateCollectible 007ab380, collectible_icon_render 00848c20, HUD::render_extra_hud call KAGE::SmartPointer::operator_assign(&Game+0x67764) to bind it for glitched items; ~ProceduralItemManager 009dc750 releases the ref at +0xc/+0x10 via g_renderTargetReleaseFn (ctor zeroes 0x67764/0x67768) PauseScreen 0xfac int _playerIdx PauseScreen::Show 009b7680 sets this+0xfac (Game+0x24a20) to 0, or online to the index of the local player in _playerList (-1 if absent); FUN_009b5800 / Menu_Options::Update 009b23a0 / ~10 pause-menu item renderers (008d5f70, 008d7cb0) call Game::GetPlayer(g_game, it) to show/control that player PlayerManager 0xd0 std_vector_EntityPlayerPtr _extraPlayers ? begin/end Game+0x1bb78/0x1bb7c (ctor zeroes 0x1bb78..0x1bb80): EntityList::Update 004186c0 runs Update (vtable +0xc) on each element after the main player list with flag 0x4000 like players; elements have Entity_Player _controllerIndex (+0x1618) and Entity_NPC::TransferControl 006d88b0 / NpcAI::ENTITY_HEART retarget their _target (+0x3c4) when the NPC they control changes; ~PlayerManager 009b8ea0 deletes every element (owned) PlayerManager 0xc8 Entity_Player* _stageTransitionPlayer Game::StartStageTransition tail (006fdf4d, after the noreturn log call) stores the player argument at Game+0x1bb70; StageTransition::Update 0092f1c0 plays AnimateCollectible(0x7f,"Pickup","PlayerPickupSparkle") for this player and PlayExtraAnimation for the others; Entity_Player dtor 00754ed0 nulls it if it is this; ctor zeroes PlayerManager 0xcc Entity_Player* _roomTransitionPlayer RoomTransition start 0082ee40 (at 0082efcb) stores StartRoomTransition's player argument at Game+0x1bb74; RoomTransition::ChangeRoom 00830950 uses it (fallback GetPlayer(0)) and teleports it for type 0x11, StartBossIntro reads it, FUN_00707ad0 passes it back to StartRoomTransition; Entity_Player dtor 00754ed0 nulls it Game 0x68d6c int _deathCertificateExitTimer Entity_Pickup::RemoveOtherOptions 006ee750 sets 0x5a when an option collectible (variant 100) is taken in dimension 2 (Death Certificate) and it is < 1; Game::Update 006fadc0 counts it down with _screenShakeTimer = 10 and at 0 (still in dimension 2) StartRoomTransition back (leaveDoor -1); Entity_Pickup::Update / Entity_Player::init_player_type_state test it > 0; ResetState zeroes, store_game_state saves it Ambush 0x20 bool _isActive Room::IsAmbushActive 0081e240 returns byte Game+0x265e8 (_ambush+0x20); Room::Update 00802980 calls Ambush::Update while set in room types 0xb/0x11; GridEntity_Door::Open 00710dd0 stays shut in type 0xb while set; HUD::Render draws the wave counter while set; FUN_007eb010 / ctor clear it, store_game_state saves it Game 0x67748 int _magicSkinUses FUN_005b18b0 adds to it, called from Entity_Player::UseActiveItem 005b39d0 (Magic Skin case: spawn collectible, lose a heart container); FUN_005b18a0 getter; ItemPool::GetCollectible helper FUN_007333f0 returns Magic Skin (0x282) again with chance it*0.01 and 1/(4-it) unless owned / already in a room; reset_run_state zeroes, store_game_state saves it Game 0x2658a bool _isStarted Game::Start 006f5320, StartDailyChallenge 006f6dd0, StartDebug 006f7750, FUN_006f72f0 (rerun start) and Manager::start_pending_game 00959720 set byte Game+0x2658a = 1; Game::Exit 006fa0c0 returns at once when it is 0 (nothing to save); ctor zeroes the word 0x2658a Game 0x1bbe0 std_vector_OnlinePlayerStats _onlinePlayerStats ? 0x68-byte records (uint64 user id at +0, 0x16 dword counters from +0xc): FUN_0065d090 returns &Game+0x1bbe0 for Player_stats_add (Entity_Player::TakeDamage, Entity_Slot::Update revive); online_stats_finalize 008ca600 walks begin/end (/0x68) logging "Finalized stats for user %llu"; write_game_state_to_stream 009172f0 writes the count and records; Game::Start / LoadConfigXmls clear it (end=begin); ctor zeroes 0x1bbe0..0x1bbe8 right after Seeds::constructor (Seeds is 0x5c, ends here) Game 0x67744 bool _isRoomRespawned Game::room_restart_flag_set 005b1890 sets 1 after D7's Room::RespawnEnemies; ScoreSheet::add_pickup_points 009e5ab0 and award_fly_kill_points 009e5c00 award nothing while set; Game::StartRoomTransition 006fd7c0 clears it; ctor/reset_run_state zero Game 0x68d70 bool _isPocketItemRewindSaved Entity_Player::pocket_use_input 007a3d30 calls Game::save_rewind_state(-1) then sets it 1 ("Action PillCard Triggered"); save_rewind_state 00705ee0 does nothing while it is set; Room::update_door_transitions 007f01c0 clears it after StartRoomTransition; ctor/ResetState/reset_run_state/LoadConfigXmls clear RoomTransition 0x4 int _frame RoomTransition start 0082ee40 zeroes this+4; RoomTransition::Update 008318a0 compares it with this+8 and resets it on mode change; Game::Render 006fbc10 fades by Game+0x1b840 / Game+0x1b844 in modes 2/3; Game::interpolate_update steps the progress float +0xc by 0.5/duration while frame != duration RoomTransition 0x8 int _duration RoomTransition start 0082ee40 sets this+8 = 0x1e (or the per-type value); Update 008318a0 ends the phase when this+4 >= it; Game::Render 006fbc10 divides _frame by it RoomTransition 0x1c int _animation RoomTransition start 0082ee40 stores StartRoomTransition's type argument (<= 0x16) at this+0x1c; ChangeRoom / Update switch on it (3 teleport, 0xb, 0xc, 0xd, 0x11, 0x13 minecart, 0x14); FUN_00707ad0 restarts the transition after Level::Init when it is 3/0xb/0xc/0xd RoomTransition 0x24 uint32_t _flags ? RoomTransition start 0082ee40 zeroes this+0x24; Level::generate_greed 0073e0a0 tests bit 0 (skip) and bit 1 (shop room: clear room flag 0x10) of Game+0x1b860 while a transition is active; FUN_00429570 / FUN_00707ad0 clear it with the rest of the transition RoomTransition 0x234 EntityPtr _minecart Entity_NPC::HandleCollision 006cd410: player touching a minecart (0x3c5.10) calls StartRoomTransition(..,0x13,..) then assigns the npc to Game+0x1ba70 with the EntityPtr multiset insert/erase; RoomTransition::Update 008318a0 reads this[0x8d] and moves it when it is still 0x3c5.10 RoomTransition 0x238 int _bossIntroBossId RoomTransition::StartBossIntro 0082f1c0 stores bossID1 in this+0x238; RoomTransition start 0082ee40 zeroes it; Update 008318a0 mode 2 waits on the versus-screen ANM2 when nonzero else changes room at once; Game::Render / PauseScreen::Render / update_ingame_input test Game+0x1ba74 != 0 (versus screen up) StageTransition 0x4 int _frame Game::StartStageTransition tail (006fdf68) zeroes Game+0x1ba7c; StageTransition::Update 0092f1c0 increments in_ECX[1] each frame and resets it when it reaches in_ECX[2]; Game::Render 006fbc10 fades by frame/duration in states 2/3; start_pending_game sets 0x31 of 0x32 StageTransition 0x8 int _duration Game ctor 006f1020 and Manager::start_pending_game 00959720 set Game+0x1ba80 = 0x32; StageTransition::Update 0092f1c0 sets 0xf and ends the phase when _frame >= it; Game::Render divides by it Game 0x2510c int _emoteMenuState ? +4 of an unnamed online emote-menu object at Game+0x25108 (ctor: byte +0, dword +4, OnlineEmotes::constructor at +8): FUN_008d1f20 runs it as 0 closed / 1 opening / 2 open / 3 closing; online_chat_update 0091dc10, PauseScreen::Update 009b5d20 and input filter FUN_00900ca0 are blocked while != 0; Game::Exit and the menu reset zero it (not part of _revivePlayerMenu, which ends at 0x25108) Game 0x25954 OnlineStatsScreen _onlineStatsScreen ? Game ctor builds it at Game+0x25954 (byte +0, ANM2 +4 = 0x25958, ANM2[4] at 0x25a6c); online_stats_finalize 008ca600, CompletionWidget::Load 008ca2c0, netplay_lobby_render 008caa30, ~OnlineStatsScreen 008ca220 all run with ECX=Game+0x25954 (not part of _revivePlayerMenu) OnlineStatsScreen 0x0 bool _isActive Game::End 006f9770 calls online_stats_finalize only while byte Game+0x25954 == 0; Game::Update / update_ingame_input return early and PauseScreen is not updated while it is set; StageTransition::Update skips Game::End while set; update_ingame_input clears it after the continue vote; Game::Exit clears it Game 0x183a0 bool _isLevelGenerating Level::Init 00744940 sets byte Game+0x183a0 = 1 (00744aec) before generating and clears it at the end (00745a67); Level::CanSpawnTrapDoor 0074b5d0 and Level::GetRoomStageType 0074f690 branch on it; Entity_Player::room_enter 007a6c50 skips spawn_low_health_blood_splat and FUN_00823540 skips the colour-modifier lerp while set Game 0x1a738 PreloadManager _preloadManager Game::LoadConfigXmls 006f4740 calls load_preloads_xml 009c6860 with ECX=Game+0x1a738; ctor builds a std::map head (new 0x50, color 0x101) at +0 and size +4 right after RoomConfig's inline ctor ends at RoomConfig+0x1e24; PlayerManager::enter_level looks up group "player tears" in that map for PreloadManager::load_group (so _roomConfig is 0x1e28, not 0x1e30) RoomConfig 0x1c54 std_vector_RoomConfig_Curse _curses inline RoomConfig ctor in Game::constructor (esi=Game+0x18910) zeroes esi+0x1c54/0x1c58/0x1c5c; Isaac::GetCurseIdByName 0086f9f0, Level::GetCurseName 00746260 and Level::AddCurse 0074a2d0 walk begin/end Game+0x1a564/0x1a568 in 0x1c-byte entries ItemOverlay 0x11a4 ANM2 _megaMushPlayerSprite Game ctor ANM2::constructor at Game+0x1d1d8 (= _itemOverlay+0x11a4); ~ItemOverlay 009abd80 resets ANM2 at +0x11a4; Entity_Player::trigger_collectible_effect_removed 00793970 for Mega Mush (0x271) copies the player sprite into it, zeroes its layer offsets and plays "TransformBack"; ItemOverlay::Render draws it GameOver 0x11c bool _isStopSoundsPending DeathScreen::Show 009997c0 (ECX=Game+0x1d520, from Game::End) sets +0x11c = 1; Game::Update 006fadc0 while _gameOver != 0 calls SFXManager::StopLoopingSounds once when set and clears it; LoadConfigXmls / ReloadStagesXmlOnLuaReset clear it Leaderboard 0x4 int _state Leaderboard::constructor 00856f70 zeroes this+4; Leaderboard::Update 00857450 advances it 1 -> 2 ("Loading") -> 3 ("DisplayRankStart"); Game::Update 006fadc0 runs Leaderboard::Update and returns while Game+0x1d654 != 0; Game::IsPaused, update_ingame_input, FUN_008d1f20 treat != 0 as a leaderboard on screen; Game::Exit zeroes it GenericPrompt 0x130 bool _isOnlineVote GenericPrompt::handle_input sends the choice through online_vote_send when byte this+0x130 is set; Game::Update 006fadc0 returns after GenericPrompt::Update and Game::Render 006fbc10 draws the completion widget vote counter ("%d/%d") while Game+0x268a8 is set; Menu_Options::Update / ctor clear it Game 0x676b0 int _rewindsThisFloor ? Game::rewind 00706020 increments it on every Glowing Hourglass rewind; PlayerManager::trigger_level_start 009bb960 and Game::ResetState 006f4520 zero it Game 0x18390 int _bombPickupsSpawned ? Game::BombTearflagEffects 007009a0: for the bomb flag set at DAT_00c34990.. spawns a random pickup (5.0) when rand%100 > it + 0x24, then increments it, so each drop lowers the chance; Level::Init 00744940 zeroes it per floor; Level::RestoreGameState restores it ItemConfig 0x0 vector_ItemConfigItemPtr _collectibles ItemConfig::GetCollectible 0072fd10 bounds (this[1]-this[0])>>2 and returns *(begin+id*4); FUN_007252a0 (called by ItemConfig::destructor 00725190) deletes each 0xe8-byte ItemConfig_Item; Manager+0x2a408 = end (153 uses) ItemConfig 0xc vector_ItemConfigItemPtr _trinkets ItemConfig::GetTrinket 0072fd70 indexes this[3]/this[4] with id&0x7fff; Manager+0x2a410/0x2a414 (PlayerManager::AnyoneHasTrinket); FUN_007252a0 deletes 0xe8-byte items ItemConfig 0x18 vector_ItemConfigItemPtr _nullItems Lua Config:GetNullItem 0072fda0 indexes +0x18/+0x1c; Manager+0x2a41c/0x2a420: Entity_Player::reroll_collectibles_on_damage 005c88a0 AddCostume(nullItems[playerForm+0x28]) ItemConfig 0x24 vector_ItemConfigCardPtr _cards ItemConfig::GetCard 0072fe00 indexes this[9]/this[10]; FUN_007252a0 deletes 0x70-byte ItemConfig_Card (3 strings); Manager+0x2a428/0x2a42c (Entity_Effect::setup_loot_preview) ItemConfig 0x30 vector_ItemConfigPillPtr _pillEffects Lua Config:GetPillEffect 0072fdd0 indexes +0x30/+0x34; FUN_007252a0 deletes 0x54-byte ItemConfig_Pill; Manager+0x2a434/0x2a438 (Console::FillOmnicomplete) ItemConfig 0x44 vector_ItemConfigPlayerFormPtr _playerForms Entity_Player::reroll_collectibles_on_damage 005c88a0 loops ids <0x10 over Manager+0x2a448/0x2a44c (= ItemConfig+0x44), calls IncrementPlayerFormCounter(id,-1) and AddCostume(null item at form+0x28); FUN_007252a0 deletes 0x30-byte entries (1 string) ItemConfig 0x50 std_string _wispGfxRoot ? std::string at Manager+0x2a454 (= ItemConfig+0x50) is the prefix copied before "hungry_%d.png" (Entity_Familiar::load_config_graphics 0064a830) and anm2= overrides (anm2_apply_gfx_overrides 0064aab0); load_wisps_xml 0072a1b0 reads the root "gfxroot" attribute; destructor 00725190 frees a string here ItemConfig 0x104 vector_ItemAvailabilityFn _availabilityFilters Item::IsAvailable 007300d0 (flag 8) calls every function pointer in Manager+0x2a508..0x2a50c (= ItemConfig+0x104) and rejects on false; ItemPool::GetCardImpl 007376c0 and Entity_Player::ModelingClay_roll 007dbd70 push a filter, roll, then pop it; destructor 00725190 Tidy(+0x104) MusicManager 0x310 int _queuedMusicID MusicManager::GetQueuedMusicID 007e1790 returns +0x310, or +0x30c when 0; Manager ctor 00950610 zeroes Manager+0x2a2cc (= Music+0x310) MusicManager 0x314 float _pitch Manager ctor 00950610 sets Manager+0x2a2d0 (= Music+0x314) to 1.0 beside _targetPitch MusicManager 0x318 float _targetPitch Lua MusicManager:PitchSlide 007e24c0 writes +0x318; Manager ctor 00950610 sets Manager+0x2a2d4 to 1.0; Game::Exit 006fa0c0 resets it to 1.0 then Music::SetPitchAll MusicManager 0x31c vector_MusicEntry _entries NpcAI::ENTITY_MOTHERS_SHADOW 0056ffa0 / Manager+0x2a2d8..0x2a2dc (= Music+0x31c) element count (end-begin)/0x60 (MusicEntry size) bounds a music id before writing _queuedMusicID (0x2a2cc); ctor zeroes begin/end/cap SoundEffects 0x0 vector_SoundEffect _sounds SoundEffects::ClearVolumeModifier 0092e430 walks (this[1]-this[0])/0x1b8 entries (SoundEffect size); Manager+0x2a328 end (EntityConfig::PreloadResources, Entity_Player::preload_item_sounds bound ids by /0x1b8); Manager::destructor std::vector::_Tidy SoundEffects 0x10 float _volumeModifier Manager::Update 00954cd0 eases Manager+0x2a334 (= SFX+0x10) toward 1.0 by _volumeModifierStep each unpaused frame and calls ClearVolumeModifier; BossOverlay::update 004212c0 resets it to 1.0; NpcAI::ENTITY_DOGMA_angel sets -10.0; ctor sets 1.0 SoundEffects 0x14 float _volumeModifierStep Manager::Update 00954cd0 uses Manager+0x2a338 (= SFX+0x14) as the per-frame step for _volumeModifier; ctor 00950610 and BossOverlay::update/FUN_00421260 set it to 0.005 AchievementOverlay 0x839c bool _isPopupBlocked Manager::Update 00954cd0 only calls AchievementOverlay::Update and Manager::Render 009555c0 only draws the popup while Manager+0x29fb8 (= Overlay+0x839c, the byte after the 0x282 x 0x34 entry array) is 0; Manager::ShowCutscene 00958e60, BossOverlay::update, Room::SpawnClearAward set 1; Game::Update 006fadc0 clears; AchievementOverlay::load_graphics 00931550 and setter 005cd800 clear this+0x839c Manager 0x2a530 InfoDisplay _infoDisplay ctor 00950610 builds 4 maps (0x128-byte nodes) at +0x2a530/+0x2a538/+0x2a540/+0x2a548 then InfoDisplayEntry ctor; Manager::destructor 00951160 InfoDisplay::~InfoDisplay between ItemConfig and the challenge vector; InfoDisplayConfig::parse_item_node 00854940 ECX=Manager+0x2a530 InfoDisplay 0x0 std_map_int_InfoDisplayEntry _collectibles PauseScreen::update_items_page 008d3890 looks a collectible id up in the map at Manager+0x2a530 (value at node+0x14), else the default entry +0x20 InfoDisplay 0x8 std_map_int_InfoDisplayEntry _trinkets PauseScreen::update_items_page 008d3890 and FUN_008d4040 look up id&0xffff7fff (trinket, golden bit stripped) in the map at Manager+0x2a538, else the default entry Manager+0x2a550 InfoDisplay 0x20 InfoDisplayEntry _defaultEntry ? ctor 00950610 runs InfoDisplayEntry::InfoDisplayEntry on Manager+0x2a550 (0x114 bytes, = map node value size 0x128-0x14); update_items_page 008d3890 falls back to it when an id has no entry Manager 0x2a664 vector_ChallengeParam _challengeParams Manager::GetChallengeParams 009569a0 returns begin + min(id, (end-begin)/0xa4 - 1)*0xa4 from +0x2a664/+0x2a668; Menu_CustomChallenge::Update/Render, check_challenge_unlocks; ctor zeroes begin/end/cap, destructor std::vector<164byte>::_Tidy EntityConfig 0x8 vector_EntityConfig_Player _players Manager+0x2a678/0x2a67c (= EntityConfig+0x8): Menu_Character::SelectRandomChar, Entity_Player::RestoreGameState, costume_path_apply_skin_color index (end-begin)/0x148 (EntityConfig_Player size); ctor 00950610 zeroes them EntityConfig 0x14 vector_EntityConfig_Baby _babies Entity_Player::InitBabySkin 007bf040 / GetGlitchBabySubType 007c2e90 bound and index Manager+0x2a684/0x2a688 (= EntityConfig+0x14) with stride 0x38; Entity_Familiar::ai_lil_spewer too PersistentGameData 0x38 bool _achievements[642] PersistentGameData::TryUnlock 00929a20 / Unlocked 00929aa0 read/write this+0x38+id (id<=0x281); write 009282e0 chunk 1 = 0x282 bytes from +0x38; Manager+0x4c+id users (Manager 0xe4/0xe5/0x6d/0x1e7/0x142/...) PersistentGameData 0x2bc int _eventCounters[523] PersistentGameData::IncreaseEventCounter 00929b40 adds to this[0xaf+id]*4 (= +0x2bc); write 009282e0 chunk 2 = 0x20b ints; Menu_Stats::Update reads Manager+0x2d4 (counter 1) and +0x2f8; Manager 0x324/0x328 are counters 21/22 PersistentGameData 0xea0 int _cutsceneCounters[27] Manager::ShowCutscene 00958e60 increments [cutsceneID] and [2] (credits, when id!=1) and sets changes-made; BossOverlay::update 004212c0 increments Manager+0xf18 (= [25]) with cutscene 0x19; write 009282e0 chunk 8 = 0x1b ints from +0xea0 PersistentGameData 0xf0c int _lastDifficulty Menu_Character::handle_input 0094c580 stores Difficulty into Manager+0xf20 (= +0xf0c); Menu_Character::Reset 00948fc0 reads it back; write 009282e0 chunk 9 (2 ints at +0xf0c) PersistentGameData 0xf10 int _characterMenuShown Menu_Character::set_character_menu_shown 009495f0 writes Manager+0xf24 (= +0xf10, normal/tainted page); Reset 00948fc0 and LoadGraphics read it; Menu_OnlineLobby::update_controls flips 1-x; MenuManager::start_game tests ==1; 2nd int of write chunk 9 PersistentGameData 0xf8c bool _isFileLoaded Clear 009262b0 sets 1; load paths FUN_0092bf00 / TryImportABLocalSave 0092c2c0 store the read result; Game::Exit 006fa0c0 and Menu_Save::Update 009d9c60 only save when changes-made && Manager+0xfa0 (= +0xf8c) Manager 0x4a938 StringTable _stringTablePc Manager::Init 00952410 StringTable::Load(this+0x4a938,"stringtable_pc.sta") right after stringtable.sta into +0x4a920; ModManager::UpdateWorkshopMods translates "#MOD_UNINSTALLING" with it; Manager::destructor clears the two tables (maps +0x4a924/+0x4a92c and +0x4a93c/+0x4a944) Manager 0x4abc7 bool _isHotkeysEnabled Manager::update_hotkeys 009548d0 skips all hotkeys (music mute toggle, fullscreen...) when this+0x4abc7 is 0; Console::Update 0068b260 clears it while the console is open; Menu_KeyConfig::Update 008d8b00 sets it to !rebinding; Manager::Init sets 1 Manager 0x4abd4 int _activeControllerIndex input_poll_active_device 00954b40 stores the index (device+0xc) of the first device with a pressed action and, in game, Entity_Player::SetControllerIndex(player 0) with it; Manager::Init 00952410 zeroes it Manager 0x4b0d4 int _selectedDifficulty Menu_Character::handle_input 0094c580 sets it to Difficulty; Menu_Game::Update 00981140 (Continue) copies the saved GameState difficulty (Manager+0xfac); FUN_00951f60 tests ==2||3 (greed); Manager::Init zeroes it Manager 0x4b0d8 LobbySettings _lobbySettings LobbySettings::reset 0085b050/0085b280 compares ECX to Manager+0x4b0d8 before re-running Menu_OnlineLobby::init_lobby_view; size 0x54 (ints +0..+0xc, strings +0x18/+0x30, vector +0x48) ends before _starting 0x4b130 LobbySettings 0x4 int _gameMode ? Menu_Online::update_mode_select 008ccc70 cycles Manager+0x4b0dc (= +0x4) through 0..4 (left/right); FUN_008cc530 / FUN_008eba50 test 4/5; Menu_Challenge::Update zeroes it; reset zeroes it LobbySettings 0x8 int _challenge ? Menu_OnlineLobby::Render 008e8af0 draws the "ChallengeName" layer frame from Manager+0x4b0e0 (= +0x8) - 1; Menu_Challenge::Update/reset test it with challenge 0x15; reset zeroes it LobbySettings 0xc int _maxPlayers LobbySettings::reset 0085b050 sets +0xc = 4; Menu_Online::update_mode_select 008ccc70 cycles Manager+0x4b0e4 (= +0xc) within 2..4 LobbySettings 0x18 std_string _seed ? Menu_Challenge::render_seed_text 008cd7b0 copies Manager+0x4b0f0 (= +0x18) for the "SeedPos" text; update_mode_select 008ccc70 clears it (size +0x28); reset clears it LobbySettings 0x30 std_string _password FUN_008de690 (strs "lobby_password") edits Manager+0x4b108 (= +0x30) while its size (+0x40, Manager+0x4b118) < 8; Menu_OnlineLobby::Render 008e8af0 shows "Show_Password" when the size is non-zero; PauseScreen::Update and netplay_lobby_menu_update test the size Manager 0x4b134 int _startPlayerType Manager::StartNewGame 00958aa0 stores playerType here, challenge at +0x4b138 and difficulty at +0x4b198; Manager::save_game_state copies it into GameState; Console::RunCommand sets it Manager 0x4b138 int _startChallenge Manager::StartNewGame 00958aa0 stores the challenge argument here Manager 0x4b198 int _startDifficulty Manager::StartNewGame 00958aa0 stores the difficulty argument here (after the _startSeeds copy) Manager 0x4b278 vector_LobbyMember _lobbyMembers ? 0x14-byte entries whose +4 points at a user object with a 64-bit id at +8/+0xc: Menu_OnlineLobby::init_lobby_view 008e9ac0, online_vote_update 0091c320 and write_game_state_to_stream 009172f0 (writes count (end-begin)/0x14 then each id); NetplayManager::send_message 0090eca0 Manager 0x4b288 bool _isMenuPending Game::Update 006fadc0 sets it (with _pendingMenuState and the fade color) when the end fade completes; Manager::start_pending_menu 00959d00 tests it, unloads the game and calls MenuManager::SetState(_pendingMenuState) Manager 0x4b28c int _pendingMenuState Manager::start_pending_menu 00959d00 MenuManager::SetState(this+0x4b28c,1) and skips netplay_leave_lobby when it is 0x11; Game::Update 006fadc0 sets 1/2/3/0x13 by fade target; Manager::Update copies the cutscene's next state (Cutscene+0x854) Manager 0x4b290 KColor _pendingMenuFadeColor Game::Update 006fadc0 stores the KColor::SetFromARGB result in +0x4b290..+0x4b2a0; Manager::start_pending_menu 00959d00 copies the 5 dwords to MenuManager _fadeInColor (+0x1c..+0x2c) Manager 0x4b3ca bool _isWindowFocused FUN_009aa020 (focus callback) sets it to param!=0; Game::Update 006fadc0 shows the pause screen when it is 0 and Options PauseOnFocusLost is on (offline); Game::interpolate_update gates on it; Manager::Init sets 1 HomingLaser 0x48 vector_HomingLaserBezier _bezier HomingLaser::CalculateSamples 0099e360 counts (+0x4c - +0x48)/0x18 bezier segments (returns if <2) and walks them; ctor 0099c290 zeroes +0x48..+0x50, dtor FUN_0099c310 Tidy(+0x48); seen as Entity_Laser 0x4ac/0x4b0 (HL at 0x464: ClearLaserSamples 0096f4e0 / Init 0096f590 set end=begin) and Entity_Knife 0x4b0/0x4b4 (HL at 0x468: Knife::Update 00961b00 runs bezier_closest_point over the 0x18-byte segments, Free 00960b50 Tidy) HomingLaser 0x44 float _totalLength HomingLaser::CalculateSamples 0099e360 zeroes +0x44, adds each bezier segment length to it, then divides the cumulative per-segment lengths by it (skipped when 0) and uses it/200 for the sample spacing HomingLaser 0x1c vector_Vector _samples Entity_Laser::get_segment_start_dir 0096d160 and update_line_hits 00971810 walk _homingLaser+0x1c..+0x20 as Vector points (>>3); Entity_Laser::Init 0096f590 / ClearLaserSamples 0096f4e0 / Knife::InitHomingPath 00961320 set end=begin; ctor 0099c290 zeroes it HomingLaser 0x28 vector_Vector _nonOptimizedSamples ? Entity_Laser::find_nearest_grid_hit 00970cb0 walks _homingLaser+0x28..+0x2c as Vectors (>>3); Init/ClearLaserSamples/InitHomingPath reset end=begin with +0x1c and +0x34 (name from REPENTOGON) EntityList 0x40 EntityList_EL _updateEL Lua Room:GetEntities 00428a50 returns Room+0x1258 = EntityList(Room+0x1218)+0x40; ENTITY_BEAST_ultra_famine 00444cc0 / ENTITY_DOGMA 004aafa0 / ENTITY_GIDEON 004b1ee0 loop data(+0x44)[i] for i < size(+0x4c), DOGMA copies it as EntityList_EL EntityList 0x50 EntityList_EL _renderEL EntityList::render_up_to 004199d0 walks the depth-sorted render list data +0x54[i] for cursor <= i < size +0x5c; Room::render_water 00820fd0 calls vtable+0x1c on Room+0x126c[i] EntityList 0xa0 uint32_t _renderCursor EntityList::render_up_to 004199d0 starts at +0xa0, increments it per entity rendered and stops at the first with depth >= arg; Room::render_water 00820fd0 zeroes Room+0x12b8 before each pass and then loops [0, +0x12b8) over the render list EntityList 0xa4 int _renderMode EntityList::render_up_to 004199d0 switches on +0xa4 (3/4 water-reflection filters, 5 mirrored pass); same int as Room._renderMode (Room+0x12bc, Lua field) which lies at EntityList+0xa4 EntityList_EL 0x4 Entity** _data Beast/Dogma/Gideon AIs (00444cc0, 004aafa0, 004b1ee0) read *(Room+0x125c)[i] (EL at EntityList+0x40); render_up_to 004199d0 reads EntityList+0x54 [i] (EL at +0x50) EntityList_EL 0xc uint32_t _size same loops bound i by Room+0x1264 (EL+0xc of _updateEL) and EntityList+0x5c (EL+0xc of _renderEL) Entity 0x176 bool _isInitFlag176 ? only written in the dump: Entity::Init 006a93a0 zeroes it (word with _removedByFactory 0x177); Entity_Pickup::Init 006e02f0 sets 1; Entity_Effect::Init 005cdb20 sets 1 for floor/random-rotation effects (variants with sortingLayer 0/z 2000, 0x61, 0x91, 0x92, 0x9b); Entity_Projectile::Update 00653070 clears it when switching to the "Flickering" anim; no reader found Manager 0x29fbc MusicManager _musicManager 00428cd0 Lua MusicManager() returns g_Manager+0x29fbc; the Lua class is MusicManager (lua_fields), so the member gets that struct RNG 0x0 uint32_t _seed RNG::Next 007e90f0 reads/writes the xorshift state at +0 ("RNG Seed is zero!"); RNG::SetSeed 007e8fe0 stores Seed there. Ghidra's RNG is 4 bytes today, so every RNG member shows its shifts as field_0x (Entity+0x3e0..0x3e8, Game+0x182d8.., ItemPool+0x658, Seeds+0xc/0x10, GridEntity+0x30) RNG 0x4 uint32_t _shift1 RNG::Next 007e90f0 seed ^= seed >> this[1]; RNG::SetSeed 007e8fe0 copies 3 shifts from table DAT_00b1f4c8+idx*0xc into +4..+0xc; Game ctor writes 5,9 (qword) at Game+0x182d8 = _generationRNG+4 RNG 0x8 uint32_t _shift2 RNG::Next 007e90f0 seed ^= seed << this[2]; SetSeed 007e8fe0 table dword 2 RNG 0xc uint32_t _shift3 RNG::Next 007e90f0 seed ^= seed >> this[3]; SetSeed 007e8fe0 table dword 3; Level::Init 00744940 sets Game+0x182f0 (_devilAngelRoomRNG+0xc) = 0x13 Weapon 0x4 Entity* _owner Weapon::Init 009f34d0 stores param_3 at +4; Weapon::Update 009f34f0 steps the charge by owner+0x39c; IsAxisAligned 009f3360 / Fire 009f3540 / Weapon_*::Fire read it as the Entity_Player (or familiar, type 3 -> its player) Weapon 0x34 uint32_t _modifiers WeaponModifier bits: Weapon_Brimstone::GetMaxCharge 00a00f30 bit 0 (Chocolate Milk) scales max charge 2.5, bit 4 (Ludovico) makes it 0; GetFocusEntity 00a02870 / GetMarkedTargetVariant 00a02800 test bit 4; fire 00a02890 bit 9; Entity_Familiar::update_weapon 0062e620 copies the player's weapon +0x34 | 0x40000000 into the familiar's weapon ProceduralItemManager 0x28 std_set_TypeVariant _spawnTriggerTargets set of (type, variant or -1) keys (node 0x18, key uint type +0x10 / int variant +0x14): ~ProceduralItemManager 009dc750 erases the tree head at +0x28 (= Game+0x67780, allocated by Game ctor 006f1020 with size +0x2c); ItemPool::CreateGlitchedCollectible 009dcc70 inserts (FUN_009e24f0) a glitched item's trigger target when its trigger kind is 6; Game::SpawnEx 006fe410 and Entity_NPC::Render 0058a010 look up the spawned entity's (type,variant)/(type,-1) and fire trigger_set_dispatch(6,..) on a hit Manager 0xc int _previousState Manager::Update 00954cd0 saves _state here before switching to the cutscene state 3 and restores _state from it when the cutscene ends; Manager::Init 00952410 zeroes it Manager 0x20dcc bool _isSavingGameState Manager::save_game_state 00958ed0 sets it to 1 around Game::store_game_state and clears it after saving; entity_type_is_saved 007eed10 forces true while it (or Game _isStoringGlowingHourglassState) is set Manager 0x21618 bool _isCutscenePending Manager::ShowCutscene 00958e60 and Game::End 006f9770 set it to 1; Manager::Update 00954cd0 then calls Cutscene::Show(_pendingCutsceneId), enters state 3 and clears it; BossOverlay::update 004212c0 sets it too Manager 0x2161c int _pendingCutsceneId Manager::ShowCutscene 00958e60 stores cutsceneID (<= 0x1a); Game::End 006f9770 stores 3/0xf/0x10..; Manager::Update 00954cd0 passes it to Cutscene::Show(&_cutsceneManager, id) Manager 0x21620 bool _isCutsceneCleanupPending Manager::ShowCutscene 00958e60 stores its shouldCleanup argument; Manager::Update 00954cd0 unloads the game state (unload_state) before the cutscene and, after it, goes to _cutsceneNextMenuState with the fade color when set Manager 0x21624 int _cutsceneNextMenuState Manager::ShowCutscene 00958e60 stores its 3rd argument; Manager::Update 00954cd0 copies it into _pendingMenuState and calls start_pending_menu after a cleanup cutscene; Game::End 006f9770 stores the menu to return to Manager 0x4a950 PopupButtons _popupButtons Manager ctor 00950610 eh-vector-ctor 2 x 0x130 at +0x4a950 (FUN_00951130 = ANM2 ctor + fields); Manager::Init 00954733 loads gfx/ui/ButtonPromptWidget.anm2 into both (FUN_00423aa0); Manager::Update 00954cd0 slides them; Manager::Render 00955c7f calls PopupButtons::Render; Cutscene::Show 0095e7c0 / DeathScreen::Show / online_stats_finalize call PopupButtons::reset on it; ends at _framecount 0x4abbc PopupButton 0x0 ANM2 _sprite FUN_00423aa0 (Manager::Init) loads gfx/ui/ButtonPromptWidget.anm2 into each 0x130 record and plays LeftPrompt/RightPrompt; PopupButtons::Render 00423cc0 sets layer "Text" frame and renders it PopupButton 0x114 float _slideOffset Manager::Update 00954cd0 (954fb1) moves +0x114 toward +0x118 by 6.0 per frame for both buttons; FUN_00424130 adds scale*it to the button's screen y; PopupButtons::reset 004239b0 sets 96 PopupButton 0x118 float _targetSlideOffset PopupButtons::reset 004239b0 sets 96 (hidden below the screen) or 0 with arg 1 (slide in); MenuManager::Render 0098a040 / Manager::RestartGame / update_ingame_input set Manager+0x4aa68/+0x4ab98 to 96 or 0 to hide/show the prompts; Manager::Update 00954cd0 slides _slideOffset to it PopupButton 0x11c int _textFrame PopupButtons::Render 00423cc0 ANM2::SetLayerFrame(sprite, "Text" layer, *(+0x11c)); reset 004239b0 sets 1 / 0; Cutscene::Show 0095e7c0 sets button 1 to 6 PopupButton 0x120 bool _isVisible ? PopupButtons::reset 004239b0 sets 1; PopupButtons::Render 00423cc0 draws the action glyph only while it is set (and _buttonAction != 0x20) PopupButton 0x124 int _buttonAction PopupButtons::reset 004239b0 sets 0xf / 0xe (MENUBACK / MENUCONFIRM); PopupButtons::Render 00423cc0 looks it up in the input device's action table ("ActionId is out of range") and draws its glyph or name; Manager::Update 00954cd0 skips 0x20 PopupButton 0x128 Vector _offset PopupButtons::reset 004239b0 zeroes it (g_vectorZero); FUN_00424130 adds +0x128/+0x12c to the button's screen position PopupButtons 0x0 PopupButton _buttons[2] PopupButtons::reset 004239b0 resets records at +0x114.. and +0x244.. (0x130 apart); FUN_00424130 positions button 0 bottom-left and button 1 bottom-right; Manager::Update 00954cd0 loops 2 records of 0x130 PopupButtons 0x260 float _scale PopupButtons::reset 004239b0 sets 1.0; PopupButtons::Render 00423cc0 and FUN_00424130/004240b0 scale positions, sprite scale and glyphs by it; FUN_0095eb60 (cutscene callback) reads +0x260 PopupButtons 0x264 void* _callback PopupButtons::reset 004239b0 clears it; Cutscene::Show 0095e8dc stores 0x95eb60 at Manager+0x4abb4 (= +0x264); DeathScreen::Show installs FUN_008cb190 PopupButtons 0x268 void* _callbackContext PopupButtons::reset 004239b0 clears it; Cutscene::Show 0095e8e6 stores the Cutscene* at Manager+0x4abb8 (= +0x268) beside _callback Manager 0x4abc0 int _consecutiveResetCount Manager::RestartGame 00958cb0 increments it when its progresScaredHeart argument is set (else zeroes) and unlocks achievement 0x148 (Mr. Resetter) once > 6; StartNewGame 00958aa0 / Menu_Game::Update / Menu_DailyChallenge::Update / Manager::Init zero it Manager 0x4b3bc Vector _lastMousePosition Manager::Update 00954cd0 compares the window cursor position with +0x4b3bc/+0x4b3c0 and stores it; Manager::Render 009555c0 draws _cursorSprite at it scaled to the window Manager 0x4b3c4 int _cursorVisibleTimer Manager::Update 00954cd0 sets it to 300 when the mouse moves, else decrements to 0; Manager::Render 009555c0 draws _cursorSprite only while > 0 (mouse control on, state 1/2); Manager::Init zeroes it Manager 0x4b3c9 bool _isRenderSurfaceResetPending Manager::update_screen_scale 00954150 sets it; Manager::Render 009555c0 then resets the render-target smart pointers, calls create_render_surfaces, re-reads the window size and clears it; Manager::Init zeroes it Entity_Effect 0x474 float _rotation Lua EntityEffect.Rotation 005784c0 returns float this+0x474; Entity_Effect::Init 005cdb20 zeroes it and sets 30*rand+5 for some variants Entity_Effect 0x478 float _scale Lua EntityEffect.Scale 004d7770 returns float this+0x478; Entity_Effect::Init 005cdb20 defaults it to 1.0 (1.3 for player-spawned 0x20, 0.033 for 0x9b, 0 for 0x79/0xb2); Entity_Effect::Render 00607620 uses scale*0.65 for the overlay layer PlayerManager 0xc CoopJoinSlot _coopSlots[4] 4 records of 0x14 at +0xc/+0x20/+0x34/+0x48: PlayerManager::handle_coop_join 009bac40 checks each slot's controller/state and fills playerType/1/1.0/locked; GetPlayerSlotFromController 009baaa0 scans this+0xc for a controller; RemoveCoPlayer 009ba000 resets them (-1,0,-1,0) CoopJoinSlot 0x0 int _controllerIndex PlayerManager::GetPlayerSlotFromController 009baaa0 matches it; handle_coop_join 009bac40 passes it to Entity_Player::SetControllerIndex for the joined player; RemoveCoPlayer 009ba000 sets -1; HUD::Render 009a3eb0 draws the join menu while >= 0 CoopJoinSlot 0x4 int _playerType handle_coop_join 009bac40 sets 0 or the challenge's _playerType and spawns SpawnCoPlayer2(it); -1 picks a random entry of PlayerManager+0x70 CoopJoinSlot 0x8 int _state ? handle_coop_join 009bac40 sets 1 when a controller joins; RemoveCoPlayer 009ba000 / RestoreGameState set -1; handle_coop_join and HUD::Render 009a3eb0 treat >= 0 as an open join menu CoopJoinSlot 0xc float _menuPosition ? handle_coop_join 009bac40 sets 1.0 on join; HUD::Render 009a3eb0 (9a5d3c) draws character portraits from floor(x-2)..ceil(x+2) offset by (i - it), i.e. the scrolling character-select position CoopJoinSlot 0x10 bool _isPlayerTypeForced handle_coop_join 009bac40 sets 1 when a challenge/daily forces the type (0 otherwise) and only lets the slot browse characters while it is 0, clearing it on confirm PlayerManager 0x70 std_vector_int _coopPlayerTypes handle_coop_join 009bac40 picks a random element 1..n-1 of begin/end +0x70/+0x74 for a random (-1) co-op character; HUD::Render 009a3eb0 (Game+0x1bb18) draws the join carousel from it RoomDescriptor 0x1c int _doors[8] RoomDescriptor::constructor 006ef590 sets the 8 dwords 0x1c..0x38 to -1; Level::ChangeRoom 0073fc80 / UncoverHiddenDoor 0074a1b0 read +0x1c+slot*4 as the neighbouring room index (GetRoomByIdx); MakeRedRoomDoor 0074d010 writes -2 or the new room's GridIndex ColorModState 0x0 float _red Game::Render 006fbc10 sends Game+0x676b8 (+0) as the colour-modifier tint red; Game ctor 006f1020 inits 1,1,1,0,0,1 ColorModState 0x4 float _green Game::Render 006fbc10 tint green from +4 (Game+0x676bc) ColorModState 0x8 float _blue Game::Render 006fbc10 tint blue from +8 (Game+0x676c0) ColorModState 0xc float _amount Game::Render 006fbc10 Shader::set_uniform("Amount", Game+0x676c4); MenuManager::Render 0098a040 set_uniform("Amount", +0xf7cc) (= its _currentColorModState+0xc) ColorModState 0x10 float _brightness Game::Render 006fbc10 Shader::set_uniform("Brightness", Game+0x676c8) ColorModState 0x14 float _contrast Game::Render 006fbc10 Shader::set_uniform("Contrast", Game+0x676cc); ctor default 1.0 AchievementOverlay 0x0 std_deque_int _queue AchievementOverlay::Update 00931ba0 pops the front id when idle: map +4 [(off>>2) & (mapSize+8 - 1)][off & 3], then size (+0x10) -1 and offset (+0xc) +1 (0 when empty): MSVC deque layout AchievementOverlay 0x14 int _currentEntry AchievementOverlay::Update 00931ba0 stores the popped id and indexes _entries (+0x134 + it*0x34) for the sprite and the "No sprite for achievement %d (%s)" log AchievementOverlay 0x18 int _frame AchievementOverlay::Update 00931ba0 zeroes it on entering state 2 and plays "Dissapear" once it passes 0x5a (or MENUCONFIRM) AchievementOverlay 0x1c int _state AchievementOverlay::Update 00931ba0: 0 idle (pops the queue, -> 1 "Appear"), 1 -> 2 "Idle" + sound 8 when the anim ends, 2 -> 3 "Dissapear", 3 -> 0 AchievementOverlay 0x20 ANM2 _sprite AchievementOverlay::Update 00931ba0 ANM2::Play(this+0x20, Appear/Idle/Dissapear), GetLayer 0/3, ReplaceSpritesheet layer 3, LoadGraphics; Manager ctor builds an ANM2 at Overlay+0x20 AchievementOverlay 0x134 AchievementOverlay_Entry _entries[642] AchievementOverlay::Update 00931ba0 indexes +0x134 + id*0x34 (id at +0, name std::string +0x138, gfx std::string +0x150); 0x134 + 0x282*0x34 = 0x839c = _isPopupBlocked AchievementOverlay_Entry 0x0 int _id AchievementOverlay::Update 00931ba0 logs it as the %d of "No sprite for achievement %d (%s)" AchievementOverlay_Entry 0x4 std_string _name AchievementOverlay::Update 00931ba0 logs it (heap ptr when capacity +0x14 > 0xf) as the %s AchievementOverlay_Entry 0x1c std_string _gfx AchievementOverlay::Update 00931ba0 tests its size (+0x10) and passes it to Sprite::ReplaceSpritesheet(layer 3) ItemOverlay 0x0 int _state ItemOverlay::Update 009aca90: 1 counts _delay down, 0 idle, 2 active until the anim ends (REPENTOGON INACTIVE/WAITING/ACTIVE) ItemOverlay 0x4 int _overlayID ItemOverlay::Show 009ad210 stores eOverlayID (<= 0x2f) here; Update 009aca90 tests == 0x2c ItemOverlay 0x8 ANM2 _sprite ItemOverlay::Show 009ad210 ANM2::Reset/Load/ReplaceSpritesheet/LoadGraphics(this+8) from the per-overlay table (0x58 records from +0x11c); Update 009aca90 updates/reads its anim state (+0x38/+0x3c) ItemOverlay 0x119c int _delay ItemOverlay::Show 009ad210 stores delay; Update 009aca90 decrements it in state 1 and starts the overlay when < 1 ItemOverlay 0x11a0 EntityPtr _player ItemOverlay::Show 009ad210 assigns player with the EntityPtr multiset erase/insert; Update 009aca90 sets player+0x171 and Render 009acfe0 skips without it EntityList 0x20 EntityList_EL _mainEL EntityList::Reset 00418230 walks data +0x24 / size +0x2c (cap +0x28), removes entities without FLAG_PERSISTENT (hi flags 0x20) and keeps the rest; EntityList::AddEntity 00418500 pushes non-player entities into it EntityList 0x30 EntityList_EL _persistentEL EntityList::AddEntity 00418500 pushes players (1), familiars (3) and knives 8.0 into data +0x34 / size +0x3c (cap +0x38); Reset 00418230 re-adds them to _updateEL/_renderEL; EntityList::Update 004186c0 drops the ones no longer existing EntityList 0x90 EntityList_EL _wispEL EntityList::Reset 00418230 pushes every 3.206 (wisp) of _updateEL into data +0x94 / size +0x9c (cap +0x98) EntityList_EL 0x8 uint32_t _capacity EntityList::Reset 00418230 / AddEntity 00418500 log "EL: not enough space for push_back" when size+1 > +0x8 Entity_Player 0x1540 int _potatoPeelerBandageCounter Entity_Player::UseActiveItem 005b39d0 (Potato Peeler case) increments it instead of _potatoPeelerCounter when the player has Ball of Bandages (207) but no Cube of Meat (73); EvaluateItems 00763570 adds it to damage *0.2 and to the Ball of Bandages level (+ GetCollectibleNum(207) + effect num); RestoreGameState 007ae4b0 restores it Entity_Player 0x1564 float _taurusSpeedBonus Entity_Player::update_effects 00794e50 (79681f) adds a constant to it while the Taurus (299) effect is active and sets cache flags 0x1010, zeroes it when the effect is gone; EvaluateItems 00763570 adds it to _movespeed with the Taurus effect; TriggerNewRoom_TemporaryEffects 007a8350 zeroes it GenericPrompt 0x0 ANM2 _sprite GenericPrompt::Show 008380f0 ANM2::SetAnimation(this,"Appear") and AnimationState::Rewind(this+0x30); GenericPrompt::Update 00837ab0 updates the anim state while byte +0x109 (ANM2 _loaded) is set and reads its animData +0x34 Game 0x18320 Vector _dungeonReturnPosition Lua Level:DungeonReturnPosition 0085e140 returns Game+0x18320/+0x18324; Level::GetEnterPosition 0074a090 returns it when re-entering _dungeonReturnRoomIndex from a crawlspace; GridEntity_Stairs::Update 0099bd50 / ENTITY_ROTGUT_face 0057bec0 set it; Level::Init sets 320 Game 0x18328 int _dungeonReturnRoomIndex Level*==Game*: Level::GetEnterPosition 0074a090 compares _currentRoomIdx with Game+0x18328 (Level._dungeonReturnRoomIndex) before using _dungeonReturnPosition Level 0x18320 Vector _dungeonReturnPosition Lua Level:DungeonReturnPosition 0085e140 returns this+0x18320/+0x18324; Level::GetEnterPosition 0074a090 returns it for the crawlspace return room; Level::RestoreGameState 007475b0 restores it Game 0x265c4 uint8_t _restartHoldFrames Manager::update_ingame_input 006fa540 increments this byte each frame ACTION_RESTART (0x12) is held (0 when released), restarts the run once >= 0x10 (not in dailies / Eden); Game::reset_run_state 006f43b0 zeroes it Ambush 0x18 int _maxWaves ? HUD::Render 009a3eb0 (9a42d9) prints "%d/%d" with Game+0x265ec (_currentWave) over Game+0x265e0 (= Ambush+0x18) Ambush 0x24 int _currentWave HUD::Render 009a3eb0 prints it as the %d of "%d/%d" waves; Game::store_game_state 006f9000 saves max(it-1, 0); room reset FUN_007eb010 and Game ctor 006f1020 zero Game+0x265ec OnlineStatsScreen 0x568 std_vector_OnlineStatsPlayer _players ? 0x38-byte records (controller id +0, std::string name +8): online_stats_finalize 008ca600 clears and _Emplace_reallocates them at +0x568/+0x56c/+0x570; Game::Exit 006fa0c0 and update_ingame_input 006fa540 destroy them (Game+0x25ebc) when closing the screen MusicManager 0x0 int _currentChannel MusicManager::Crossfade 007e1e70 flips *this between 0 and 1 and starts the new music on channel *this; EnableLayer 007e2280 and ENTITY_BEAST 00592460 index the 0x184-byte channel at this+4+*this*0x184 MusicManager 0x4 MusicChannel _channels[2] MusicManager::Crossfade 007e1e70 / EnableLayer 007e2280 index channels of 0x61 dwords from this+4; 4 + 2*0x184 = 0x30c = _currentMusicID MusicChannel 0x16c uint32_t _enabledLayers MusicManager::EnableLayer 007e2280 ORs 1<::_Erase_tree) and resets the size; RoomTransition::Update 008318a0 updates every node's anim state RoomTransition 0x22c Vector _slideOffset ? RoomTransition::ChangeRoom 00830950 sets x (+0x22c) or y (+0x230) to the screen-width/height offset of the new room for the door direction (this+0x10 = 0..3) NightmareScene 0x36c int _stageBarIcons[14] ? NightmareScene::record_stage 00923320 maps (stage, stageType) to a stage-bar icon index stored at +0x36c + stage*4 (stage 13 at +0x3a0); FUN_00707ad0 sets entry 0 (Manager+0x21994) to -3 in greed / 0; Manager::unload_configs 00953f10 sets entries 0/1 to 0x11 MenuManager 0xda98 Menu_Online _menuOnline MenuManager::Update 009897d0 Menu_Online::Update(this+0xda98); MenuManager::Render 0098a040 Menu_Online::Render(this+0xda98); ctor 00986450 stores "gfx/ui/main menu/OnlineMenu.anm2" at its first dword, LoadGraphics 00988d80 loads it ItemConfig 0x7c std_map_LocustConfig _locustConfigs ItemConfig::LoadLocustConfig 0072ba80 clears the tree at +0x7c (size +0x80) before parsing locusts.xml (color/scale/quality per item) and inserts entries (FUN_00731870); ItemConfig::destructor 00725190 erases it and deletes the 0x54-byte head GridEntity_Door 0x3a0 uint32_t _doorFlags ? GridEntity_Door::LoadSprite 0070d3f0 zeroes it then ORs style bits by room type (1, 2, 4, 8, 0x10 with the "Break" anims, 0x20 with "Collapse", 0x40); SetRoomTypes / Open / TryUnlock / Update / Entity_Effect::update_mr_me / Entity_Familiar::ai_wisp test bits 1/0x10/0x20/0x50 PauseScreen 0x0 int _state PauseScreen::Show 009b7680 sets *this=1; PauseScreen::Update 009b5d20 sets 4 after GenericPrompt::Show of the quit-daily prompt and back to 1 (then Game::End) when the prompt is answered PauseScreen 0x47c GenericPrompt _genericPrompt PauseScreen::Update 009b5d20 GenericPrompt::Show(this+0x47c,0) for "#QUIT_DAILY_RUN_*" and GenericPrompt::Update(this+0x47c,1); Render 009b7190 GenericPrompt::Render(this+0x47c); right after REPENTOGON's last ANM2 (0x368+0x114) GameState 0x1fdec bool _isSaveAvailable FUN_00959fa0 (load save slot) sets byte Manager+0x20d90 (=_gamestate+0x1fdec) to 1 when GameState read 009cc1a0 succeeds, else GameState::Delete; Menu_Game::Update 00981140 / PreRenderContinueImg 00982100 enable the Continue widget on it GameState 0x1fded bool _isRerunAvailable FUN_00959fa0 sets byte Manager+0x20d91 (=_gamestate+0x1fded) to 1 when GameState::read_rerun 009d7d50 succeeds, else GameState::DeleteRerun; Menu_Game::Update 00981140 also enables Continue on it GameState 0x1fe24 void* _saveFile Manager::save_game_state 00958ed0 / save_rerun_to_steam_cloud 00959180 delete the old object (vtbl[0](1)), store SaveDataManager::open_file_write result at Manager+0x20dc8 (=_gamestate+0x1fe24), pass it to GameState::write and call vtbl+0x30/+0x34 (flush/close); GameState::read_player 009cb620 reads via this+0x1fe24 (REPENTOGON GameState _saveFile, last member) Cutscene 0x808 int _currentCutsceneId Cutscene::Show 0095e7c0 unloads entry this[0x202] then stores cutsceneid at this+0x808; Manager::update_screen_scale 00954150 / ResizeWindowCallback 009a9ef0 / Manager::Update 00954cd0 index the 0x4c-byte entries at Cutscene+4 by Manager+0x215d8 (=Cutscene+0x808) Cutscene 0x84c int _queuedCutsceneId Manager::ShowCutscene 00958e60 stores cutsceneID at Manager+0x2161c (=Cutscene+0x84c) and sets pending byte +0x848; Manager::Update 00954cd0 then calls Cutscene::Show(this, it); BossOverlay::update 004212c0 queues 0x19, Game::End 006f9770 queues the endings Cutscene 0x850 bool _isQueuedCleanup Manager::ShowCutscene 00958e60 stores shouldCleanup at Manager+0x21620 (=Cutscene+0x850); Manager::Update 00954cd0 clears _isSaveOnExit and calls unload_state before showing when set, and on cutscene end restores the menu state (+0x854) and fade color only when set StringTable 0xc std_map_cstr_StringTableCategory _categories ? Manager::destructor 00951160 erases trees at StringTable+4 (0x18-byte nodes) and +0xc (0x28-byte nodes, std::map); Game::ShowFortuneText 009807a0 map-finds a category name and compares with the head at Manager+0x4a92c, taking the entry count from the node for RNG::RandomInt Manager 0x4b284 bool _isSaveOnExit Manager::unload_state 00959670 passes byte this+0x4b284 to Game::Exit(ShouldSave); start_pending_game 00959720 sets it (word 1); Game::DeleteSaveState 00959130 / RestartGame 00958cb0 / Init clear it; Console::RunCommand sets 1 after the rerun restart Manager 0x4b2a4 bool _isNightmarePending StageTransition::Update 0092f1c0 / ItemOverlay::Update 009aca90 set it with the nightmare id in +0x4b2a5; Manager::Update 00954cd0 then calls NightmareScene::Show(this+0x21628, +0x4b2a5), enters state 5 and clears it; Init 00952410 clears Game 0x1ba98 RNG _fortuneRNG Lua Game:ShowFortune 005b1870 and FUN_0065d070 ("Fortune_Seeds") pass this+0x1ba98 as the RNG to Game::ShowFortuneText 009807a0; ctor 006f1020 seed 0xaa17414f shifts 5/9/7 at +0x1ba9c..+0x1baa4; Game::Start 006f5320 reseeds from Seeds::GetNextSeed; store_game_state saves it Game 0x269d0 bool _isConsoleUsedThisRun ? Game::Start 006f5320 / StartDebug 006f7750 / StartDailyChallenge 006f6dd0 copy Manager _isConsoleEnabled into it; StartFromRerunState 006f72f0 sets it when the rerun state flag or the console is on; store_game_state 006f9000 saves it; no other reader found BossPool 0x8ac vector_bool _removedBosses Level::ForceHorsemanBoss 007481d0 tests bits 9..0xc / 0x26 in *(Game+0x1b81c) (=_bossPool+0x8ac data) and sets the chosen boss id bit; Room::SpawnEntry 007ed310 tests bit 0x18; ctor 006f1020 zeroes it (REPENTOGON BossPool _removedBosses 0x8ac, size 0x8cc) RoomTransition 0x10 int _direction RoomTransition::ChangeRoom 00830950 switches on it (0..3 door side offsets) and sets Game _leaveDoor=-1 when it is -1; RoomTransition::Update 008318a0 hides players when -1; FUN_00429570 / FUN_00707ad0 zero it RoomTransition 0x14 int _targetRoomIdx RoomTransition::ChangeRoom 00830950 Level::GetRoomByIdx(+0x14, +0x18) and Game::ChangeRoom(+0x14, +0x18); Update 008318a0 compares it with Game _currentRoomIdx RoomTransition 0x18 int _targetDimension RoomTransition::ChangeRoom 00830950 passes it as the dimension with _targetRoomIdx to GetRoomByIdx and Game::ChangeRoom RoomTransition 0x38 ANM2 _versusScreenSprite Game::constructor 006f1020 ANM2::constructor(_roomTransition+0x38); RoomTransition::StartBossIntro 0082f1c0 loads/plays the versus screen on this+0x38 Seeds 0x18 uint32_t _stageSeeds[14] Lua Seeds:GetStageSeed 00738280 returns this+0x18+min(stage,13)*4 (so _rng at +8 is a 0x10 RNG, not 0x48; Seeds::GetNextSeed 006ef890 shifts are +0xc/+0x10/+0x14) PersistentGameData 0x4 void* _saveFile PersistentGameData::Load 00926a50 / SaveToSteamCloud 00928ee0 delete the old file object at this+4 (vtbl[0](1)) and store the new one; ctor 00925f80 zeroes it; Manager::destructor frees it PersistentGameData 0xf64 std_map_int_int _bestiaryEncounters PersistentGameData::TryAddBestiaryEncounter 0092aea0 inserts key (id<<12|variant)*0x100 into the map at this+0xf64 (size +0xf68); Clear 009262b0 erases it PersistentGameData 0xf6c std_map_int_int _bestiaryKills PersistentGameData::AddBestiaryKill 0092acb0 / GetBestiaryKillCount 0092b100 use the map at this+0xf6c (size +0xf70); Clear 009262b0 erases it PersistentGameData 0xf7c std_map_int_int _bestiaryDeaths PersistentGameData::GetBestiaryDeathCount 0092b070 finds key (id<<12|variant)*0x100 and returns node value (+0x14) unless it is the head this+0xf7c; Clear 009262b0 erases it and zeroes size +0xf80 MenuManager 0xda9c ANM2 _onlineMenuSprite MenuManager::constructor 00986450 stores "gfx/ui/main menu/OnlineMenu.anm2" at +0xda98 and builds ANM2 at +0xda9c; LoadGraphics 00988d80 ANM2::Load(+0xda9c, that path) + Play Idle; unload_graphics 00988ba0 resets it (Menu_Mods ends at 0xd96c+0x12c = 0xda98) MenuManager 0xf5cc ANM2 _onlineStatsMenuSprite MenuManager::LoadGraphics 00988d80 ANM2::Load(+0xf5cc,"gfx/ui/main menu/OnlineStatsMenu.anm2") + Play Idle; MenuManager::Update 009897d0 sets its "Cursor" layer frame; ctor builds it, unload_graphics resets it EntityConfig_Entity 0x68 std_vector_BossColor _bossColors EntityConfig::load_boss_colors 00698e80 clears (end=begin +0x68/+0x6c) and push_backs 0x7c-byte entries (std::vector<124byte>::_Emplace_reallocate, cap +0x70) Ambush 0xc std_vector_std_vector_BossRushEntry _bossRushWaves Ambush::SpawnBossrushWave 00833c40 pops the last 0xc-byte element (itself a vector of 12-byte entries) of begin +0xc / end +0x10 _bossesPerWave times; Ambush::Update 00834350 tests it empty in the boss rush room (type 0x11); StartChallenge 00833420 Room 0x11f0 int _enterFrame Room::GetFrameCount 00813ce0 returns Game _frameCount - this+0x11f0 (-1 if room not initialised); Room::Update 00802980 runs first-frame logic on _frameCount - it == 1 / 4 Room 0x788c float _beastBlastForce ? only NpcAI::ENTITY_BEAST 00592460 uses it: grows by +-0.2 (cap 7/7.5, sign from flipX) while shooting, decays 0.05/0.8/0.9/0.95, and pushes the colliding entity with -it (+0xbb8); ctor 007e9400 zeroes it PlayerProceduralItems 0x0 Entity_Player* _player Entity_Player::Init 00755470 (007575bb) stores the player at Entity_Player+0x1fc8 (= _proceduralItems+0) PlayerProceduralItems 0x4 std_set_int _itemIds Entity_Player::TryRemoveTrinket 00771f60 walks the tree at Entity_Player+0x1fcc for negative (glitched) ids indexing ProceduralItemManager _proceduralItems; ctor 00753da0 builds the head PlayerHUDActiveItem 0x10 KAGE_SmartPointer_ImageBase _bookImage PlayerHUD::Update 00842230 swaps Manager::LoadImage("gfx/ui/hud_BookOfVirtues.png"/BookOfBelial/WithBelial) into PlayerHUD+0x1a0/+0x1a4+i*0x1c (entry+0x10/+0x14, REPENTOGON bookImage +0x10) PlayerHUDActiveItem 0x4 int _bookItemId ? PlayerHUD::Update 00842230 reloads the book overlay only when the item id (0x248 Book of Virtues, 0x22 Book of Belial, 0x3b) differs from PlayerHUD+0x194+i*0x1c and then stores it EntityRef 0x18 Vector _velocity EntityRef::constructor 00431310 copies entity _velocity (or g_vectorZero) to +0x18/+0x1c EntityRef 0x20 uint32_t _flags EntityRef::constructor 00431310 builds 1 charmed (flag 0x100) | 2 friendly (0x20000000) | 4; Lua EntityRef:IsCharmed 004bc670 returns +0x20 & 1, IsFriendly 004a2910 returns bit 1 LayerState 0x0 LayerData* _layerData LayerState::Init 00408310 stores its LayerInfo* arg at *this and copies the spritesheet path from arg+0x20; ANM2::Load 0040bd50 reads the layer name at *(layer)+8 to find "shadow" / "*" layers; AnmCache::Load 0040db90 calls Init(layerData + i*0x38) per layer LayerState 0x4 ANM2* _animation AnmCache::Load 0040db90: after LayerState::Init, layerState[i]+4 = the ANM2 (whose +0x7c is the layer-state array) LayerState 0x8 std_string _spriteSheetPath Sprite::ReplaceSpritesheet 0040bf30 compares/assigns the path at layer+8 (stride 0xa0) and clears +0x30; ANM2::LoadGraphics 0040c000 passes layer+8 to Manager::LoadImage LayerState 0x20 unsigned int _minFilterMode LayerState::GetTexture 00408590 passes +0x20/+0x24 to texture vtbl+0x44 (filter) when they differ from tex+0x30/+0x34; SetTexture 00408640 copies tex+0x30 into +0x20; show_beta_disclaimer_popup 00420190 sets GetLayer(0)+0x20 = +0x24 = 1 on its popup sprite LayerState 0x24 unsigned int _magFilterMode LayerState::GetTexture 00408590 second arg of texture vtbl+0x44 (filter) with +0x20; SetTexture 00408640 copies tex+0x34 LayerState 0x28 unsigned int _wrapSMode LayerState::GetTexture 00408590 passes +0x28/+0x2c to texture vtbl+0x48 (wrap) when they differ from tex+0x38/+0x3c; SetTexture 00408640 copies tex+0x38; shader renders set GetLayer(0)+0x28 = +0x2c = 0 LayerState 0x2c unsigned int _wrapTMode LayerState::GetTexture 00408590 second arg of texture vtbl+0x48 (wrap); SetTexture 00408640 copies tex+0x3c LayerState 0x30 bool _spriteSheetLoaded ANM2::LoadGraphics 0040c000 skips a layer whose +0x30 is set, else loads the image and stores the success flag there; Sprite::ReplaceSpritesheet 0040bf30 clears it; Entity_Pickup::load_collectible_gfx 006e1e90 sets it after binding the glitched-item render target LayerState 0x32 bool _flipX render_build_sprite_quad 00409cb0 (param_4 = the LayerState from AnimationLayer::RenderFrame 00409120) negates the x scale when layer+0x32 != 0 LayerState 0x33 bool _flipY render_build_sprite_quad 00409cb0 negates the y scale when layer+0x33 != 0 LayerState 0x34 Vector _size render_build_sprite_quad 00409cb0 multiplies frame scale (+0x18/+0x1c) by layer+0x34/+0x38; LayerState::Init 00408310 sets it to g_vectorOne LayerState 0x3c float _rotation render_build_sprite_quad 00409cb0 adds layer+0x3c to the frame rotation (+0x5c); LayerState::Init 00408310 = 0 LayerState 0x40 Vector _pos render_build_sprite_quad 00409cb0 adds layer+0x40/+0x44 to the frame position (+0x10/+0x14); LayerState::Init 00408310 sets it to g_vectorZero LayerState 0x48 ColorMod _color AnimationLayer::RenderFrame 00409120 Color::operator_assign(layer+0x48) when flag 1 is set; LayerState::Init 00408310 = tint 1,1,1,1, colorize/offset 0 (0x48..0x73) LayerState 0x74 bool _visible AnimationLayer::RenderFrame 00409120 returns when byte [layer+0x74] == 0 (CMP byte ptr [EDI+0x74],0 at 004091b8); LayerState::Init 00408310 sets it to 1; Menu_Online::Render 008e4e30 sets GetLayer("BackKey")->+0x74 by controller type LayerState 0x78 int _blendMode[5] AnimationLayer::RenderFrame 00409120 loads +0x78..+0x84 into g_graphicsManager_blendMode[0..3] and +0x88 into DAT_00c79910; ctor 004081d0/Init 00408310 set 0, 1|6, 7, 1, 7 LayerState 0x8c unsigned int _bitflags AnimationLayer::RenderFrame 00409120 ORs layer+0x8c with ANM2+0x110 flags (OR ECX,[EDI+0x8c] at 004091f1); render_build_sprite_quad 00409cb0 tests flag 8 in the same OR; ANM2::Load 0040bd50 sets |= 5 on "*" layers LayerState 0x90 Vector _cropOffset AnimationLayer::RenderFrame 00409120 adds layer+0x90/+0x94 to the source quad position; Entity_Pickup::load_collectible_gfx 006e1e90 sets it to the glitched-item atlas cell (~id&0x1f)*32, (~id>>5)*32; Init 00408310 = g_vectorZero LayerState 0x98 KAGE_SmartPointer_ImageBase _spriteSheet LayerState::GetTexture 00408590 reads the image at *(layer+0x98) (filter/wrap via its vtbl) and returns a SmartPointer copy of +0x98; ctor 004081d0 zeroes +0x98/+0x9c (8-byte smart pointer, struct stride 0xa0) DailyChallenge 0x0 unsigned int _id DailyChallenge::Init 00426a50 sets this+0 = dailyDate (yyyymmdd) and seeds the xorshift picks from it; Game::StartDailyChallenge 006f6dd0 copies *daily; Console::Update 0068b260 tests g_game daily _id != 0 DailyChallenge 0x4 unsigned int _seed Game::StartDailyChallenge 006f6dd0 passes daily[1] to Seeds::Seed2String then Seeds::SetStartSeed DailyChallenge 0x8 bool _isPractice Game::StartDailyChallenge 006f6dd0 copies byte daily+8; Menu_DailyChallenge::Update 008cf610 sets Manager daily +8 = (selected option == 2) and only bumps the daily event counter when not practice; Console::Update 0068b260 blocks the console in a non-practice daily DailyChallenge 0xc unsigned int _specialDailyId DailyChallenge::Init 00426a50 sets this+0xc = holiday_get_current() and uses ==2 to shift the date seed; Game::StartDailyChallenge 006f6dd0 copies daily[3] DailyChallenge 0x10 ChallengeParam _params DailyChallenge::Init 00426a50 calls ChallengeParam::Reset with ECX = this+0x10 then writes playerType/endStage/pathType at +0x10+0x44/+0x40/+0x80; Game::StartDailyChallenge 006f6dd0 reads difficulty at daily+0x80 (=+0x10+0x70) and seed effects at daily+0xa8 (=+0x10+0x98); struct size 0xb4 ChallengeParam 0x0 std_string _name challenges_xml_load 009569f0: "name" attribute std::string::assign with ECX = the params local (LEA ECX,[EBP-0xd0] at 00956d0b, same as the ChallengeParams ctor call 00956c36); ChallengeParams ctor 00424310 / copy ctor 0095c050 string at +0 ChallengeParam 0x18 std_set_int _roomset challenges_xml_load 009569f0: "roomfilter" values inserted into the set at params+0x18 (LEA ECX,[EBP-0xb8] before CALL 00428560 at 00957682); ctor 00424310 allocates its head node; Reset 00424440 erases it ChallengeParam 0x20 std_vector_int _collectibleList challenges_xml_load 009569f0 pushes "startingitems" ids into the vector at params+0x20 (end ptr local +0x24); copy ctor 0095c050 std::vector copy at +0x20 ChallengeParam 0x2c std_vector_int _trinketList challenges_xml_load 009569f0 pushes "startingtrinkets" ids into the vector at params+0x2c (end ptr local +0x30); Reset 00424440 sets +0x30 = +0x2c ChallengeParam 0x38 int _startingPill challenges_xml_load 009569f0 stores atoi("startingpill") at params+0x38; Reset 00424440 = -1 ChallengeParam 0x3c int _startingCard challenges_xml_load 009569f0 stores atoi("startingcard") at params+0x3c ChallengeParam 0x40 int _endStage challenges_xml_load 009569f0 stores atoi("endstage") at params+0x40; DailyChallenge::Init 00426a50 picks 6/8/10/11 (0xb + megasatan on Sundays) ChallengeParam 0x44 int _playerType challenges_xml_load 009569f0 stores atoi("playertype") at params+0x44; DailyChallenge::Init 00426a50 picks seed % 20 (skipping 11/12/17/20) and maps to tainted 0x15..0x25 ChallengeParam 0x48 std_vector_int _achievementList challenges_xml_load 009569f0 pushes "achievements" ids into the vector at params+0x48 (end ptr local +0x4c) ChallengeParam 0x54 int _soulHearts challenges_xml_load 009569f0 stores atoi("soulhp") at params+0x54 ChallengeParam 0x58 int _blackHearts challenges_xml_load 009569f0 stores atoi("blackhp") at params+0x58 ChallengeParam 0x5c int _hearts challenges_xml_load 009569f0 stores atoi("redhp") at params+0x5c ChallengeParam 0x60 int _maxHearts challenges_xml_load 009569f0 stores atoi("maxhp") at params+0x60 ChallengeParam 0x64 int _coins challenges_xml_load 009569f0 stores atoi("coins") at params+0x64 ChallengeParam 0x68 float _addDamage challenges_xml_load 009569f0 stores (float)atof("adddamage") at params+0x68 ChallengeParam 0x6c bool _canShoot challenges_xml_load 009569f0 parses "canshoot" (true/1) into byte params+0x6c; Reset 00424440 = 1 ChallengeParam 0x70 int _difficulty challenges_xml_load 009569f0 stores atoi("difficulty") at params+0x70; Game::StartDailyChallenge 006f6dd0 copies daily+0x80 (=+0x10+0x70) to Game _difficulty ChallengeParam 0x74 bool _isMegaSatan challenges_xml_load 009569f0 stores string_to_bool("megasatan") at params+0x74; DailyChallenge::Init 00426a50 sets it with endStage 11 on Sundays ChallengeParam 0x78 float _minFireRate challenges_xml_load 009569f0 stores (float)atof("minfirerate") at params+0x78 ChallengeParam 0x7c bool _maxDamage challenges_xml_load 009569f0 parses "maxdamage" (true/1) into byte params+0x7c ChallengeParam 0x7d bool _minShotSpeed challenges_xml_load 009569f0 parses "minshotspeed" (true/1) into byte params+0x7d ChallengeParam 0x7e bool _bigRange challenges_xml_load 009569f0 parses "bigrange" (true/1) into byte params+0x7e ChallengeParam 0x7f bool _isPathTypeSet ? challenges_xml_load 009569f0 sets byte params+0x7f = 1 for every parsed ; DailyChallenge::Init 00426a50 sets _params+0x7f = 1; Reset 00424440 clears it (dword +0x7c = 0) ChallengeParam 0x80 int _pathType challenges_xml_load 009569f0: "altpath" true -> params+0x80 = 1, "secretpath" true -> 2; DailyChallenge::Init 00426a50 writes 0..3 with the end stage ChallengeParam 0x84 unsigned int _getCurse challenges_xml_load 009569f0 stores atoi("getcurse") at params+0x84 ChallengeParam 0x88 unsigned int _curseFilter challenges_xml_load 009569f0 stores atoi("cursefilter") at params+0x88 ChallengeParam 0x8c std_vector_int _collectibleTwinList challenges_xml_load 009569f0 pushes "startingitems2" ids into the vector at params+0x8c (end ptr local +0x90); copy ctor 0095c050 std::vector copy at +0x8c ChallengeParam 0x98 std_vector_int _seedEffects Game::StartDailyChallenge 006f6dd0 calls Seeds::AddSeedEffect(daily+0xa8[i]) (=_params+0x98) for each element (asm 006f6ed2..006f6f12); copy ctor 0095c050 copies the int vector at +0x98; Reset 00424440 sets +0x9c = +0x98; struct size 0xa4 (Game::GetChallengeParams 00706940 stride) Menu_Online 0x4 ANM2 _anm2 Menu_Online::enter 008e5260 ANM2::SetAnimation(this+4, "Idle"); Menu_Online::Update 008e4b10 GetLayer(this+4, "Cursor") + SetLayerFrame(.., _state); Render 008e4e30 GetLayer(this+4, "BackKey") Menu_Online 0x22c int _prevState Menu_Online::Update 008e4b10 (asm 008e4b83/008e4be7): a held-input repeat counter, not a previous state: the cursor moves only when it is 0 or >0x31 and %10 == 0, then it is incremented (reset to 0 when no input); Menu_Online::enter 008e5260 sets it to 1 Menu_Online 0x230 int _state Menu_Online::Update 008e4b10 (asm 008e4ba8..008e4c18) cycles it 0..4 (Quick Match/Public Match/Friend Match/Daily Run/Options) and switches on it when confirming; Render 008e4e30 picks the #Online/ONLINE_*_DESCRIPTOR text from it GameStateItemPool 0x0 std_vector_float _poolsItemWeights[31] ItemPool::StoreGameState 007367d0 resizes the 31 vectors at state+0 (stride 0xc) to each pool's item count and copies each PoolItem weight (+8, stride 0x18) into them GameStateItemPool 0x174 uint32_t _bibleUpgrades[31] ItemPool::StoreGameState 007367d0 copies ItemPool _pools[i]._bibleUpgrade (pool+0x30) to state+0x174+i*4 (LEA EAX,[ECX+0x174] at 007367f0) GameStateItemPool 0x1f0 uint32_t _seed ItemPool::StoreGameState 007367d0 MOV [ECX+0x1f0], ItemPool+0 (seed) at 0073690a GameStateItemPool 0x1f4 int _lastPool ItemPool::StoreGameState 007367d0 MOV [ECX+0x1f4], ItemPool+0x650 (_lastPool) at 00736916 GameStateItemPool 0x1f8 uint32_t _itemPoolRNGseed ItemPool::StoreGameState 007367d0 MOV [ECX+0x1f8], ItemPool+0x654 (_itemPoolRNG seed) at 00736922 GameStateItemPool 0x1fc uint32_t _trinketPoolRNGseed ItemPool::StoreGameState 007367d0 MOV [ECX+0x1fc], ItemPool+0x664 (_trinketPoolRNG seed) at 0073692e GameStateItemPool 0x200 float _unkFloat674 ? ItemPool::StoreGameState 007367d0 MOV [ECX+0x200], ItemPool+0x674 (_unkFloat674) at 0073693a GameStateItemPool 0x204 float _unkFloat678 ? ItemPool::StoreGameState 007367d0 MOV [ECX+0x204], ItemPool+0x678 (_unkFloat678) at 00736946 GameStateItemPool 0x208 vector_bool _removedCollectibles ItemPool::StoreGameState 007367d0 resizes the vector at state+0x208 to ItemPool+0x688 bits and copies the _removedCollectibles bits (ItemPool+0x67c) GameStateItemPool 0x218 vector_bool _trinketPoolItems ItemPool::StoreGameState 007367d0 resizes the vector at state+0x218 (ADD ECX,0x218 at 007369c8) to the trinket count and stores each TrinketPoolItem +4 (available) flag as a bit (REPENTOGON types it vector_TrinketPoolItem: it is a bit vector) GameStateItemPool 0x228 int _pillEffects[15] ItemPool::StoreGameState 007367d0 copies 15 dwords ItemPool+0x7a4 (pill effects) to state+0x228 (00736a39..00736a63) GameStateItemPool 0x264 bool _identifiedPillEffects[15] ItemPool::StoreGameState 007367d0 copies 15 bytes ItemPool+0x7e0 (identified flags, ItemPool::IdentifyPill 00718ea0 / IsPillIdentified 0083c490) to state+0x264 GameStateItemPool 0x274 uint16_t _remainingGenesisItems[31] ItemPool::StoreGameState 007367d0 copies 31 words ItemPool+0x7f0 to state+0x274 (00736a65..00736a85); struct ends 0x2b4 (name from REPENTOGON, meaning unchecked) ItemPool_Item 0x0 float _totalWeight ItemPool::load_pools 00735a30 adds each item's weight to pool+0; ItemPool::GetCollectible 00733610 RNG::RandomFloat * pool._totalWeight; ctor 00732c20 = 0 ItemPool_Item 0x4 std_vector_PoolItem _poolList ItemPool_Item ctor 00732c20 zeroes +4/+8/+0xc; ItemPool::load_pools 00735a30 emplaces 0x18-byte items at pool+8 (end) / +0xc (cap); shuffle_pools 00735910 and StoreGameState 007367d0 walk pool+4..+8 stride 0x18 ItemPool_Item 0x10 RNG _rng1 ItemPool_Item ctor 00732c20 sets +0x10 = 0xaa17414f and the shift triple at +0x14..+0x1c (RNG layout) ItemPool_Item 0x20 RNG _rng2 ItemPool_Item ctor 00732c20 sets +0x20 = 0xaa17414f and the shift triple at +0x24..+0x2c ItemPool_Item 0x30 uint32_t _bibleUpgrade ItemPool_Item ctor 00732c20 zeroes +0x30; ItemPool::StoreGameState 007367d0 copies pool+0x30 to GameStateItemPool._bibleUpgrades[i]; ItemPool::AddBibleUpgrade 00736fd0 adds to ItemPool+0x34+i*0x34; stride 0x34 (GetPool 00732c70) GlowingHourglassState 0x0 bool _isUsable Game::GetGlowingHourglassState 00706780 returns the slot only when its first byte is set; Game::save_rewind_state 00705ee0 sets *slot = 1 after storing GlowingHourglassState 0x4 GameState _gameState Game::save_rewind_state 00705ee0 calls store_game_state(game, slot+4); GameState is 0x1fe28 bytes (last member _saveFile at 0x1fe24), so it ends at 0x1fe2c GlowingHourglassState 0x1fe2c int _leaveDoor Game::save_rewind_state 00705ee0 stores its arg (the door slot, from Room::update_door_transitions 007f01c0; -1 otherwise) at slot+0x1fe2c and returns early if the same door is passed again (REPENTOGON 0x1fca4: drifted +0x188) GlowingHourglassState 0x1fe30 uint32_t _timeCounter Game::save_rewind_state 00705ee0 stores Game _frameCount at slot+0x1fe30 and skips a new save within 0xf frames of it (REPENTOGON 0x1fca4+4: drifted +0x188) GlowingHourglassState 0x1fe34 int _eventCounters[523] Game::save_rewind_state 00705ee0 copies 0x20b dwords of PersistentGameData _eventCounters to slot+0x1fe34; ends at 0x20660 = the slot stride (eh-vector ctor 0x20660 x2, GetGlowingHourglassState) (REPENTOGON 0x1fcac: drifted +0x188) BackwardsStageDesc 0x0 RoomDescriptor _bossRooms[2] Game::SaveBackwardsStage 00708050 (desc = Game::get_backwards_stage 00738340 base): copy_room_list into boss room i, frees/zeroes the RoomDescriptor data pointer at desc+0x10+i*0xb8 (write_room_config first) BackwardsStageDesc 0x170 GameStateRoomConfig _bossRoomConfigs[2] Game::SaveBackwardsStage 00708050 Level::write_room_config(bossRoom[i].data, desc+0x170+i*0xc) BackwardsStageDesc 0x188 RoomDescriptor _treasureRooms[2] Game::SaveBackwardsStage 00708050: for room type 4 (treasure) copy_room_list into treasure room i, data pointer at desc+0x198+i*0xb8 BackwardsStageDesc 0x2f8 GameStateRoomConfig _treasureRoomConfigs[2] Game::SaveBackwardsStage 00708050 Level::write_room_config(treasureRoom[i].data, desc+0x2f8+i*0xc) BackwardsStageDesc 0x310 uint32_t _bossRoomsCount Game::SaveBackwardsStage 00708050 sets desc+0x310 = 1 (last boss room), increments it per extra type-5 room while < 2; Level::place_rooms_backwards 00741e60 reads it BackwardsStageDesc 0x314 uint32_t _treasureRoomsCount Game::SaveBackwardsStage 00708050 zeroes desc+0x314 and increments it per type-4 (treasure) room while < 2; Level::place_rooms_backwards 00741e60 reads it BackwardsStageDesc 0x318 uint32_t _stageType Game::SaveBackwardsStage 00708050 stores Game _stageType at desc+0x318 BackwardsStageDesc 0x31c bool _isXL Game::SaveBackwardsStage 00708050 sets byte desc+0x31c = (_bossRoomsCount > 1); stride 800 (get_backwards_stage 00738340)