CMovement::ResetForMoverChange
function · collision · primitive
- Address
0x619d50· 137 bytes, up to0x619dd8- Signature
void __thiscall (CMovement *this, uint32_t keep)- Meaning
- Drains the queue, clears flag bit 31 and, with no running spline, starts a fall or stops every motion
- Confidence
- verified, proof one
- Finding
- collision/status#mover-change-reset
Finding: Mover change reset in collision: status
0x619d50(keep) resets a mover when control changes. A spline marked done is completed again
through 0x619de0 at the step time, the queue is drained (0x6185f0(1, 1)), and flag bit 31 is
cleared so the next status reseeds the clock. A spline still running ends it there. Otherwise
keep 1 starts a fall and links the mover (0x617b00) and, when flags & 0x200f, calls
0x615b80 at the step time; keep 0 stops every motion (0x61aa70).
The derivation is in the doc.
Callers 1
- SetActiveMover objectlayer
Callees 6
- CMovement::ArmHeartbeat collision
- CMovement::StartFallingActive collision
- CMovement::FlushEvents collision
- CMovement::CompleteSpline collision
- CMovement::StopAllMotion collision
- MovementGetGlobals collision
Calls and jumps by a bare address, from tables/calls.tsv.