benilla-re systems structs docs

ReceiveNewGameTime

function · unassigned · orchestration

Address
0x6c6120 · 114 bytes, up to 0x6c6191
Signature
uint32_t __fastcall (void *param, uint32_t opcode, uint32_t time, CDataStore *msg)
Meaning
Sets the clock to the packet's packed date with force and runs the time-changed bridge, or logs a malformed packet
Confidence
verified, proof two
Name from
the community database (idb)
Finding
gametime/messages#game-time-set
Test
gametime::gametime_6c6120_game_time_set

Finding: Game time set in gametime: messages

SMSG_GAMETIME_SET (0x45), handler 0x6c6120: the body is one little-endian dword, a packed date. Read to its end, it is decoded and passed to the clock's set with force = 1 (Setting the time), then 0x6c5f50 stamps the light state and prints Time set to <time> (Time changed bridge), and the handler returns 1. GetGameTime returns the sent hour and minute until the next minute step for in-range fields; an unset field gives 00:01 and an out-of-range one is taken modulo a day. A body not read to its end gets the malformed line (Read = Len + 1 after a short read), return 0 and no change.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 5

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