benilla-re systems structs docs

SpellCInitSquare3

function · spell · primitive

Address
0x6eaae0 · 19 bytes, up to 0x6eaaf2
Signature
void __cdecl (void)
Meaning
Stores 11.111111 squared as a float in a global
Confidence
verified, proof one
Finding
spell/layout#static-initializers

Finding: Static initializers in spell: layout

Each file runs a header block of identical initializers: its copies of +∞, 2π and 1/2π, 25 float stores computed from constants (four products, a quotient, a square, a quotient, thirteen squares, the constant 5.0 and four squares) and a counter of the files that use the network library. 182 of the 209 trivial initializers are those blocks with their thunks; the other 27 are the thunks of the 12 initializers that build state, the functions that register exit functions, and two that store zero. The globals the header blocks write, the shared counter aside, are read only by the next initializer of the same block.

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.