CMovement::StartFalling
function · collision · orchestration
- Address
0x7c61c0· 47 bytes, up to0x7c61ee- Signature
uint32_t __thiscall (CMovement *this)- Meaning
- Starts a fall at speed 0 through 0x7c61f0 unless a live spline, swimming, falling, root or bit 0x800 refuses
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- collision/falling#starting-a-fall
Finding: Starting a fall in collision: falling
0x7c61f0(v) re-anchors with 0x7c5cd0(0) while the old flags still stand, then clears
0x200000 and 0x4000000, sets 0x2000, zeroes +0x78, copies z to +0x7c and stores v verbatim
at +0xa0. It leaves 0x4000, the pitch bits 0xc0 and the current speed +0x84 alone. Because the anchor runs before
0x2000 is set, a fall begun on the ground recomputes the direction from the held bits, and one
begun in the air keeps it. 0x7c61c0 calls 0x7c61f0(0) and returns 1, unless a spline is live
(present at +0xa4, its flags without 0x4 and with 0x200) or +0x40 has any of 0x203800:
swimming, falling, root or 0x800 (0x7c61d6). Then it returns 0 and changes nothing.
The derivation is in the doc.
Callers 15
- CMovement::UpdatePlayerMovement collision
- CMovement::StartFallingActive collision
- CMovement::Teleport collision
- CMovement::DispatchFlushedEvent collision
- CMovement::ApplyGravityStateAndReport collision
- CMovement::OnWaterWalk collision
- CMovement::ReplayHover collision
- CMovement::SetHoverNow collision
- CMovement::SweepCarrierMove collision
- CMovement::StopMove collision
- CMovement::ForceStopMove collision
- CMovement::StopStrafe collision
- CMovement::StopSwimming collision
- CMovement::SetPitch collision
- CMovement::ClearRoot collision
Callees 1
- CMovement::StartFalling2 collision
Calls and jumps by a bare address, from tables/calls.tsv.