benilla-re systems structs docs

ClientInitializeGameTime

function · unassigned · orchestration

Address
0x6c5d70 · 108 bytes, up to 0x6c5ddb
Signature
void __cdecl (void)
Meaning
Registers the five game-time opcode handlers and zeroes the four time-changed callbacks
Confidence
verified, proof one
Name from
the community database (idb)
Finding
gametime/messages#server-messages

Finding: Server messages in gametime: messages

ClientInitializeGame (0x401570) calls ClientInitializeGameTime (0x6c5d70), which registers five handlers with 0x5ab650 (the opcode in ecx, the handler in edx, a zero context): 0x47 → 0x6c5de0, 0x42 → 0x6c5e80, 0x43 → 0x6c6010, 0x49 → 0x6c6080, 0x45 → 0x6c6120, then zeroes the four time-changed callbacks. ClientDestroyGame (0x401ee0) calls 0x6c61a0, which clears the five and jumps to 0x6433f0 on the clock. The clock is built once, at start-up, and neither call resets it. Each handler reads its body from the store, tests IsRead, and on a miss writes the malformed line (Read = Len + 1 after a short read) and returns 0; it ignores its context and time.

The derivation is in the doc.

Callers 1

Callees 1

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