benilla-re systems structs docs

StaticInitStartEvent

function · core · orchestration

Address
0x420b60 · 10 bytes, up to 0x420b69
Signature
void __cdecl (void)
Meaning
Calls 0x420b70 and registers 0x420b80 with _atexit; a static initializer
Confidence
verified, proof two
Finding
core/loop#static-initializers

Finding: Static initializers in core: the frame loop

The scheduler's object files run 12 static initializers from the C runtime table. Each file copies +∞ into a global and stores 2π and 1/2π as floats, as every object file using the shared maths header does. The others build the context table 0xcf7700, the slot list 0x883ee8, the events 0x883ec4 and 0x883f24, the slot lock and the thread array (Slot lock and thread array), each registering a matching destructor with _atexit.

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.