benilla-re systems structs docs

s_screenLayers

global · unassigned

Address
0x885610 · 12 bytes, up to 0x88561b
Type
uint32_t[3]
Meaning
Holds the screen-layer list: the link offset 0x38, then the end link, lowest priority first
Confidence
verified, proof one
Finding
core/framepass#layer-order

Finding: Layer order in core: the frame pass

ScrnLayerCreate (0x442800) makes a layer from a rectangle (null for the unit square), flags, a priority, a parameter and a callback, and writes its handle. The list runs from the lowest priority to the highest: a new layer goes after the last one, counting from the tail, whose priority is not greater than its own, or at the head; so among equal priorities the newer comes later. The lowest the client makes is the interface top's: the unit square, priority 1.0, flags 4 and the callback 0x764330, from the top's constructor (0x764264).

The derivation is in the doc.