benilla-re systems structs docs

InitQuotient15Thunk

function · net · orchestration

Address
0x5b7b60 · 5 bytes, up to 0x5b7b64
Signature
void __cdecl (void)
Meaning
Jumps to 0x5b7b70; a static initializer
Confidence
verified, proof one
Finding
net/layout#static-initializers

Finding: Static initializers in net: layout

The 276 initializers are each a thunk, a jmp or a call five bytes long, and a body at the next 16-byte boundary. 266 bodies store one value in a global: most a float computed from constants (a square, a quotient, a doubling), the rest a copied dword or a counter. 300 of the 319 globals they write are read nowhere else. The others build the command tables of ClientLink (0x5b87b0) and ServerLink (0x5b88a0), list heads, the network globals, and the random pool (login). The 13 counters add 1 to 0xc2a3c4, calling the empty 0x5b71c0 at 1; the exit functions their thunks register subtract 1, calling the empty 0x5b71d0 at 0. 0x5aa2b0, registered alike, sets bit 0 of 0xc27d50.

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.