CMovement::StopStrafe
function · collision · orchestration
- Address
0x7c6d30· 90 bytes, up to0x7c6d89- Signature
uint32_t __thiscall (CMovement *this)- Meaning
- Stops strafing, or while falling records 0x10000; clears 0x4000000 with a fall
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- collision/commands#start-and-stop-strafe
Finding: Start and stop strafe in collision: commands
0x7c6c50(left) mirrors 0x7c6ae0 on the strafe pair: it clears 0x10000, 0x80000 and 0x100000,
sets 0x4 and clears 0x8 for a nonzero argument (0x8 and clears 0x4 for zero), and while falling
with a direction held records 0x80000 or 0x100000 instead and returns 0. 0x7c6d30 mirrors
0x7c6ba0: without 0x4 or 0x8 it clears the deferred strafe starts; otherwise it clears a set
0x4000000 and runs 0x7c61c0, then records 0x10000 while falling or runs 0x7c6ce0. 0x7c6ce0
clears 0x4, 0x8 and 0x10000 and refreshes; unlike 0x7c6c00 it does not touch the spline.
0x7c6d00(bits) runs 0x7c6ce0 for bits with 0x4 or 0x8 when not falling.
The derivation is in the doc.
Callers 1
- CMovement::UpdatePlayerMovement collision
Callees 2
- CMovement::StartFalling collision
- CMovement::ForceStopStrafe collision
Calls and jumps by a bare address, from tables/calls.tsv.