benilla-re systems structs docs

CGCharacterModelBase::CGCharacterModelBase

function · ui · orchestration

Address
0x505680 · 249 bytes, up to 0x505778
Meaning
Constructs the model frame base: zeroes the pane fields, stores the PlayerModel tables, enables a directional light
Confidence
verified, proof one
Name from
the community database (idb)
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.

Callers 3

Callees 4

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