Fields: 325 identified from the most-used unnamed offsets; bracketing is no longer evidence; '-' rows delete wrong fields
Entity _mass (0x2d4) and _depthOffset (0x2b0) were REPENTOGON fields kept by bracketing and both wrong (Lua getters read 0x37c / 0x358). Bracketed fields now need direct confirmation; 155 are being re-verified. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
962ec27869
commit
134ab40589
7 files changed
+2306
-2104
No files matched your search
@@ -75,9 +75,10 @@ functions by their body, not their name.
|
||||
|
||||
**Struct fields are only shown where this exe confirms the offset.** REPENTOGON's definitions target 1.9.7.12 and members
|
||||
drift (Game +0x58 .. +0xd98 in steps, Entity_Player +4 .. +0x2c, Entity_Familiar +0x14, GridEntity_Door +0x114), so a
|
||||
REPENTOGON offset is never evidence by itself. `scripts/zhl_fields.py` keeps a REPENTOGON field only when a trivial getter
|
||||
or the game's Lua field table confirms it, or when it sits between two confirmed fields with the same shift;
|
||||
`db/fields.tsv` holds the rest, each with the function that proves it (about 600 were verified that way). Anything else is
|
||||
REPENTOGON offset is never evidence by itself, not even between two confirmed neighbours with the same shift (that put
|
||||
Entity `_mass` at 0x2d4; the Lua getter reads 0x37c). `scripts/zhl_fields.py` keeps a REPENTOGON field only when a trivial
|
||||
getter or the game's Lua field table confirms it; `db/fields.tsv` holds the rest, each with the function that proves it
|
||||
(about 1,000 so far), and a row with type `-` deletes a wrong one. Anything else is
|
||||
`field_0xNNN`: unknown, not guessed. `src/structs.hpp` is generated from the same data and only compiles if every offset
|
||||
is consistent.
|
||||
|
||||
|
||||
@@ -16,13 +16,12 @@ NPC_DISPATCH=006c2990 # Entity_NPC_UpdateAI_dispatch (callee of Entity_NPC::Up
|
||||
GAME="${GAME:-$HOME/.steam/steam/steamapps/common/The Binding of Isaac Rebirth}"
|
||||
apply_db() { # db names -> struct types (zhl + db fields)
|
||||
G -process isaac-ng.exe -noanalysis -postScript ApplyDb.java "$D/db/names.tsv"
|
||||
grep -hv '^#' "$D/zhl_fields.tsv" "$D/lua_fields.tsv" "$D/db/fields.tsv" > "$D/build_fields.tsv" # later lines win
|
||||
P headers.py --merged "$D/build_fields.tsv" "$D/src/structs.hpp" "$D/zhl_fields.tsv" "$D/lua_fields.tsv" "$D/db/fields.tsv" # later rows win, "-" deletes
|
||||
echo '#include "structs.hpp"' | g++ -std=c++17 -fsyntax-only -I"$D/src" -x c++ - \
|
||||
|| echo "src/structs.hpp does not compile: a db/fields.tsv offset contradicts another" >&2
|
||||
G -process isaac-ng.exe -noanalysis -postScript ApplyTypes.java "$D/build_fields.tsv"
|
||||
G -process isaac-ng.exe -noanalysis -postScript ApplyProtos.java "$D/db" "$D/repentogon/libzhl/functions" # only where RET n agrees
|
||||
G -process isaac-ng.exe -noanalysis -postScript ApplyLocals.java "$D/db/locals.tsv" # after types: names refer to that decompile
|
||||
P headers.py "$D/src/structs.hpp" "$D/zhl_fields.tsv" "$D/lua_fields.tsv" "$D/db/fields.tsv"
|
||||
echo '#include "structs.hpp"' | g++ -std=c++17 -fsyntax-only -I"$D/src" -x c++ - \
|
||||
|| echo "src/structs.hpp does not compile: a db/fields.tsv offset contradicts another" >&2
|
||||
}
|
||||
types_dump() { # final dump, built in dump.new and swapped in at the end so readers never see a half-written dump
|
||||
O="$D/dump.new"; command rm -rf "$O"
|
||||
|
||||
+330
@@ -715,3 +715,333 @@ RoomSpawn 0x2 short _y Lua Spawn.Y via binder 0088e450: getter 008c1e80 pushinte
|
||||
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<<form) (4,8,0x20,0x100,0x800) before granting a transformation's one-time reward (soul hearts, black hearts, pickup)
|
||||
Entity_Player 0x1b24 int _delayedSfxId PlayDelayedSFX 007cb5d0 (ZHL soundEffectID) stores it; Update 00782af0 plays it when 0x1b2c counts down to 0
|
||||
Entity_Player 0x1b28 float _delayedSfxVolume PlayDelayedSFX 007cb5d0 stores the volume (xmm2) here
|
||||
Entity_Player 0x1b2c int _delayedSfxDelay PlayDelayedSFX 007cb5d0 stores soundDelay; Update 00782af0 decrements and plays 0x1b24 at 0; room_enter sets 30/60
|
||||
Entity_Player 0x1b30 int _delayedSfxFrameDelay PlayDelayedSFX 007cb5d0 stores frameDelay, passed as SoundEffects::Play frameDelay
|
||||
Entity_Player 0x1e70 float _heightVelocity Update 00782af0: posOffset.y += it, then += 1.1 (0.6 with flag 0x4000000) per frame like gravity, reset to 0 on landing; room_enter zeroes it; update_body_animations bails while it is <0
|
||||
Entity_Player 0x1ea8 int _poisonDamageFrames ? Update 00782af0: ++ each frame while the pending damage flags at Entity +0x18 (OR-ed by TakeDamage 007729d0 for 0-damage hits) hold DAMAGE_POISON_BURN 0x8000 (cleared by Evil Charm 632), plays SFX 590 and tints by min(it/30,1); 0 when the bit is gone
|
||||
Entity_Player 0x1ee8 float _jupiterCharge update_body_animations 00779b40: with Jupiter (594) += speedMult/60 up to 1 while standing still, drains while moving (fart sounds >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<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<unsigned_int>::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<EntityPtr>::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<Vector>::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<Vector>::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<uint> (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<int> (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<uint>[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<fn>[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<Entity_Familiar::ExtraData> 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
|
||||
|
Can't render this file because it contains an unexpected character in line 236 and column 126.
|
+13
-3
@@ -2,20 +2,28 @@
|
||||
# db/fields.tsv; later files win at the same offset), base-class fields flattened in, gaps as explicit padding, and a
|
||||
# static_assert on every member offset. Only offsets this exe confirms are in these files, so the header is as trustworthy
|
||||
# as the evidence behind them. Pointers are uint32_t (the game is 32-bit), so it compiles on any host.
|
||||
# Usage: headers.py out.hpp zhl_fields.tsv lua_fields.tsv db/fields.tsv
|
||||
# A db row with type "-" ("Entity<TAB>0x2d4<TAB>- _mass<TAB>why") deletes a wrong field from the earlier files.
|
||||
# Usage: headers.py [--merged fields_out.tsv] out.hpp zhl_fields.tsv lua_fields.tsv db/fields.tsv
|
||||
# --merged also writes the merged field list (what ApplyTypes.java gets)
|
||||
import collections, re, sys
|
||||
out, *srcs = sys.argv[1:]
|
||||
args = sys.argv[1:]
|
||||
merged = args.pop(args.index('--merged') + 1) if '--merged' in args else None
|
||||
if merged: args.remove('--merged')
|
||||
out, *srcs = args
|
||||
SIZE = {'bool': 1, 'char': 1, 'int8_t': 1, 'uint8_t': 1, 'unsigned char': 1, 'short': 2, 'int16_t': 2, 'uint16_t': 2,
|
||||
'unsigned short': 2, 'int': 4, 'int32_t': 4, 'uint32_t': 4, 'unsigned int': 4, 'unsigned long': 4, 'long': 4,
|
||||
'float': 4, 'uint64_t': 8, 'int64_t': 8, 'unsigned long long': 8, 'long long': 8, 'double': 8, 'Vector': 8}
|
||||
CTYPE = {'unsigned int': 'uint32_t', 'unsigned long': 'uint32_t', 'long': 'int32_t', 'unsigned short': 'uint16_t',
|
||||
'unsigned char': 'uint8_t', 'unsigned long long': 'uint64_t', 'long long': 'int64_t', 'char': 'int8_t'}
|
||||
fields, bases = collections.defaultdict(dict), {}
|
||||
fields, bases, rows = collections.defaultdict(dict), {}, {}
|
||||
for p in srcs:
|
||||
for l in open(p):
|
||||
if l.startswith('#') or not l.strip(): continue
|
||||
c = l.rstrip('\n').split('\t')
|
||||
if c[1] == 'base': bases[c[0]] = c[2]; continue
|
||||
if c[2].startswith('- '):
|
||||
fields[c[0]].pop(int(c[1], 16), None); rows.pop((c[0], int(c[1], 16)), None); continue
|
||||
rows[(c[0], int(c[1], 16))] = l if l.endswith('\n') else l + '\n'
|
||||
decl = c[2].replace('const ', '').strip()
|
||||
count = re.search(r'\[(\w+)\]\s*$', decl) # "int _trinketsID[2]"
|
||||
if count: decl = decl[:count.start()]
|
||||
@@ -63,4 +71,6 @@ with open(out, 'w') as o:
|
||||
'// add or fix fields in db/fields.tsv and regenerate. Offsets not confirmed in this exe are padding.\n'
|
||||
'#pragma once\n#include <cstddef>\n#include <cstdint>\n\n#pragma pack(push, 1)\n'
|
||||
'struct Vector { float x, y; };\n\n' + '\n'.join(o_ for o_ in order if not o_.startswith('struct Vector ')) + '#pragma pack(pop)\n')
|
||||
if merged:
|
||||
with open(merged, 'w') as o: o.writelines([f'{c}\tbase\t{b}\n' for c, b in bases.items()] + list(rows.values()))
|
||||
print(f'headers: {len(done)} structs' + (f'; duplicate member names in {dupes}' if dupes else ''))
|
||||
@@ -1,8 +1,8 @@
|
||||
# REPENTOGON's struct offsets target an older exe (1.9.7.12); fields drift as the game adds members, so they are only
|
||||
# kept where THIS exe confirms them. Evidence ("anchors"): a trivial getter in the corpus ("Class::GetFoo" returning
|
||||
# this+N anchors field "_foo" at N) or the game's Lua field table (lua_bindings.tsv: "EntityNPC State field+0xb64").
|
||||
# A field is kept when it is anchored, or lies between two anchors of its class with the same shift; everything else
|
||||
# is dropped (the decompiler then shows field_0xNNN) until db/fields.tsv confirms it. Base-class rows are always kept.
|
||||
# A field is kept only when it is anchored; everything else is dropped (the decompiler then shows field_0xNNN) until
|
||||
# db/fields.tsv confirms it. Base-class rows are always kept.
|
||||
# Usage: zhl_fields.py all.c zhl_dir lua_bindings.tsv out.tsv [names.tsv: addr \t Class::Member, overrides corpus names]
|
||||
# Prints per class: kept/total and the shifts seen.
|
||||
import collections, glob, os, re, sys
|
||||
@@ -49,9 +49,7 @@ with open(fout, 'w') as o:
|
||||
shifts = sorted((off, anchor[(c, norm(d.split()[-1]))] - off) for off, d in fields if (c, norm(d.split()[-1])) in anchor)
|
||||
kept = 0
|
||||
for off, d in fields:
|
||||
lo = [s for a, s in shifts if a <= off]; hi = [s for a, s in shifts if a >= off]
|
||||
if (c, norm(d.split()[-1])) in anchor: new = anchor[(c, norm(d.split()[-1]))]
|
||||
elif lo and hi and lo[-1] == hi[0]: new = off + lo[-1]
|
||||
else: continue
|
||||
else: continue # not confirmed: being between two anchors with the same shift is not proof (Entity _mass, _depthOffset)
|
||||
o.write(f'{c}\t0x{new:x}\t{d}\n'); kept += 1
|
||||
if shifts: print(f'{c}: kept {kept}/{len(fields)}, shifts ' + ' '.join(f'{a:x}{s:+#x}' for a, s in shifts if s))
|
||||
+1953
-1929
File diff suppressed because it is too large.
Load diff
-160
@@ -39,11 +39,9 @@ SteamCloudFile base KAGE_Filesys_FileStream
|
||||
Weapon_Brimstone base Weapon
|
||||
Weapon_MonstrosLung base Weapon
|
||||
ActiveItemDesc 0x0 int _item
|
||||
ActiveItemDesc 0x4 int _unk
|
||||
ActiveItemDesc 0x8 int _charge
|
||||
ActiveItemDesc 0xc int _batteryCharge
|
||||
ActiveItemDesc 0x10 int _subCharge
|
||||
ActiveItemDesc 0x14 int _timeRechargeCooldown
|
||||
ActiveItemDesc 0x18 int _partialCharge
|
||||
ActiveItemDesc 0x1c int _varData
|
||||
Entity 0x28 unsigned int _type
|
||||
@@ -52,69 +50,20 @@ Entity 0x30 unsigned int _subtype
|
||||
Entity 0x34 unsigned int _spawnerType
|
||||
Entity 0x38 unsigned int _spawnerVariant
|
||||
Entity 0x48 ANM2 _sprite
|
||||
Entity 0x15c float _shadowSize
|
||||
Entity 0x168 unsigned long long _flags
|
||||
Entity 0x170 bool _valid
|
||||
Entity 0x171 bool _visible
|
||||
Entity 0x172 bool _exists
|
||||
Entity 0x173 bool _dead
|
||||
Entity 0x177 bool _removedByFactory
|
||||
Entity 0x184 int _entityGridCollisionClass
|
||||
Entity 0x188 int _entityCollisionClass
|
||||
Entity 0x18e unsigned short _entityExtraDataPtrUpperBytes
|
||||
Entity 0x190 bool _collidesWithGrid
|
||||
Entity 0x192 unsigned short _entityExtraDataPtrLowerBytes
|
||||
Entity 0x1ac vector_ColorParams _colorParams
|
||||
Entity 0x210 int _fireDamageCountdown
|
||||
Entity 0x214 int _damageCountdown
|
||||
Entity 0x218 int _freezeCountdown
|
||||
Entity 0x21c int _poisonCountdown
|
||||
Entity 0x220 int _slowingCountdown
|
||||
Entity 0x224 int _charmedCountdown
|
||||
Entity 0x228 int _confusionCountdown
|
||||
Entity 0x22c int _midasFreezeCountdown
|
||||
Entity 0x230 int _fearCountdown
|
||||
Entity 0x234 int _burnCountdown
|
||||
Entity 0x238 int _bossStatusEffectCooldown
|
||||
Entity 0x23c int _shrinkCountdown
|
||||
Entity 0x278 float _poisonDamage
|
||||
Entity 0x27c float _burnDamage
|
||||
Entity 0x2b0 float _depthOffset
|
||||
Entity 0x2d4 float _mass
|
||||
Entity 0x2e0 int _poisonDamageTimer
|
||||
Entity 0x2e4 int _burnDamageTimer
|
||||
Entity 0x2e8 int _bleedingCountdown
|
||||
Entity 0x2f0 int _magnetizedCountdown
|
||||
Entity 0x2f4 int _baitedCountdown
|
||||
Entity 0x2f8 int _knockbackCountdown
|
||||
Entity 0x2fc int _weaknessCountdown
|
||||
Entity 0x300 int _iceCountdown
|
||||
Entity 0x304 int _brimstoneMarkCountdown
|
||||
Entity 0x308 Vector _knockbackDirection
|
||||
Entity 0x31c int _pauseTimer
|
||||
Entity 0x33c Vector _pos
|
||||
Entity 0x34c Vector _posOffset
|
||||
Entity 0x360 Vector _velocity
|
||||
Entity 0x370 float _size
|
||||
Entity 0x380 float _health
|
||||
Entity 0x388 float _collisionDamage
|
||||
Entity 0x39c float _speedMultiplier
|
||||
Entity 0x3b0 bool _isInvicible
|
||||
Entity 0x3b4 float _shrinkStatus1
|
||||
Entity 0x3b8 float _shrinkStatus2
|
||||
Entity 0x3bc EntityPtr _parent
|
||||
Entity 0x3c0 EntityPtr _child
|
||||
Entity 0x3c4 EntityPtr _target
|
||||
Entity 0x3c8 EntityPtr _spawnerEntity
|
||||
Entity 0x3d4 EntityPtr _minecart
|
||||
Entity 0x3dc RNG _dropRNG
|
||||
Entity 0x3ec uint32_t _initSeed
|
||||
Entity_Effect 0x450 int _state
|
||||
Entity_Effect 0x45c int _timeout
|
||||
Entity_Effect 0x460 int _lifespan
|
||||
Entity_Familiar 0x410 Entity_Player* _player
|
||||
Entity_Familiar 0x5f8 int _moveDelayNum
|
||||
Entity_Familiar 0x5fc NPCAI_Pathfinder _pathfinder
|
||||
Entity_Familiar 0xd74 bool _isFollower
|
||||
Entity_Familiar 0xd75 bool _isDelayed
|
||||
Entity_Familiar 0xd88 int _state
|
||||
@@ -127,10 +76,7 @@ Entity_Laser 0x45e bool _shrink
|
||||
Entity_Laser 0x464 HomingLaser _homingLaser
|
||||
Entity_Laser 0x4d0 float _maxDistance
|
||||
Entity_Laser 0x4d4 uint32_t _homingType
|
||||
Entity_Laser 0x4e0 float _scale
|
||||
Entity_Laser 0x4e4 bool _disableFollowParent
|
||||
Entity_Laser 0x500 bool _multidimensionalTouched
|
||||
Entity_Laser 0x514 bool _prismTouched
|
||||
Entity_Laser 0x515 bool _oneHit
|
||||
Entity_NPC 0x410 int _stateFrame
|
||||
Entity_NPC 0x414 NPCAI_Pathfinder _pathfinder
|
||||
@@ -141,22 +87,10 @@ Entity_NPC 0xbb0 Vector _v1
|
||||
Entity_NPC 0xbb8 Vector _v2
|
||||
Entity_NPC 0xbc0 int _i1
|
||||
Entity_NPC 0xbc4 int _i2
|
||||
Entity_NPC 0xbc8 uint32_t _deliriumBossType
|
||||
Entity_NPC 0xbcc uint32_t _deliriumBossVariant
|
||||
Entity_NPC 0xbd0 uint16_t _deliriumTransformationTimer
|
||||
Entity_NPC 0xbd2 uint8_t _deliriumRemainingAttacks
|
||||
Entity_NPC 0xbd3 uint8_t _deliriumState
|
||||
Entity_NPC 0xbd8 uint32_t _deliriumAttackID
|
||||
Entity_NPC 0xbdc uint8_t _deliriumAttackAngle
|
||||
Entity_NPC 0xbe0 uint32_t _deliriumCycleID
|
||||
Entity_NPC 0xc3d bool _isBoss
|
||||
Entity_NPC 0xc40 float _shieldStrength
|
||||
Entity_NPC 0xc74 uint16_t _championRegenTimer
|
||||
Entity_NPC 0xc78 int _bosscoloridx
|
||||
Entity_Pickup 0x534 int _price
|
||||
Entity_Pickup 0x540 int _timeout
|
||||
Entity_Player 0x1340 int _maxHearts
|
||||
Entity_Player 0x1344 int _redHearts
|
||||
Entity_Player 0x1348 int _eternalHearts
|
||||
Entity_Player 0x134c int _soulHearts
|
||||
Entity_Player 0x1350 int _blackHearts
|
||||
@@ -167,123 +101,49 @@ Entity_Player 0x1364 int _numBombs
|
||||
Entity_Player 0x1368 int _numCoins
|
||||
Entity_Player 0x13bc int _damageCooldown
|
||||
Entity_Player 0x13c0 int _playerType
|
||||
Entity_Player 0x140c Entity_Effect* _markedTarget
|
||||
Entity_Player 0x1410 Entity* _heldEntity
|
||||
Entity_Player 0x1458 Entity_Laser* _megaBlastLaser
|
||||
Entity_Player 0x145c int _rUaWizardTimer
|
||||
Entity_Player 0x1460 float _maxfiredelay
|
||||
Entity_Player 0x1464 float _shotspeed
|
||||
Entity_Player 0x1470 float _damage
|
||||
Entity_Player 0x1474 float _tearheight
|
||||
Entity_Player 0x1478 float _tearfallspeed
|
||||
Entity_Player 0x147c float _tearfallaccel
|
||||
Entity_Player 0x1480 float _tearrange
|
||||
Entity_Player 0x14c4 ColorMod _laserColor
|
||||
Entity_Player 0x1508 TemporaryEffects _temporaryeffects
|
||||
Entity_Player 0x1520 int _speedModifier
|
||||
Entity_Player 0x1524 int _fireDelayModifier
|
||||
Entity_Player 0x1528 int _damageModifier
|
||||
Entity_Player 0x152c int _tearRangeModifier
|
||||
Entity_Player 0x1568 float _movespeed
|
||||
Entity_Player 0x156c float _luck
|
||||
Entity_Player 0x1570 bool _canFly
|
||||
Entity_Player 0x1574 uint32_t _cacheFlags
|
||||
Entity_Player 0x1578 int8_t _tearDisplacement
|
||||
Entity_Player 0x157c float _tearPoisonDamage
|
||||
Entity_Player 0x1604 int _itemStateCooldown
|
||||
Entity_Player 0x1608 uint32_t _vampireCharmKills
|
||||
Entity_Player 0x1610 int _bombPlaceDelay
|
||||
Entity_Player 0x1614 int _forgottenSwapFormCooldown
|
||||
Entity_Player 0x1618 int _controllerIndex
|
||||
Entity_Player 0x161c int _playerIndex
|
||||
Entity_Player 0x1624 int _moveDirection
|
||||
Entity_Player 0x1628 int _headDirection
|
||||
Entity_Player 0x1825 bool _canShoot
|
||||
Entity_Player 0x1828 ColorMod _footprintColor1
|
||||
Entity_Player 0x1854 ColorMod _footprintColor2
|
||||
Entity_Player 0x1888 int _ponyCharge
|
||||
Entity_Player 0x188c int _planCKillCountdown
|
||||
Entity_Player 0x18a4 int _epiphoraCharge
|
||||
Entity_Player 0x18b0 uint32_t _deadEyeCharges
|
||||
Entity_Player 0x18b4 uint32_t _deadEyeMisses
|
||||
Entity_Player 0x18bc uint32_t _mawOfTheVoidChargeTimer
|
||||
Entity_Player 0x18e8 uint32_t _imExcitedSpeedupCountdown
|
||||
Entity_Player 0x18f4 int _megaBlastDuration
|
||||
Entity_Player 0x18f8 int _peeBurstCooldown
|
||||
Entity_Player 0x18fc int _maxPeeBurstCooldown
|
||||
Entity_Player 0x1900 int _bladderCharge
|
||||
Entity_Player 0x1904 int _maxBladderCharge
|
||||
Entity_Player 0x1908 bool _isUrethraBlocked
|
||||
Entity_Player 0x190c int _nextUrethraBlockFrame
|
||||
Entity_Player 0x1910 EntityDesc _friendBallEnemy
|
||||
Entity_Player 0x192c int _purityState
|
||||
Entity_Player 0x1930 int _immaculateConceptionState
|
||||
Entity_Player 0x1934 int _cambionConceptionState
|
||||
Entity_Player 0x1938 uint32_t _conceptionFamiliarFlags
|
||||
Entity_Player 0x193c float _d8DamageModifier
|
||||
Entity_Player 0x1940 float _d8SpeedModifier
|
||||
Entity_Player 0x1944 float _d8RangeModifier
|
||||
Entity_Player 0x1948 float _d8FireDelayModifier
|
||||
Entity_Player 0x194c int _goldenHearts
|
||||
Entity_Player 0x1aec int _babySkin
|
||||
Entity_Player 0x1d7c vector_EntitySaveState _movingBoxContents
|
||||
Entity_Player 0x1d88 int _boneHearts
|
||||
Entity_Player 0x1d8c int _boneHeartsMask
|
||||
Entity_Player 0x1d90 int _hallowedGroundCountdown
|
||||
Entity_Player 0x1da0 int _brokenHearts
|
||||
Entity_Player 0x1da4 int _rottenHearts
|
||||
Entity_Player 0x1dd0 uint32_t _urnSouls
|
||||
Entity_Player 0x1dd4 int _numGigaBombs
|
||||
Entity_Player 0x1f54 int _poopMana
|
||||
Entity_Player 0x1f7c int _eveSumptoriumCharge
|
||||
Entity_Player 0x1f80 std_map_int_int _itemWispsList
|
||||
Entity_Player 0x1fb8 int _modelingClayEffect
|
||||
Entity_Player 0x20a9 bool _isCoopGhost
|
||||
Entity_Tear 0x41c float _homingFriction
|
||||
Entity_Tear 0x420 float _fScale
|
||||
Entity_Tear 0x424 float _baseScale
|
||||
Entity_Tear 0x428 BitSet128 _tearFlags
|
||||
Entity_Tear 0x438 int _waitFrames
|
||||
Entity_Tear 0x43c Vector _continueVelocity
|
||||
Entity_Tear 0x444 std_vector_uint _hitList
|
||||
Entity_Tear 0x450 int _tearIdx
|
||||
Entity_Tear 0x454 float _baseDamage
|
||||
Entity_Tear 0x458 float _rotation
|
||||
Entity_Tear 0x45c int _scaleAnimNum
|
||||
Entity_Tear 0x460 float _knockbackMultiplier
|
||||
Game 0x1a740 ItemPool _itemPool
|
||||
Game 0x1af70 BossPool _bossPool
|
||||
Game 0x1b83c RoomTransition _roomTransition
|
||||
Game 0x1ba78 StageTransition _stageTransition
|
||||
Game 0x1baa8 PlayerManager _playerManager
|
||||
Game 0x1bb84 Seeds _seedEffects
|
||||
Game 0x1c034 ItemOverlay _itemOverlay
|
||||
Game 0x1da04 HUD _hud
|
||||
Game 0x264f8 int _frameCount
|
||||
Game 0x2650c Vector _screenShakeOffset
|
||||
Game 0x26534 bool _triggerWindowResize
|
||||
Game 0x26544 unsigned int _debugFlags
|
||||
Game 0x26548 uint64_t _gameStateFlags
|
||||
Game 0x26554 int _lastDevilRoomStage
|
||||
Game 0x26558 int _treasureRoomsVisited
|
||||
Game 0x2655c int _planetariumsVisited
|
||||
Game 0x2656c int _donationModGreed
|
||||
Game 0x26570 int _donationModAngel
|
||||
Game 0x26574 int _shopVisits
|
||||
Game 0x26580 EntityFactory* _entityFactory
|
||||
Game 0x26584 unsigned int _challenge
|
||||
Game 0x26588 bool _isRerun
|
||||
Game 0x26589 bool _isDebug
|
||||
Game 0x265c8 Ambush _ambush
|
||||
Game 0x26630 DailyChallenge _dailyChallenge
|
||||
Game 0x266e4 ScoreSheet _scoreSheet
|
||||
Game 0x26778 GenericPrompt _genericPrompt
|
||||
Game 0x269c0 int _lastLevelWithoutHalfHp
|
||||
Game 0x269c8 uint32_t _difficulty
|
||||
Game 0x269cc int _lastLevelWithDamage
|
||||
GridEntity 0x4 GridEntityDesc _desc
|
||||
GridEntity 0x24 unsigned int _gridIndex
|
||||
GridEntity 0x28 unsigned int _spawnFrame
|
||||
GridEntity 0x2c RNG _rng
|
||||
GridEntity 0x3c int _collisionClass
|
||||
GridEntity 0x40 ANM2 _sprite
|
||||
@@ -296,14 +156,12 @@ GridEntityDesc 0x14 int _varData
|
||||
GridEntityDesc 0x18 bool _initialized
|
||||
GridEntityDesc 0x1c unsigned int _variableSeed
|
||||
GridEntity_Door 0x27c ANM2 _extraSprite
|
||||
GridEntity_Door 0x394 int _targetRoomIdx
|
||||
GridEntity_Door 0x398 uint32_t _previousState
|
||||
GridEntity_Door 0x39c uint32_t _previousVariant
|
||||
HUD 0x54cc bool _isVisible
|
||||
ItemConfig_Card 0x0 int id
|
||||
ItemConfig_Card 0x4 int achievementId
|
||||
ItemConfig_Card 0x8 std_string name
|
||||
ItemConfig_Card 0x20 std_string desc
|
||||
ItemConfig_Card 0x38 std_string hudAnim
|
||||
ItemConfig_Card 0x50 bool greedModeAllowed
|
||||
ItemConfig_Card 0x54 unsigned int pickupSubtype
|
||||
@@ -322,7 +180,6 @@ ItemConfig_Costume 0x28 bool overwriteColor
|
||||
ItemConfig_Item 0x0 int type
|
||||
ItemConfig_Item 0x4 int id
|
||||
ItemConfig_Item 0x8 std_string name
|
||||
ItemConfig_Item 0x20 std_string desc
|
||||
ItemConfig_Item 0x38 std_string gfxFilename
|
||||
ItemConfig_Item 0x50 int achievementId
|
||||
ItemConfig_Item 0x54 int cacheFlags
|
||||
@@ -351,11 +208,9 @@ ItemConfig_Item 0xc4 int craftingQuality
|
||||
ItemConfig_Pill 0x0 int id
|
||||
ItemConfig_Pill 0x4 int achievementId
|
||||
ItemConfig_Pill 0x8 std_string name
|
||||
ItemConfig_Pill 0x20 std_string desc
|
||||
ItemConfig_Pill 0x38 bool greedModeAllowed
|
||||
ItemConfig_Pill 0x3c unsigned int announcerVoice
|
||||
ItemConfig_Pill 0x40 unsigned int announcerVoiceSuper
|
||||
ItemConfig_Pill 0x44 unsigned int announcerVoiceDelay
|
||||
ItemConfig_Pill 0x48 unsigned int mimicCharge
|
||||
ItemConfig_Pill 0x4c uint8_t effectClass
|
||||
ItemConfig_Pill 0x4d uint8_t effectSubClass
|
||||
@@ -390,37 +245,24 @@ ProjectileParams 0x94 uint32_t Variant
|
||||
QueueItemData 0x0 ItemConfig_Item* _item
|
||||
QueueItemData 0x4 int _charge
|
||||
Room 0x10 uint32_t _gridHeight
|
||||
Room 0x11ec int _roomClearDelay
|
||||
Room 0x11f8 Camera* _Camera
|
||||
Room 0x1bb0 uint32_t _bossId
|
||||
Room 0x1204 Vector _renderScrollOffset
|
||||
Room 0x120c bool _redHeartDamage
|
||||
Room 0x1218 EntityList _entityList
|
||||
Room 0x1618 FXLayers _fxLayers
|
||||
RoomDescriptor 0x0 int32_t GridIndex
|
||||
RoomDescriptor 0x4 int32_t SafeGridIndex
|
||||
RoomDescriptor 0x8 int32_t ListIndex
|
||||
RoomDescriptor 0xc int32_t Dimension
|
||||
RoomDescriptor 0x10 RoomConfig_Room* Data
|
||||
RoomDescriptor 0x14 RoomConfig_Room* OverrideData
|
||||
RoomDescriptor 0x18 int32_t AllowedDoors
|
||||
RoomDescriptor 0x3c int32_t DisplayFlags
|
||||
RoomDescriptor 0x40 int32_t VisitedCount
|
||||
RoomDescriptor 0x44 int32_t Flags
|
||||
RoomDescriptor 0x48 int16_t TotalMoneySpent
|
||||
RoomDescriptor 0x4a int16_t ClearCount
|
||||
RoomDescriptor 0x4c int32_t GreedSubType
|
||||
RoomDescriptor 0x50 int16_t PoopCount
|
||||
RoomDescriptor 0x52 int16_t TKeeperCoinSpawns
|
||||
RoomDescriptor 0x54 int32_t PitsCount
|
||||
RoomDescriptor 0x58 int32_t DecorationSeed
|
||||
RoomDescriptor 0x5c int32_t SpawnSeed
|
||||
RoomDescriptor 0x60 int32_t AwardSeed
|
||||
RoomDescriptor 0x64 uint32_t BossDeathSeed
|
||||
RoomDescriptor 0x68 vector_GridEntityDesc SavedGridEntities
|
||||
RoomDescriptor 0x74 vector_EntitySaveState SavedEntities
|
||||
RoomDescriptor 0x80 std_set_int RestrictedGridIndexes
|
||||
RoomDescriptor 0x88 vector_EntitySaveState SavedEffects
|
||||
RoomDescriptor 0xac int16_t ShopItemIdx
|
||||
RoomDescriptor 0xae int16_t ShopItemDiscountIdx
|
||||
RoomDescriptor 0xb0 int32_t DeliriumDistance
|
||||
@@ -428,8 +270,6 @@ Seeds 0x50 unsigned int _playerInitSeed
|
||||
TearParams 0x0 int _tearVariant
|
||||
TearParams 0x4 int _bombVariant
|
||||
TearParams 0x8 ColorMod _tearColor
|
||||
TearParams 0x34 int _unused
|
||||
TearParams 0x38 BitSet128 _flags
|
||||
TearParams 0x48 float _tearDamage
|
||||
TearParams 0x4c float _tearScale
|
||||
TearParams 0x50 float _tearHeight
|
||||
|
||||
|
Reference in new issue
Block a user