CMovement::InitSpline
function · collision · orchestration
- Address
0x7c62c0· 73 bytes, up to0x7c6308- Signature
void __thiscall (CMovement *this, const float *point)- Meaning
- Creates the spline record if absent, clears its flags and stores a point at its +0x58
- 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 2
- CMovement::StartSplinePath collision
- CMovement::RestartSplineAt collision
Callees 1
- CreateMovementSpline collision
Calls and jumps by a bare address, from tables/calls.tsv.