benilla-re systems structs docs

s_loadingScreen

global · loadingscreen

Address
0x882be0 · 4 bytes, up to 0x882be3
Type
uint32_t
Meaning
Holds the loading screen layer handle, or 0
Confidence
verified, proof one
Finding
loadingscreen/screen#raising-the-screen

Finding: Raising the screen in loadingscreen: screen

0x406800 clears bit 0 of the layer's flags (0x4083c0 with cl = 0), zeroes the three progress inputs, and, when no screen exists, loads the two bar textures into 0x882da8 and creates the layer: rectangle (0, 0, 1, 1), flags 6, priority 9.0, parameter 0, paint callback 0x406a60, the handle stored at 0x882be0. It then installs the input veto. Every call ends by repainting at once (0x406900), so a raise while a screen is up resets the inputs and repaints. An arrival aboard a transport sets bit 0 instead; the layer walk skips a call to 0x65bd90 for a layer that has it.

The derivation is in the doc.