benilla-re systems structs docs

WTOBJECT::SetTrail

function · playername · orchestration

Address
0x6c6750 · 152 bytes, up to 0x6c67e7
Signature
void __thiscall (WTOBJECT *this, const uint32_t *color, uint32_t lifetime)
Meaning
Starts a trail: takes a swing record, installs the callback and stores colour and time
Confidence
verified, proof one
Finding
playername/swing#trail-objects

Finding: Trail objects in playername: weapon swing trails

A trail object is 8 bytes: the swing record pointer at +0 and the model at +4. A swing record (0x618 bytes, tag SWING) holds the ring write counter at +0x00, the read counter at +0x04, 128 points of 12 bytes from +0x08, the colour dword at +0x608, the lifetime in milliseconds at +0x60c, the start time at +0x610 and the time of the last step at +0x614.

The derivation is in the doc.

Callers 1

Callees 3

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