CMovement::StartSwim
function · collision · orchestration
- Address
0x61a130· 43 bytes, up to0x61a15a- Signature
void __thiscall (CMovement *this)- Meaning
- Enters swimming through 0x61a230 and unlinks an idle mover with an empty queue
- 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 4
- CGUnit_C::PostInit objectlayer
- DispatchSplineMoveOpcode objectlayer
- CGUnit_C::StartSwimming objectlayer
- CMovement::RequestStartSwim collision
Callees 3
- HasMoveEvents collision
- CMovement::Deactivate collision
- CMovement::EnterSwim collision
Calls and jumps by a bare address, from tables/calls.tsv.