benilla-re systems structs docs

CSimpleModelFFX::RegisterLayer

function · glue · orchestration

Address
0x46fa90 · 56 bytes, up to 0x46fac7
Signature
void __thiscall (CSimpleModelFFX *this, void *batch, uint32_t layer)
Meaning
Registers the frame's layer and, for layer 2 with a scene model, the effect-wrapped draw 0x46fad0
Confidence
verified, proof one
Finding
glue/selectscene#select-draw-order

Finding: Select draw order in glue: the select scene

The select scene paints in the ModelFFX frame's own strata and level bucket, MEDIUM level 1 under GlueParent (MEDIUM, 0), and every visible region of the select screen is in a later bucket, so the effect bracket around the scene never covers a UI pixel. The override 0x46fa90 registers 0x46fad0 on layer 2 only when the frame has a model; the base's direct registration of the scene draw 0x76d240 is not made.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 2

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