benilla-re systems structs docs

InitSharedInvTwoPi

function · collision · primitive

Address
0x7c5e50 · 19 bytes, up to 0x7c5e62
Signature
void __cdecl (void)
Meaning
Stores 1/2π, 0.15915494 (0x3e22f983), from the 2π its file computed first
Confidence
verified, proof one
Finding
collision/overview#shared-file-initializers

Finding: Shared file initializers in collision: overview

The shared movement file's static initializers store the shared constants. Of the floats they write, only the 2π, 0xcf5d00, is read by the movement code, which wraps angles with it.

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.