CMovement::CompleteSpline
function · collision · primitive
- Address
0x619de0· 157 bytes, up to0x619e7c- Signature
void __thiscall (CMovement *this, uint32_t time)- Meaning
- Marks the spline done and, for the active mover, sends 0x2c9 with the fraction flown and frees it
- Confidence
- verified, proof one
- Finding
- collision/status#spline-completion
- Test
collision::fall_progress_difftest
Finding: Spline completion in collision: status
0x619de0(t) marks the spline done (+0x18 |= 4) without a null test. When the owner's GUID is
the active player's, it computes the fraction flown: 1.0 for a zero duration (spline +0x24),
0.0 for a negative elapsed time (+0x20), 1.0 for spline flag 1, else elapsed / duration at 53
bits rounded to a float, the duration read as signed. It sends the spline id (+0x28) and the
fraction with opcode 0x2c9 through 0x600b10, then frees the spline (0x7c6310).
The derivation is in the doc.
Callers 4
- CMovement::FlushAndStopSpline collision
- CMovement::ResetForMoverChange collision
- CMovement::Deactivate collision
- CMovement::BroadcastStateChange collision
Callees 2
- SendSplineDone objectlayer
- CMovement::ClearSpline collision
Calls and jumps by a bare address, from tables/calls.tsv.