benilla-re systems structs docs

CMovement::DispatchFlushedEvent

function · collision · orchestration

Address
0x618080 · 1189 bytes, up to 0x618524
Signature
void __thiscall (CMovement *this, CPlayerMoveEvent *event, uint32_t keep, uint32_t endSpline, uint32_t saved)
Meaning
Pops the first event and applies its mode, speed, root or teleport change with the ack; drops other tags
Confidence
verified, proof one
Finding
collision/eventapply#flush-dispatcher

Finding: Flush dispatcher in collision: event applies

0x618080(event, keep, endSpline, saved) pops the queue's first node, which its caller passes as event, then switches on its tag. The send helper 0x617fe0 calls 0x60e0a0(time, opcode, +0x4d, value, +0x48) on the unit at CMovement+0x15c, the time from movement globals +0x12c; with keep 0 it puts flag 0x800 back to its saved value for the call and sets it again after.

tagsindexcaseaction
600x6180bewith keep nonzero, 0x7c61c0, and when it starts a fall a unit hook
14, 151, 20x6180ea, 0x6180fa0x7c71c0(1), 0x7c71c0(0), no send
20 to 253 to 80x61810a to 0x618213speed setter and send
29 to 369 to 160x618248 to 0x618472mode toggle and send
38170x6184d0teleport and send 0xc7
every other180x61851enone

The derivation is in the doc.

Callers 1

Callees 20

Calls and jumps by a bare address, from tables/calls.tsv.