ModelIsTypeName
function · glue · orchestration
- Address
0x46ffd0· 89 bytes, up to0x470028- Signature
uint32_t __thiscall (void *this, const char *name)- Meaning
- Returns 1 when a name is Model, Frame or Region in any case, else 0
- 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 1
- SStrCmpI storm
Calls and jumps by a bare address, from tables/calls.tsv.