benilla-re systems structs docs

s_catmullRomCurveVtable

global · spline

Address
0x7ffd84 · 36 bytes, up to 0x7ffda7
Type
void *[9]
Meaning
Holds the Catmull-Rom curve vtable stored at +0x2c of the movement spline object
Confidence
verified, proof one
Finding
spline#curve-objects

Finding: Curve objects in spline

A curve object is a vtable and a record. Three vtables of nine slots exist: the base 0x7ffdbc, the Catmull-Rom curve 0x7ffd84 and the Bezier curve 0x81d90c. Slots 0 to 8 are the total length, the rebuild of the segment lengths, the point at an arc-length and at a uniform parameter, the tangent at each, the frame, the setting of the control points and the extraction of points. The base holds the pure-call stub 0x40a2d7 in slots 0 to 6.

offsetfield
+0vtable
+4total length, a float
+8, +0xccontrol point count, both stored by 0x4534f0
+0x10control point array, 12 bytes a point
+0x18 to +0x24segment length list: capacity, count, data, growth quantum
+0x28mode: 0 straight chords, else cubic

The derivation is in the doc.