InitLsCounterAtExit
function · loadingscreen · orchestration
- Address
0x408ea0· 12 bytes, up to0x408eab- Signature
void __cdecl (void)- Meaning
- Registers the destructor 0x408eb0 with _atexit
- Confidence
- verified, proof one
- Finding
- loadingscreen/overview#static-objects
Finding: Static objects in loadingscreen: overview
Eight statics are built by the run's own slots, each a slot function that calls a body and then
registers a destructor with _atexit. The bodies store white (0xffffffff) as the route colour;
the unit quad's texture coordinates (0, 1), (1, 1), (0, 0), (1, 0); zeroes for the 12 world map
tiles' arrays; an empty route vertex array and two empty taxi arrays; the ship quad's offsets
(∓0.01, ∓0.015, 0) in the order (−,−), (+,−), (−,+), (+,+) and coordinates (0, 1), (0.5, 1), (0, 0.5),
(0.5, 0.5). The vertex and taxi destructors free their buffers; the rest return at once. 0x408e70 counts the file as one more user of a shared library
object and calls 0x5b71c0 on the first.
The derivation is in the doc.
Callers 1
- InitLsCounter loadingscreen
Callees 1
- _atexit crt
Calls and jumps by a bare address, from tables/calls.tsv.