RefreshSplineLength
function · spline · orchestration
- Address
0x4532e0· 25 bytes, up to0x4532f8- Signature
void __thiscall (void *this)- Meaning
- Rebuilds the segment lengths and stores the total at +4 when the curve has more than 3 points
- 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 2
- SetSplineControlPoint spline
- SetSplinePath spline
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.