README: UseActiveItem now has its real prototype

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
shweetandClaude Opus 5.5 committed 2026-10-24 22:50:02 -04:00
1 parent 6638243f83
commit eafedb13a3
1 file changed
+4 -5
+4 -5
View File
@@ -198,7 +198,7 @@ together with the Book of Belial (34) effect. The multiplier applies once, not p
```
$ ./find.sh active 33 25
---- line 628
case (Entity_Player *)0x21:
case 0x21:
FUN_009568e0(); ... (sound/effect calls)
Room::GetEntities(); ... loop:
if ((Entity::Type() == 0x2d) || (Entity::Type() == 0x4e)) { /* Mom (45) / Mom's Heart (78) */
@@ -216,10 +216,9 @@ $ ./find.sh active 33 25
`Entity_NPC::HandleCollision` (decompiler error "PTRSUB off of non structured pointer type") do not
decompile at all; read them with `--asm`. `build.sh` retries named failures
automatically and splices them in (`scripts/splice.py`). For anything else use `--asm`.
- Typed `__thiscall` code prints casts such as `case (Entity_Player *)0x21:`, because the switch variable got
the `this` type. It is harmless. Item, trinket and player lookups are grep
heuristics. Struct fields REPENTOGON doesn't know are `field_0x...`. Lua-named methods outside the zhl set
have no typed `this`, so you see `in_ECX + 0x13c0`.
- Item, trinket and player lookups are grep heuristics. Struct fields not confirmed in this exe are `field_0x...`.
A function with no confirmed prototype can still show `in_ECX + 0x13c0` or odd parameter types guessed by the
decompiler; if you work out its signature, that is worth a db entry.
## Adding findings back