benilla-re systems structs docs

CMovement::QueueForcedRoot

function · collision · primitive

Address
0x61a700 · 67 bytes, up to 0x61a742
Signature
void __thiscall (CMovement *this, uint32_t time, uint32_t counter, uint32_t root)
Meaning
Queues tag 0x23 when rooting, else 0x24, with byte 1 and the counter
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 1

Callees 1

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