benilla-re systems structs docs

CMovement::Unroot

function · collision · orchestration

Address
0x619a40 · 29 bytes, up to 0x619a5c
Signature
void __thiscall (CMovement *this)
Meaning
Clears the root bit and starts a fall through 0x7c7370(1); links the mover when flags & 0x20ff
Confidence
verified, proof one
Finding
collision/handlers#root-and-unroot

Finding: Root and unroot in collision: handlers

Opcode 0xec applies through 0x6199c0: 0x618f20 with tag 0x23; applied, it roots (0x619a00) and unlinks (0x619e80(1)). Opcode 0xed applies through 0x619a60 with tag 0x24; applied, it unroots (0x619a40). Rooting stops every motion (0x61aa70) and then sets 0x1000, ends a fall and keeps flags & 0xffe07f00 (0x7c7340). Unrooting clears 0x1000, starts a fall when it can (0x7c7370(1)), and links the mover when flags & 0x20ff. The spline root, opcode 0x31a, is 0x619a10: root, 0x616d30 when a spline exists, unlink. The spline unroot, 0x304, is 0x619a40. The forced pair 0xe8 and 0xea queue tag 0x23 or 0x24 with the counter (0x61a700).

The derivation is in the doc.

Callers 2

Callees 2

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