CMovement::FlushAndStopSpline
function · collision · orchestration
- Address
0x618750· 75 bytes, up to0x61879a- Signature
void __thiscall (CMovement *this, uint32_t arg2, const float *point)- Meaning
- Flushes the queue and stops all motion, then hands the spline a final point and finishes it
- Confidence
- inferred
- Finding
- collision/eventapply#queue-flush
Finding: Queue flush in collision: event applies
0x6185f0(keep, endSpline) zeroes +0x148 and +0x14c and dispatches every queued event at once
through 0x618080, first to last, whatever its time. With keep 0 it saves flag 0x800, holds it
set during the flush and restores it after. Its callers:
| caller | flush | then |
|---|---|---|
0x617fc0(arg) | (0, arg) | 0x619e80(arg) |
0x618680(position, facing), unreached | (0, 1) | 0x617e90(0, 0, position, facing, 1, 0) |
0x618750(a, point) | (0, 0) | 0x61aa70, 0x619300(point), 0x7c6a20(a), 0x616d30, 0x619de0 |
0x6187a0(points, n, …) | (0, 0) | 0x61aa70, 0x619e80(0); with 0x1000 set returns 0 |
Unrooted, 0x6187a0 gives the spline at +0xa4 the last point (0x7c62c0), calls 0x7c6a50,
which hands the points to the path object, activates the movement, calls 0x453390(1.0, spline+0x58, 1) on spline +0x2c and returns 1; what the path object and 0x453390 do with them
is not read here.
The derivation is in the doc.
Callers 1
- CGUnit_C::OnMonsterMove objectlayer
Callees 7
- CMovement::FinishSpline collision
- CMovement::FlushEvents collision
- CMovement::RestartSplineAt collision
- CMovement::CompleteSpline collision
- CMovement::StopAllMotion collision
- MovementGetGlobals collision
- CMovement::ResetSplinePath collision
Calls and jumps by a bare address, from tables/calls.tsv.