benilla-re systems structs docs

CMovement::UpdateStatus

function · collision · primitive

Address
0x618f20 · 94 bytes, up to 0x618f7d
Signature
uint32_t __thiscall (CMovement *this, uint32_t eventTime, const void *status, uint32_t tag, uint32_t param)
Meaning
Applies a status through 0x618c30, or queues it with tag and param at its fire time through 0x6176a0
Confidence
verified, proof one
Name from
the community database (idb)
Finding
collision/status#status-entry-points

Finding: Status entry points in collision: status

0x618f20 is the common entry: it calls 0x618c30(eventTime, status, &skew, 0, 0). Applied, it drops the spline (0x7c6310), refreshes the active list (0x618940) and returns 1; deferred, it queues 0x6176a0(eventTime + skew, tag, 0, 0, param, status) and returns 0. 0x618eb0 does the same but queues through 0x6177a0 with three more arguments; 0x619280 uses tag 0x10 with the status facing as the parameter. 0x61a750, the relay of opcodes 0xc9 and 0xee, passes tag 0x25. The status record, as these read it:

offsetfield
+0x00sender's time stamp, ms
+0x08transport GUID, 8 bytes
+0x10movement flags
+0x14, +0x20transport-space position and facing
+0x24, +0x30world position and facing
+0x34pitch
+0x38, +0x3cfall time and vertical speed
+0x40 to +0x4bjump data
+0x4cCMovement +0x80, written by 0x7c6340 only under flag 0x4000000 (0x7c6401), read by 0x7c6490 (0x7c6468)
+0x50 to +0x64six speeds, create block only
+0x68spline, create block only

The derivation is in the doc.

Callers 27

Callees 4

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