CMovement::FlushEvents
function · collision · primitive
- Address
0x6185f0· 130 bytes, up to0x618671- Signature
void __thiscall (CMovement *this, uint32_t keep, uint32_t endSpline)- Meaning
- Dispatches every queued event at once; with keep 0, holds flag 0x800 set during the flush and restores it
- 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 5
- CMovement::FlushAndDeactivate collision
- CMovement::FlushAndPlace collision
- CMovement::FlushAndStopSpline collision
- CMovement::StartSplinePath collision
- CMovement::ResetForMoverChange collision
Callees 3
- GetFirstMoveEvent collision
- HasMoveEvents collision
- CMovement::DispatchFlushedEvent collision
Calls and jumps by a bare address, from tables/calls.tsv.