benilla-re systems structs docs

FrameInitDragThreshold

function · ui · primitive

Address
0x76b300 · 19 bytes, up to 0x76b312
Meaning
Stores 0.01 squared in 0xcf0c14, the squared drag-start distance
Confidence
verified, proof one
Finding
ui/README#static-initializers
Test
ui::dist2_76b320

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.