ReturnZeroPopOneA
function · glue · orchestration
- Address
0x46ff80· 5 bytes, up to0x46ff84- 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.
| function | table, slot | does |
|---|---|---|
0x470040 | 0x803960, 0 | stores both vtables, calls 0x76ca50, frees when bit 0 is set |
0x470080 | 0x803934, 1 | subtracts 0x24 from this, jumps to 0x470040 |
0x46ff70 | 0x803960, 1 | returns this+0x98 |
0x46ffa0 | 0x803960, 4 | 1 for one of three type ids |
0x46ffd0 | 0x803960, 6 | 1 for Model, Frame or Region, any case |
0x470030 | 0x803960, 7 | returns Model |
0x46ff80, 0x46ff90 | 0x803960, 21, 22 | return 0, pop one argument |
0x46ff60 | 0x803934, 9 | returns 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.