benilla-re systems structs docs

ReturnZeroPopOneA

function · glue · orchestration

Address
0x46ff80 · 5 bytes, up to 0x46ff84
Signature
uint32_t __thiscall (void *this, uint32_t arg)
Meaning
Returns 0 and pops one argument; slot 21 of CSimpleModelFFX's vtable, one of 26 stored copies
Confidence
verified, proof one
Finding
glue/create#modelffx-vtables-and-stubs

Finding: ModelFFX vtables and stubs in glue: character create

CSimpleModelFFX (988 bytes) has two vtables, 0x803960 at +0x00 and 0x803934 at +0x24. Besides its destructor and a thunk, they hold seven inherited methods here: three of the model class, answering type queries as Model, and four stubs shared with dozens of frame vtables. The addresses 0x803938, 0x803958 and 0x803970 are slots inside them, not vtables.

functiontable, slotdoes
0x4700400x803960, 0stores both vtables, calls 0x76ca50, frees when bit 0 is set
0x4700800x803934, 1subtracts 0x24 from this, jumps to 0x470040
0x46ff700x803960, 1returns this+0x98
0x46ffa00x803960, 41 for one of three type ids
0x46ffd00x803960, 61 for Model, Frame or Region, any case
0x4700300x803960, 7returns Model
0x46ff80, 0x46ff900x803960, 21, 22return 0, pop one argument
0x46ff600x803934, 9returns 0

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 0

None by a direct call or jump.

Calls and jumps by a bare address, from tables/calls.tsv.