benilla-re systems structs docs

s_frameCount

global · ui

Address
0xcf0c1c · 4 bytes, up to 0xcf0c1f
Type
uint32_t
Meaning
Counts the CSimpleFrame objects that exist
Confidence
verified, proof two
Finding
ui/frames#construction

Finding: Construction in ui: the frame object model

The constructor builds the CScriptRegion, zeroes the frame fields, sets shown to 1, the state to 1, the stratum to 3, alpha to 255 and both scales to 1.0, builds the lists and the five batches, counts the frame in 0xcf0c1c, takes the top from 0xcf0bd8 and joins its frame list, sets the parent passed to it, switches the first four layers on, and makes itself visible through slot 0x88.

The derivation is in the doc.