benilla-re systems structs docs

CSimpleModelFFX

struct · glue · 988 bytes

Vtable
0x803960
Meaning
Holds a ModelFFX frame: a CSimpleModel whose show hook and layer-2 draw add the current full-screen effect
Confidence
verified, proof one
Finding
glue/select#the-modelffx-frame

Finding: The ModelFFX frame in glue: character select

CSimpleModelFFX is the frame type ModelFFX: a 988-byte CSimpleModel made by the factory 0x46fa00, whose constructor 0x46fa30 runs the base constructor and stores the vtables 0x803960 and, at +0x24, 0x803934. It replaces the base's primary slots 0, 12 and 17. Slot 12, which the frame's show path calls, writes 0.30 (0x8380b4) to the light state's +0x110, makes ffxGlow current and runs the base slot 12. Slot 17 is the base's layer registration with 0x46fad0 in place of the model draw 0x76d240 for layer 2: the model draws between the current effect's begin (0x6cd890) and end (0x6cda70).

The derivation is in the doc.

Fields 2

offsetsizetypenamemeaningconfidencefinding
0x00004void **__vfptrHolds the vtable 0x803960verified, proof oneglue/select#the-modelffx-frame
0x00244void **m_innerVfptrHolds the second vtable 0x803934verified, proof oneglue/select#the-modelffx-frame