CMovement::FlushAndDeactivate
function · collision · orchestration
- Address
0x617fc0· 32 bytes, up to0x617fdf- Signature
void __thiscall (CMovement *this, uint32_t arg)- Meaning
- Flushes the queue with 0x6185f0(0, arg), then removes the movement from the active list with 0x619e80(arg)
- Confidence
- verified, proof one
- 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 2
- CMovement::RestartSplineAt collision
- CMovement::SetFacingNow collision
Callees 2
- CMovement::FlushEvents collision
- CMovement::Deactivate collision
Calls and jumps by a bare address, from tables/calls.tsv.