benilla-re systems structs docs

InitRandomInvTwoPiThunk

function · random · orchestration

Address
0x4531b0 · 5 bytes, up to 0x4531b4
Signature
void __cdecl (void)
Meaning
Jumps to 0x4531c0; a static initializer
Confidence
verified, proof one
Finding
random#static-initializers

Finding: Static initializers in random

Three static initializers of the library run at startup, from slots 0x827530, 0x827534 and 0x827538 of the C runtime's initializer table: 0x44eaf0 copies +∞ into 0xb05d68, 0x4531a0 stores 2π in 0xb05d70 as π + π in floats (0x40c90fdb), and 0x4531c0 stores 1 / 0xb05d70 in 0xb05d6c (0x3e22f983). Each is reached through a thunk, 0x44eae0, 0x453190 and 0x4531b0, a jmp padded to 16 bytes.

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.