benilla-re systems structs docs

CMovement::ForceStopStrafe

function · collision · orchestration

Address
0x7c6ce0 · 26 bytes, up to 0x7c6cf9
Signature
void __thiscall (CMovement *this)
Meaning
Clears 0x4, 0x8 and 0x10000, then updates speed then anchor
Confidence
verified, proof one
Name from
the community database (idb)
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 4

Callees 2

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