benilla-re systems structs docs

GameTimeAdvanceMinute

function · gametime · primitive

Address
0x643ad0 · 83 bytes, up to 0x643b22
Signature
void __thiscall (void *this)
Meaning
Advances the clock one minute, rolls the day at midnight and runs the minute's callbacks
Confidence
verified, proof one
Finding
gametime/overview#one-minute
Test
gametime::gametime_643ad0_advance_offset

Finding: One minute in gametime: overview

0x643ad0 advances the clock one minute. The new minute of the day is (minute of day + 1) mod 1440; the hour and minute are set from it; at 0 it adds one calendar day; +0x28 is incremented; the callbacks for the new minute run (0x643b30); +0x38 takes the tick; +0x3c becomes (float)newMinute + [+0x30].

The derivation is in the doc.

Callers 3

Callees 5

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