benilla-re systems structs docs

SetLoadingLayerBit

function · loadingscreen · primitive

Address
0x4083c0 · 58 bytes, up to 0x4083f9
Signature
void __fastcall (uint8_t set)
Meaning
Sets or clears bit 0 of the loading screen layer's flags
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.

Callers 2

Callees 2

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