CMovement::Deactivate
function · collision · primitive
- Address
0x619e80· 126 bytes, up to0x619efd- Signature
void __thiscall (CMovement *this, uint32_t report)- Meaning
- Completes or marks done a running spline, then unlinks the mover from the active list
- Confidence
- verified, proof one
- Finding
- collision/status#active-mover-list
Finding: Active mover list in collision: status
0x619ca0
links a mover first in the list at globals +0x11c (link offset +0x118), unless +0x04 is
already set. 0x619e80(report) returns when +0x04 is 0; otherwise a spline not yet done is
completed by 0x619de0 at the step time when report is nonzero, or just marked done (spline
+0x18 |= 4) when it is 0; then it unlinks +0x00/+0x04 and zeroes both. 0x618940 links a
mover whose flags & 0x20ff is nonzero or whose queue is non-empty and unlinks the rest with
report 1. 0x619d40 returns the step time, globals +0x12c, advanced per substep (0x6166ed);
the update time +0x128 moves once per update (0x616846).
The derivation is in the doc.
Callers 16
- CMovement::AdvanceTo collision
- CMovement::ApplyMoveStop collision
- CMovement::ApplyStrafeStop collision
- CMovement::ApplyTurnStop collision
- CMovement::Teleport collision
- CMovement::FlushAndDeactivate collision
- CMovement::StartSplinePath collision
- CMovement::UpdateActiveState collision
- CMovement::OnSetFacing collision
- CMovement::OnSetPitch collision
- CMovement::OnRoot collision
- CMovement::ApplySplineRoot collision
- CMovement::ApplyGravityState collision
- CMovement::StartSwim collision
- CMovement::OnStartSwim collision
- CMovement::OnStopPitch collision
Callees 2
- CMovement::CompleteSpline collision
- MovementGetGlobals collision
Calls and jumps by a bare address, from tables/calls.tsv.