benilla-re systems structs docs

CMovement::StopStrafeOnGround

function · collision · orchestration

Address
0x7c6d00 · 37 bytes, up to 0x7c6d24
Signature
uint32_t __thiscall (CMovement *this, uint32_t bits)
Meaning
Calls 0x7c6ce0 and returns 1 when bits holds 0x4 or 0x8 and the mover is not falling
Confidence
verified, proof one
Finding
collision/commands#start-and-stop-strafe

Finding: Start and stop strafe in collision: commands

0x7c6c50(left) mirrors 0x7c6ae0 on the strafe pair: it clears 0x10000, 0x80000 and 0x100000, sets 0x4 and clears 0x8 for a nonzero argument (0x8 and clears 0x4 for zero), and while falling with a direction held records 0x80000 or 0x100000 instead and returns 0. 0x7c6d30 mirrors 0x7c6ba0: without 0x4 or 0x8 it clears the deferred strafe starts; otherwise it clears a set 0x4000000 and runs 0x7c61c0, then records 0x10000 while falling or runs 0x7c6ce0. 0x7c6ce0 clears 0x4, 0x8 and 0x10000 and refreshes; unlike 0x7c6c00 it does not touch the spline. 0x7c6d00(bits) runs 0x7c6ce0 for bits with 0x4 or 0x8 when not falling.

The derivation is in the doc.

Callers 1

Callees 1

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