benilla-re systems structs docs

CMovement::AddLaunchMoveEvent

function · collision · orchestration

Address
0x6177a0 · 153 bytes, up to 0x617838
Signature
void __thiscall (CMovement *this, uint32_t time, uint32_t tag, uint8_t send, uint32_t counter, const float *dir, float xy, float z, const void *status)
Meaning
Queues an event carrying a direction pair and two speeds, with an optional status snapshot
Confidence
verified, proof one
Finding
collision/events#insertion-in-time-order

Finding: Insertion in time order in collision: events

Each adder allocates a node, fills it, inserts it and adds the movement to the active list (0x619ca0). The insert 0x615820 links the new node before the first node for which new time minus node time is negative as a signed 32-bit difference, else at the end, so equal times keep arrival order. 0x617570 copies a position, facing and pitch; 0x6176a0 a value at +0x38 and, given a status, the snapshot through 0x617730; 0x6177a0 the knockback payload and an optional status. Each stores the send byte at +0x4d and the counter at +0x48. Given a status and a queue empty before the insert, 0x6176a0 and 0x6177a0 then call 0x619030 and 0x619090 with the time at globals +0x128 (0x630a40).

The derivation is in the doc.

Callers 2

Callees 8

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