benilla-re systems structs docs

CMovement::RestartFallAtRest

function · collision · primitive

Address
0x633220 · 25 bytes, up to 0x633238
Signature
void __thiscall (CMovement *this)
Meaning
Zeroes the fall speed and fall time, sets the fall start z to the current z and sets flag 0x4000
Confidence
verified, proof one
Finding
collision/airborne#fall-latches

Finding: Fall latches in collision: airborne

0x633220 restarts the fall from rest: +0xa0 = 0, +0x78 = 0, +0x7c = +0x18, and flag 0x4000 set. 0x633240 sets 0x4000 by one of two tests. It does nothing when the flags hold 0x4000 or 0x20000000. With 0x2000 set and +0xa0 ≠ 0 (NaN included) it sets 0x4000 when +0x7c − 0.11111111 ≥ +0x18, NaN included; otherwise, falling or not, when +0x78 ≥ 500.

The derivation is in the doc.

Callers 1

Callees 0

None by a direct call or jump.

Calls and jumps by a bare address, from tables/calls.tsv.