benilla-re systems structs docs

CMovement::LatchFallingFar

function · collision · primitive

Address
0x633240 · 83 bytes, up to 0x633292
Signature
void __thiscall (CMovement *this)
Meaning
Sets flag 0x4000 unless 0x20000000 is set: a fall with speed at 1/9 below its start z, else after 500 ms
Confidence
verified, proof one
Finding
collision/airborne#fall-latches
Test
collision::resolve_state_difftest

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 2

Callees 0

None by a direct call or jump.

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