benilla-re systems structs docs

CMovement::StartPitch

function · collision · orchestration

Address
0x7c6df0 · 64 bytes, up to 0x7c6e2f
Signature
void __thiscall (CMovement *this, uint32_t up)
Meaning
Sets 0x40 or 0x80, clearing the other, and re-anchors, only while swimming
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 2

Callees 1

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