benilla-re systems structs docs

CMovement::StopTurn

function · collision · orchestration

Address
0x7c6dd0 · 29 bytes, up to 0x7c6dec
Signature
uint32_t __thiscall (CMovement *this)
Meaning
Clears 0x10 and 0x20 and re-anchors when either was set; returns 1 then
Confidence
verified, proof one
Finding
collision/commands#turn-and-pitch-commands

Finding: Turn and pitch commands in collision: commands

0x7c6d90(left) sets 0x10 and clears 0x20 for a nonzero argument, 0x20 and clears 0x10 for zero, and re-anchors; it tests no other bit, so turning starts while rooted or falling. 0x7c6dd0 clears 0x10 and 0x20 and re-anchors only when one was set, and returns 1 then, else 0. 0x7c6df0(up) acts only while swimming (0x200000): it sets 0x40 and clears 0x80 for nonzero, 0x80 and clears 0x40 for zero, and re-anchors. 0x7c6e30 is 0x7c6dd0 for 0x40 and 0x80. None of the four touches the speed.

The derivation is in the doc.

Callers 3

Callees 1

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