benilla-re systems structs docs

CMovement::SetSplineFacingTarget

function · collision · primitive

Address
0x618870 · 39 bytes, up to 0x618896
Signature
void __thiscall (CMovement *this, const uint64_t *guid)
Meaning
Sets spline flag 0x20000 and stores a GUID at +0x00 of the spline at +0xa4
Confidence
verified, proof one
Finding
collision/eventapply#spline-facing-setters

Finding: Spline facing setters in collision: event applies

Each setter acts on the spline at CMovement+0xa4. 0x618840 sets its flag 0x10000 and copies a point to its +0x08; 0x618870 sets 0x20000 and copies a GUID to +0x00; 0x6188a0 sets 0x40000 and stores an angle at +0x14. The three are the arms of one switch on a byte of the monster-move data, and the names read the three values as a facing point, target and angle. 0x6188c0(on) sets or clears 0x80000000 only when a spline exists, its bit 0x4 is clear and its bit 0x200 is set.

The derivation is in the doc.

Callers 1

Callees 0

None by a direct call or jump.

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