s_gameClockMinute
global · gametime
- Address
0xce8538· 4 bytes, up to0xce853b- Type
int32_t- Meaning
- Holds the clock's minute, the first word of the 0x70-byte game clock object
- Confidence
- verified, proof one
- Finding
- gametime/overview#clock-state
Finding: Clock state in gametime: overview
0x643300 builds the clock: +0x20 (minute offset), +0x24 (day offset), +0x28 (a count of minutes
advanced), +0x30 (the minute fraction) and +0x34 (minutes still to skip) are 0; +0x2c, the scale
in game minutes per real second, is 0x3c888889, 1/60; +0x38 is the tick 0x42c010(); +0x3c, the
phase base (the minute of day after the last step plus +0x30, stored by 0x643ad0), is 0; the time at +0 is −1 in six fields, 0 in the seventh (0x642300). A callback table with vtable
0x80e44c starts at +0x48 and +0x6c is −1. Static initializer 0x6c5bc0 jumps to the
constructor with ecx = 0xce8538. The table's first vtable slot, 0x643bb0, frees one entry: its callback
records, then the entry through 0x643c30.
The derivation is in the doc.