diff --git a/README.md b/README.md index 35f39e4..61522ba 100644 --- a/README.md +++ b/README.md @@ -58,7 +58,7 @@ so parallel live calls work too. Set `DECOMP_TIMEOUT=secs` for big functions (de |---|---|---| | `NpcAI::ENTITY_` | 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 | diff --git a/db/names.tsv b/db/names.tsv index d82a8e9..95c7995 100644 --- a/db/names.tsv +++ b/db/names.tsv @@ -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