benilla-re systems structs docs

CMovement::UpdatePlayerMovement

function · collision · orchestration

Address
0x615c30 · 2381 bytes, up to 0x61657c
Signature
uint32_t __thiscall (CMovement *this, uint32_t time)
Meaning
Applies every queued event due by time through the case table 0x616580; returns whether work remains
Confidence
verified, proof one
Name from
the community database (idb)
Finding
collision/replay#event-replay-loop

Finding: Event replay loop in collision: replay

0x615c30(t) applies, in queue order, every event with t − time ≥ 0, each in these steps:

stepaction
1move the event to the free list
2under flag 0x1000, drop it when 0x618030(type) is 0 (types 0 to 7, 18, 19 and 28)
3without byte +0x4d, 0x7c6310()
4F = the flags; V = (F & 0x2000) and +0xa0 ≠ 0.0, NaN counting as unequal
5with byte +0x4c, flag 0x2000 and the event's flags +0x30 lacking 0x2000: 0x7c6290(), a landing
6the case for the type at +0xc
7with +0x4d, no message passed on, flags & 0x200f and F & 0x200f clear: 0x615b80(t)
8with +0x4c, 0x61a770(event) nonzero and a landing: 0x602d00(t, F, V)
90x619030(t), then 0x619090(t)

It returns 1 when events remain or flags & 0x20ff, else 0.

The derivation is in the doc.

Callers 1

Callees 47

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