CMovement::ClearRoot
function · collision · orchestration
- Address
0x7c7370· 31 bytes, up to0x7c738e- Signature
void __thiscall (CMovement *this, uint32_t start_fall)- Meaning
- Clears 0x1000 and, for a nonzero argument, starts a fall through 0x7c61c0
- Confidence
- verified, proof one
- Finding
- collision/commands#root-and-state-flags
Finding: Root and state flags in collision: commands
0x7c7340 sets 0x1000, runs the landing 0x7c6290, then clears 0xff, 0x8000 and 0x10000 to
0x100000 (direction, turn, pitch and the deferred bits), and updates the speed; it does not
re-anchor after the wipe. 0x7c7370(fall) clears 0x1000 and, for a nonzero argument, calls
0x7c61c0, which can now start a fall because root is already clear. 0x7c7240(clear) clears
0x800 for nonzero or sets it for zero, stores the word either way, and re-anchors and returns 1
only when the word changed. 0x7c7280, 0x7c72e0 and 0x7c7310 set their bit for a nonzero
argument and clear it for zero: 0x10000000 water walking, 0x20000000 the 7.0 terminal speed,
0x40000000 hover. 0x7c6500 and 0x7c6510 set and clear 0x8000000.
The derivation is in the doc.
Callers 3
- CMovement::UpdatePlayerMovement collision
- CMovement::DispatchFlushedEvent collision
- CMovement::Unroot collision
Callees 1
- CMovement::StartFalling collision
Calls and jumps by a bare address, from tables/calls.tsv.