benilla-re systems structs docs

DestroyScriptEventTable

function · ui · orchestration

Address
0x7019f0 · 69 bytes, up to 0x701a34
Meaning
Destroys every event record and frees the event array; registered with _atexit
Confidence
verified, proof one
Finding
ui/README#static-initializers

Finding: Static initializers in ui

Each run opens with the shared header's initializers, its +∞ first (systems/README.md, Object files): a thunk, a five-byte jmp or a ten-byte call and jmp, and a body that stores one value in a global of the file: +∞ copied from a constant, π + π, 1 over that, 10·10, or 0.5/10. The extra initializers are the layout queue (anchors), the point getters' second +∞ in 0xcf550c, the drag threshold 0.01·0.01 in 0xcf0c14, the event table of the script, and the method hash tables of the frame and region methods, each with an exit handler. The initializers of the rest of the files are initthunks, initfloats, initstores and initexits.

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.