benilla-re systems structs docs

CMovement::OnStartSwim

function · collision · orchestration

Address
0x61a190 · 86 bytes, up to 0x61a1e5
Signature
uint32_t __thiscall (CMovement *this, uint32_t eventTime, const void *status)
Meaning
Applies a status with tag 0x12 and, applied, enters swimming and unlinks an idle mover
Confidence
verified, proof one
Finding
collision/handlers#swim-start-and-stop

Finding: Swim start and stop in collision: handlers

Swimming is 0x200000. 0x61a230 enters it (0x7c6e50) and applies the latched directions. 0x61a130, opcode 0x30b, enters and unlinks an idle unqueued mover; 0x61a160, 0x30c, leaves through 0x7c6e80 (clears 0x200000 and 0xc0, zeroes +0x20 and +0x54, starts a fall) and links a mover that is busy or queued. The relays 0xca and 0xcb are 0x61a190 (tag 0x12, then as 0x61a130) and 0x61a1f0 (tag 0x13, then 0x7c6e80 and a link). For the client's own mover, 0x619fb0 and 0x61a070 queue tag 0x12 or 0x13 with byte 1 unless a spline is running; with one, they apply at once (0x61a130, 0x61a160) and then send 0xca or 0xcb through 0x60e0a0 with its send flag 1. 0x61a030 and 0x61a0f0 queue the tags with byte 0.

The derivation is in the doc.

Callers 1

Callees 4

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