EvaluateSplinePoint
function · spline · orchestration
- Address
0x453390· 142 bytes, up to0x45341d- Signature
void __thiscall (void *this, float t, float *out, uint32_t mode)- Meaning
- Writes the first or last control point at the ends, else the point from slot 2 or 3
- 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 4
- FillRouteRibbon loadingscreen
- CMovement::StartSplinePath collision
- SplineEmitterSpawnParticle models
- CMovement::FollowSpline collision
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.