benilla-re systems structs docs

DestroyMovementSpline

function · collision · orchestration

Address
0x630ca0 · 128 bytes, up to 0x630d1f
Signature
void __thiscall (void *this)
Meaning
Unlinks the object a CMovement keeps at +0xa4, frees its two buffers and frees it
Confidence
verified, proof one
Finding
collision/world#spline-object

Finding: Spline object in collision: world

0x630c40() allocates the 112-byte object a CMovement keeps at +0xa4 (SMemAlloc, the Movement_C.cpp path, line 121), zeroes +0x08 to +0x13, +0x34 to +0x53 and +0x58 to +0x6b, stores the vtable 0x7ffd84 at +0x2c and 1 at +0x54, and returns it, or 0 when the allocation fails. 0x630ca0(object) unlinks its link at +0x64, frees the buffer of the record at +0x44, runs a no-op over each 12-byte element of the array whose count and buffer are +0x38 and +0x3c, frees that buffer and frees the object. 0x630d70(link, offset) returns the link after link: the terminator, bit 0 cleared, at the end; otherwise the next node plus offset, or, for a negative offset, plus the link's own distance from its node.

The derivation is in the doc.

Callers 1

Callees 4

Calls and jumps by a bare address, from tables/calls.tsv.