benilla-re systems structs docs

CMovement::QueueKnockBack

function · collision · orchestration

Address
0x617a30 · 38 bytes, up to 0x617a55
Signature
void __thiscall (CMovement *this, uint32_t time, uint32_t counter, const float *direction, float speedXY, float speedZ)
Meaning
Queues tag 28, a knockback with its counter, direction and speeds, to be sent
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

Callees 1

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