s_flushDispatchCases
global · collision
- Address
0x618528· 76 bytes, up to0x618573- Type
void *[19]- Meaning
- Holds the 19 case addresses of the switch in 0x618080, the last one the no-action exit 0x61851e
- 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.
| tags | index | case | action |
|---|---|---|---|
| 6 | 0 | 0x6180be | with keep nonzero, 0x7c61c0, and when it starts a fall a unit hook |
| 14, 15 | 1, 2 | 0x6180ea, 0x6180fa | 0x7c71c0(1), 0x7c71c0(0), no send |
| 20 to 25 | 3 to 8 | 0x61810a to 0x618213 | speed setter and send |
| 29 to 36 | 9 to 16 | 0x618248 to 0x618472 | mode toggle and send |
| 38 | 17 | 0x6184d0 | teleport and send 0xc7 |
| every other | 18 | 0x61851e | none |
The derivation is in the doc.