s_millisecondsToSeconds
global · core
- Address
0x801360· 4 bytes, up to0x801363- Type
float- Meaning
- Holds 0.001f (0x3a83126f), the frame time and timer factor
- Confidence
- verified, proof one
- Finding
- core/loop#frame-time
Finding: Frame time in core: the frame loop
Every tick of a running context dispatches category 5 with a pointer to a float and a dword: the
seconds since the previous frame time, then the clock value. The float is the signed 32-bit
difference of clock values in milliseconds times 0.001f, rounded once to a float. The clock
value read becomes the new +0x40. On the first
tick the difference counts from the start dispatch, which also stamps +0x40.
The derivation is in the doc.