SetSplinePath
function · spline · orchestration
- Address
0x453360· 33 bytes, up to0x453380- Signature
void __thiscall (void *this, const float *points, uint32_t count)- Meaning
- Sets the control points through vtable slot 7, then refreshes the length
- Confidence
- verified, proof one
- Finding
- spline#dispatch-and-clamps
Finding: Dispatch and clamps in spline
0x453390(t, out, mode) returns the first control point for t ≤ 0 and the last, P[count − 1],
for t ≥ 1. Otherwise mode 1 calls slot 2 and mode 0 calls slot 3 with (t, out); any other mode
writes nothing. 0x453420 and 0x453480 clamp t into [0, 1], a NaN becoming 1, and call the
tangent (mode 1 slot 4, mode 0 slot 5) or the frame (mode 1 slot 6, otherwise nothing).
0x453360(points, count) calls slot 7, then 0x4532e0, which rebuilds the lengths (slot 1) and
stores the total (slot 0) at +4 when the count exceeds 3. The mode argument is the parameter kind,
not the curve's +0x28.
The derivation is in the doc.
Callers 7
- BuildRouteVertices loadingscreen
- ReadMovementBlock objectlayer
- TimeShipPathLeg objectlayer
- SplineEmitterSetPath models
- CMovement::TransformSpline collision
- CMovement::ResetSplinePath collision
- CMovement::StartSpline collision
Callees 1
- RefreshSplineLength spline
Calls and jumps by a bare address, from tables/calls.tsv.