CMovement::RestartFall
function · collision · orchestration
- Address
0x7c72b0· 33 bytes, up to0x7c72d0- Signature
void __thiscall (CMovement *this)- Meaning
- Restarts a live arc from the current height at the current speed: +0xa0 from 0x7c5d70, +0x78 0, +0x7c z
- Confidence
- verified, proof one
- Finding
- collision/falling#fall-speed-at-a-time
Finding: Fall speed at a time in collision: falling
0x7c5d20(t) returns the vertical speed t seconds into the arc. With v = +0xa0 and T the cap:
vc = T when v > T, else v (NaN keeps v); w = float(t·g + vc); it returns T when T < w, else w,
NaN included. The sum is rounded to float before the compare. 0x7c5d70 calls it with
t = float(+0x78 · 0.001), the count read as unsigned. Its one user is 0x7c72b0: while 0x2000
is set it stores the result at +0xa0, zeroes +0x78 and copies z to +0x7c, restarting the
arc from the current height at the current speed. 0x61a4e0 runs it right after the feather-fall
setter 0x7c72e0, so a changed cap takes hold from that moment.
The derivation is in the doc.
Callers 3
- CMovement::UpdatePlayerMovement collision
- CMovement::DispatchFlushedEvent collision
- CMovement::ApplyFeatherFall collision
Callees 1
- CMovement::GetCurrentFallSpeed collision
Calls and jumps by a bare address, from tables/calls.tsv.