benilla-re systems structs docs

CreateMovementSpline

function · collision · orchestration

Address
0x630c40 · 93 bytes, up to 0x630c9c
Signature
void * __cdecl (void)
Meaning
Allocates the 112-byte object a CMovement keeps at +0xa4 and clears most of it, or returns 0
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 2

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