benilla-re systems structs docs

s_infinityTop

global · unassigned

Address
0x81c370 · 4 bytes, up to 0x81c373
Type
const float
Meaning
Holds +inf, 0x7f800000, the literal that TopInitInfinity copies at start-up
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.