CMovement::StopFalling
function · collision · orchestration
- Address
0x7c6290· 37 bytes, up to0x7c62b4- Signature
void __thiscall (CMovement *this)- Meaning
- Clears 0x2000 and 0x4000 while falling, then re-anchors and updates the current speed
- Confidence
- verified, proof one
- Finding
- collision/falling#landing
Finding: Landing in collision: falling
0x7c6290 acts only while 0x2000 is set: it clears 0x2000 and 0x4000, then re-anchors with
0x7c5cd0(0) and updates the current speed with 0x7c5c20(0), in that order. With 0x2000
already clear, both recompute: the anchor takes the landing position, the direction comes from
the held bits, and the speed from the mode. +0x78, +0x7c and +0xa0 keep their values. Of the
file's and masks on the flags, only its own clears 0x4000.
The derivation is in the doc.
Callers 9
- CMovement::UpdatePlayerMovement collision
- CMovement::SnapIfFar collision
- CMovement::ApplyGravityState collision
- CMovement::ApplyGravityStateAndReport collision
- CMovement::StopAllMotion collision
- CMovement::ResolveAirborneMove collision
- CMovement::SetPositionAndFacing collision
- CMovement::StartSwimming collision
- CMovement::SetRoot collision
Callees 2
- CMovement::UpdateCurrentSpeed collision
- CMovement::UpdateAnchors collision
Calls and jumps by a bare address, from tables/calls.tsv.