CMovement::ArmHeartbeat
function · collision · primitive
- Address
0x615b80· 59 bytes, up to0x615bba- Signature
void __thiscall (CMovement *this, uint32_t time)- Meaning
- Sets the heartbeat deadline to time + 500 when the mover is the active mover
- Confidence
- verified, proof one
- Finding
- collision/mover#heartbeat-and-skipped-time
Finding: Heartbeat and skipped time in collision: mover
The manager's +0x130 is the active mover's heartbeat deadline. 0x615b80(t) sets it to
t + 500 when the mover is the active mover. 0x600a30, the unit's movement-message sender, calls
it with the message time after each message it sends, so every message re-arms the deadline.
0x615ae0(d) calls 0x600be0(d), which, for the active mover whose spline is null or has bit
0x4, sends opcode 0x2ce with the unit's GUID and d and returns 1; on 1, 0x615ae0 adds d to
the deadline. So a frame longer than 250 ms reports its first w − 250 ms as skipped and moves the
heartbeat that far.
The derivation is in the doc.
Callers 6
- SendMovementPacket objectlayer
- SendSplineDone objectlayer
- ProcessLocalMoveEvent objectlayer
- CMovement::UpdatePlayerMovement collision
- CMovement::ApplyObjectUpdate collision
- CMovement::ResetForMoverChange collision
Callees 1
- MovementGetGlobals collision
Calls and jumps by a bare address, from tables/calls.tsv.