benilla-re systems structs docs

HandleQueryTimeResponse

function · ui · orchestration

Address
0x4de400 · 32 bytes, up to 0x4de41f
Signature
uint32_t __fastcall (void *param, uint32_t opcode, uint32_t time, CDataStore *msg)
Meaning
Reads the server time and passes it to the clock setter
Confidence
verified, proof one
Name from
the community database (idb)
Finding
ui/questtimers#the-time-sync

Finding: The time sync in ui: quest timers

The client sends CMSG_QUERY_TIME (opcode 0x1ce, no body) once for each world entry, from 0x4de430, and again from a list rebuild once its deadline passes. The answer is SMSG_QUERY_TIME_RESPONSE (opcode 0x1cf), whose handler 0x4de400 reads one u32 and passes it to the setter, which also sets the next deadline to an hour ahead and fires QUEST_LOG_UPDATE. That handler is the only caller of the setter, and G has no other writer.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 2

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