MovementGlobals
struct · collision · 312 bytes
- Meaning
- Holds the movement manager: log path and files, the mover list, the tick clock and the heartbeat deadline
- Confidence
- verified, proof one
- Finding
- collision/mover#movement-manager
Finding: Movement manager in collision: mover
One MovementGlobals of 312 bytes exists. Its pointer is the dword at +0xd4 of the object
manager 0xb41414: 0x630a40 returns it through 0x4685e0 (0 when there is no object manager),
and 0x630a30 stores it through 0x468600.
| offset | holds |
|---|---|
+0x000 | 260 bytes of the log path given to 0x616860 |
+0x104, +0x108 | two log file handles, closed at teardown |
+0x118 | the mover list: link offset 0, then the terminator at +0x11c and +0x120 |
+0x124 | bit 0 once initialised |
+0x128 | the clock at the last tick |
+0x12c | the end of the step being simulated |
+0x130 | the active mover's heartbeat deadline |
0x6169f0 writes +0x128 through its argument and returns 1 when the manager exists with bit 0
set, else returns 0.
The derivation is in the doc.
Fields 8
| offset | size | type | name | meaning | confidence | finding |
|---|---|---|---|---|---|---|
0x0000 | 260 | char[260] | m_logPath | Holds the movement log path copied by 0x616860 | verified, proof one | collision/mover#initialisation-and-teardown |
0x0104 | 4 | void * | m_logFile | Holds a log file handle, closed by 0x7c4e90 and 0x616910 | inferred | collision/mover#initialisation-and-teardown |
0x0108 | 4 | void * | m_fallLogFile | Holds a second log file handle, closed by 0x616910 | inferred | collision/mover#initialisation-and-teardown |
0x0118 | 12 | void *[3] | m_movers | Holds the list of movers with work pending: link offset 0, then the terminator link | verified, proof one | collision/mover#per-frame-tick |
0x0124 | 4 | uint32_t | m_flags | Holds bit 0 once 0x616860 has initialised the manager | verified, proof one | collision/mover#movement-manager |
0x0128 | 4 | uint32_t | m_lastTickTime | Holds the clock at the last tick, written by 0x616860 and 0x616800 | verified, proof one | collision/mover#per-frame-tick |
0x012c | 4 | uint32_t | m_stepTime | Holds the end of the step being simulated, written per step by 0x616620 | verified, proof one | collision/mover#local-player-step |
0x0130 | 4 | uint32_t | m_heartbeatDeadline | Holds the time of the active mover's next heartbeat, set by 0x615b80 and moved by 0x615ae0 | verified, proof one | collision/mover#heartbeat-and-skipped-time |