CMovement::FinishSpline
function · collision · orchestration
- Address
0x616d30· 42 bytes, up to0x616d59- Signature
void __thiscall (CMovement *this)- Meaning
- Snaps to the spline's end point through 0x616d60, sets its time to its end and sets its bit 0x1
- Confidence
- verified, proof one
- Finding
- collision/mover#snap-beyond-three-yards
Finding: Snap beyond three yards in collision: mover
0x616d60(p) computes S = (dz² + dx²) + dy² from p − position in 53 bits. When S < 9.0 it
does nothing; otherwise, NaN included, it stores p as the position and calls 0x7c6290,
0x7c4930 and 0x634030. 0x616d30 calls it with the spline's point at +0x58, then sets the
spline's +0x20 to its +0x24 and ORs 1 into its +0x18.
The derivation is in the doc.
Callers 4
- CMovement::UpdatePlayerMovement collision
- CMovement::DispatchFlushedEvent collision
- CMovement::FlushAndStopSpline collision
- CMovement::ApplySplineRoot collision
Callees 1
- CMovement::SnapIfFar collision
Calls and jumps by a bare address, from tables/calls.tsv.