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:
1 parent
e22000166d
commit
8f10ec33f9
2 files changed
+5
-1
No files matched your search
@@ -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 |
|
||||
|
||||
Reference in new issue
Block a user