CMovement::LaunchKnockBack
function · collision · primitive
- Address
0x6179c0· 110 bytes, up to0x617a2d- Signature
void __thiscall (CMovement *this, const float *direction, float speedXY, float speedZ)- Meaning
- Ends a swim, starts a fall at speedZ, stores the direction and speedXY, and sets flags 0x8001 over 0x2
- Confidence
- verified, proof one
- Finding
- collision/eventapply#knockback-launch
Finding: Knockback launch in collision: event applies
0x6179c0(direction, speedXY, speedZ) launches in this order: when flag 0x200000 is set, it
calls 0x7c6e80; then 0x7c61f0(speedZ), which re-anchors through 0x7c5cd0(0), then sets
0x2000, clears 0x4000000 and 0x200000, zeroes +0x78, copies +0x18 to +0x7c and stores speedZ at
+0xa0. It copies the direction pair to
+0x68, +0x6c and to +0x5c, +0x60 with 0 at +0x64, clears flag 0x2, sets 0x8001 whatever the
speeds, and stores speedXY at +0x84. 0x617a30 queues tag 28 for the drain, which calls
0x6179c0 with +0x38, +0x40 and +0x44 (0x61624d) and then sends 0xf0 (0x616261).
0x617a60 launches at once when 0x618eb0 accepts the status, then activates the movement.
The derivation is in the doc.
Callers 2
- CMovement::UpdatePlayerMovement collision
- CMovement::ApplyKnockBack collision
Callees 2
- CMovement::StartFalling2 collision
- CMovement::StopSwimming collision
Calls and jumps by a bare address, from tables/calls.tsv.