db: vtable audit fixes (Entity_Player::TakeDamage, GridEntity_Gravity/Wall::PostInit)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
shweetandClaude Opus 5.5 committed 2026-10-24 20:31:05 -04:00
1 parent e22000166d
commit 8f10ec33f9
2 files changed
+5 -1

No files matched your search

+1 -1
View File
@@ -58,7 +58,7 @@ so parallel live calls work too. Set `DECOMP_TIMEOUT=secs` for big functions (de
|---|---|---|
| `NpcAI::ENTITY_<NAME>` | NPC AI dispatch table, named by the first entity type that uses it | high, but it is the first call in the case block: if one has many callers it is a shared helper (that is how ProjectileParams::ProjectileParams got called ENTITY_GEMINI). Types 79 Gemini and 93 Mask have no AI function at all: their case is inline in the dispatcher |
| `Entity_Player::UseActiveItem`, `Sprite::Play`, `Game::GetRoom` ... with comment `ZHL [lua]` | the game's own Lua API registration (method name -> C++ function) | high, but see the ICF note |
| comment `ZHL [exact]` | REPENTOGON byte signature, exact unique match | high for long sigs; short sigs can hit the wrong function; where the Lua table disagrees, db/names.tsv records the Lua name (e.g. 007ab380 is `Entity_Player::AnimateCollectible`, not HasCollectible) |
| comment `ZHL [exact]` | REPENTOGON byte signature, exact unique match | high for long sigs, but not proof (0099b520 matched Entity_Player::InitPreLevelInitStats exactly and is GridEntity_Gravity::PostInit); short sigs can hit the wrong function; where the Lua table disagrees, db/names.tsv records the Lua name (e.g. 007ab380 is `Entity_Player::AnimateCollectible`, not HasCollectible) |
| comment `ZHL [prefixN/M]` | the sig failed (version drift); the longest unique prefix of N of M bytes matched | medium |
| comment `ZHL [vtable slot N]` | REPENTOGON vtable layout applied to the RTTI `Class::vftable` | high |
| comment `DB: ...` | `db/names.tsv`, a person or agent checked it (the note says how) | highest; overrides all of the above |
+4
View File
@@ -1399,3 +1399,7 @@
00a0f410 Weapon_UrnOfSouls::Reset vtable slot 4 of Weapon_UrnOfSouls; slot name from Weapon
00a0f420 Weapon_UrnOfSouls::ClearReferences vtable slot 5 of Weapon_UrnOfSouls; slot name from Weapon
009f3170 Weapon_UrnOfSouls::GetMainEntity vtable slot 10 of Weapon_UrnOfSouls; slot name from Weapon
# Vtable audit: functions in a declared slot whose current name came from a wrong sig (even an "exact" one)
007729d0 Entity_Player::TakeDamage Entity_Player vtable slot 8 (TakeDamage), 25 KB
0099b520 GridEntity_Gravity::PostInit GridEntity_Gravity vtable slot 1; Tiles_Itemdungeon(_Gideon).anm2; ZHL exact sig said Entity_Player::InitPreLevelInitStats
00721310 GridEntity_Wall::PostInit GridEntity_Wall vtable slot 1; Brick/LowBrick/Decoration anims; ZHL prefix29/30 said Entity_Player::TryRemoveTrinket
Can't render this file because it contains an unexpected character in line 18 and column 80.