CMovement::OnSwimBack
function · collision · orchestration
- Address
0x619790· 52 bytes, up to0x6197c3- Signature
uint32_t __thiscall (CMovement *this, uint32_t eventTime, const void *status, float value)- Meaning
- Applies a status with tag 0x18 through 0x618f20 and, when applied, sets the backward swim speed
- Confidence
- verified, proof one
- Finding
- collision/handlers#speed-changes
Finding: Speed changes in collision: handlers
Six speeds have four handlers each, differing only in tag and setter. Forced:
0x6176a0(time, tag, 1, counter, speed, 0). Own relay: 0x6176a0(time, tag, 0, 0, speed, 0).
Spline: the setter at once. Relay: 0x618f20(eventTime, status, tag, speed), then the setter when
that applied, returning the setter's result, else 0. A setter returns 0 and stores nothing when
|new − old| < 2⁻²² (NaN stores); otherwise it stores, re-anchors (0x7c5cd0), updates the current
speed (0x7c5c20) except for the turn rate, and returns 1. The opcode reaching each handler is in
brackets; both relay forms take the same opcode, the switch choosing by the sender's GUID.
| speed | field, tag | setter | forced | spline | own relay | relay |
|---|---|---|---|---|---|---|
| run | +0x8c, 0x14 | 0x7c7030 | 0x619500 (0xe2) | 0x619520 (0x2fe) | 0x619530 | 0x619550 (0xcd) |
| run back | +0x90, 0x15 | 0x7c7080 | 0x619590 (0xe4) | 0x6195b0 (0x2ff) | 0x6195c0 | 0x6195e0 (0xcf) |
| walk | +0x88, 0x16 | 0x7c70d0 | 0x619620 (0x2da) | 0x619640 (0x301) | 0x619650 | 0x619670 (0xd1) |
| swim | +0x94, 0x17 | 0x7c7120 | 0x6196b0 (0xe6) | 0x6196d0 (0x300) | 0x6196e0 | 0x619700 (0xd3) |
| swim back | +0x98, 0x18 | 0x7c7170 | 0x619740 (0x2dc) | 0x619760 (0x302) | 0x619770 | 0x619790 (0xd5) |
| turn rate | +0x9c, 0x19 | 0x7c6ff0 | 0x6197d0 (0x2de) | 0x6197f0 (0x303) | 0x619800 | 0x619820 (0xd8) |
The derivation is in the doc.
Callers 1
- DispatchMoveSpeedOpcode objectlayer
Callees 2
- CMovement::UpdateStatus collision
- CMovement::SetSwimBackSpeed collision
Calls and jumps by a bare address, from tables/calls.tsv.