CMovement::ApplyKnockBack
function · collision · orchestration
- Address
0x617a60· 82 bytes, up to0x617ab1- Signature
uint32_t __thiscall (CMovement *this, uint32_t time, const void *status, const float *direction, float speedXY, float speedZ)- Meaning
- Launches a knockback now when 0x618eb0 accepts its status, else leaves tag 28 queued; returns 1 when launched
- 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 1
- CGUnit_C::OnKnockBack objectlayer
Callees 3
- CMovement::LaunchKnockBack collision
- CMovement::UpdateStatusWithPayload collision
- CMovement::Activate collision
Calls and jumps by a bare address, from tables/calls.tsv.