benilla-re systems structs docs

InitTerrainCountUnit1

function · terrain · primitive

Address
0x66eea0 · 22 bytes, up to 0x66eeb5
Signature
void __cdecl (void)
Meaning
Counts one more unit in a shared global and calls 0x5b71c0 on the first
Confidence
verified, proof one
Finding
terrain/statics#static-initializers

Finding: Static initializers in terrain: statics

Each of the 30 files opens with the same block of 28 initializers: +∞ copied, 2π, 1/2π, thirteen squares, the constant 5.0, four squares, four products, a quotient, a square and a quotient. Two files add a counter of the files that use the network library, and the liquid file a third quotient. The other 102 initializers build state: zeroed records and arrays, identity matrices, empty lists, and the scene's and the map's tables. Of the 812 globals the block initializers write, three are read by code outside the initializers.

The derivation is in the doc.

Callers 1

Callees 1

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