benilla-re systems structs docs

ScriptFunctionsInitSquare

function · ui · primitive

Address
0x705eb0 · 19 bytes, up to 0x705ec2
Meaning
Stores a constant squared as a float in a global
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 1

Callees 0

None by a direct call or jump.

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