benilla-re systems structs docs

CMovement::ApplyEventStatus

function · collision · primitive

Address
0x61a770 · 140 bytes, up to 0x61a7fb
Signature
uint32_t __thiscall (CMovement *this, const void *event)
Meaning
Applies a queued event status: transport, masked flags, pose, fall time; returns 0 when the transport fails
Confidence
verified, proof one
Finding
collision/status#queued-status-apply

Finding: Queued status apply in collision: status

0x61a770(event) applies a queued event's status. It sets the transport from event +0x28 through 0x618970 and returns 0 when that fails. Otherwise it stores (flags & 0x8a5f8200) | event +0x30, the complement of the relay mask applied to flags that 0x617730 already masked with 0x75a07dff; the position from +0x10, facing +0x1c and pitch +0x20; and, when the new flags have 0x2000, the fall time +0x34 to +0x78 and 0x7c5f30(fall time) to +0x7c. It ends with 0x7c5cd0(0) and 0x7c5c20(0) and returns 1. The drain 0x615c30 calls it for an event that carries a status.

The derivation is in the doc.

Callers 1

Callees 4

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