benilla-re systems structs docs

CMovement::StartSpline

function · collision · orchestration

Address
0x7c6a50 · 143 bytes, up to 0x7c6ade
Signature
void __thiscall (CMovement *this, uint32_t a, const float *points, uint32_t count, uint32_t b, uint32_t flags, uint32_t c)
Meaning
Fills the spline record and its path, sets the run mode from spline flag 0x100, and starts moving forward
Confidence
verified, proof one
Finding
collision/commands#spline-commands

Finding: Spline commands in collision: commands

+0xa4 holds a 0x70-byte spline record that 0x630c40 allocates, or null. 0x7c62c0(p) creates it when absent, zeroes its flags at +0x18 and stores the point p at +0x58. 0x7c6310 frees it through 0x630ca0, nulls +0xa4 and updates the speed. 0x7c6a20(x) stores x at +0x28 when the record exists, then calls 0x453360 with no points. 0x7c6a50 stores the flags at +0x18 and three values at +0x1c, +0x24 and +0x28, zeroes +0x20, sets +0x54 to 1 when the flags have 0x200 and to 0 otherwise, passes the points to 0x453360, and then calls 0x7c71c0 with the flags' 0x100 bit (0x7c6ac2) and 0x7c6ae0(1). A record whose flags have 0x200 and not 0x4 refuses falls and jumps.

The derivation is in the doc.

Callers 1

Callees 3

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