benilla-re systems structs docs

CGCharacterModelBase::vftable

global · ui

Address
0x8084f8 · 160 bytes, up to 0x808597
Type
void *[40]
Meaning
Holds the 40 virtual function slots of CGCharacterModelBase, which its constructor stores
Confidence
verified, proof one
Finding
ui/playermodel#pane-classes

Finding: Pane classes in ui: PlayerModel, DressUpModel and TabardModel

Five frame classes share the model-frame paint. The pane constructors store their own vtables over the Model frame's; the tables differ in slots 33, 34, 36, 38 and 39:

classvtablesizeslot 38 (per paint)slot 39 (model ready)
Model0x81c6080x3dc0x76d1a00x76ce00
ModelFFX (glue)0x8039600x3dc0x76d1a00x76ce00
PlayerModel0x8084f80x3f80x505c500x505b30
DressUpModel0x8083a80x4100x5044700x505b30
TabardModel0x8082600x4100x505c500x503c10

Slot 33 is 0x505ce0 and slot 34 is 0x505d00 in the three pane tables, the base frame's 0x76ad50 and 0x76ae10 in the other two. DressUpModel slot 36 is 0x504350; the rest are the Model frame's.

The derivation is in the doc.