benilla-re systems structs docs

LogDiscard

function · unassigned · orchestration

Address
0x6dd240 · 1 bytes, up to 0x6dd240
Signature
void __cdecl (uint32_t, uint32_t, const char *, ...)
Meaning
Returns at once, so a log call with two numbers and a format writes nothing
Confidence
verified, proof one
Finding
gametime/overview#sync-log-and-day-numbers

Finding: Sync log and day numbers in gametime: overview

Both log calls of 0x6436c0 go to 0x6dd240, a bare ret, so the sync writes nothing. A d above 1 passes it GameTimeSync: skipping forwards %d game minutes, (current = %s, newtime = %s); a stall passes GameTimeSync: delta=%d, differential=%d, HoursAndMinutes=%d with 0, the new +0x34 and the minute of day. The day number the sync compares is mktime of local midnight divided by 86,400, so a host daylight-saving change can give two consecutive dates one number: the dividend loses 1440, and without force a step forward of d minutes becomes a stall of 1440 − d.

The derivation is in the doc.

Callers 20

Callees 0

None by a direct call or jump.

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