benilla-re systems structs docs

SpellCReleaseCountUnit1

function · spell · primitive

Address
0x6eb3f0 · 14 bytes, up to 0x6eb3fd
Signature
void __cdecl (void)
Meaning
Counts one unit fewer in a shared global and tail-calls the empty 0x5b71d0 when it reaches zero
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 0

None by a direct call or jump.

Callees 1

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