RecycleMoveEventQueue
function · collision · orchestration
- Address
0x6159c0· 133 bytes, up to0x615a44- Signature
void __thiscall (void *this)- Meaning
- Splices every event of a queue onto the end of the free list 0xc4db88, or raises error 0x57
- Confidence
- verified, proof one
- Finding
- collision/replay#event-queue-and-free-list
Finding: Event queue and free list in collision: replay
Each mover keeps its pending events at +0x150: a list with link offset 0 and the terminator at
+0x154, ordered by each event's time at +0x8. 0x615820 inserts an event before the first one
whose time is later by signed difference, so equal times keep arrival order. 0x6158e0 returns
the first event or null; 0x6158f0 returns whether there is one. Spent events go to the free list
0xc4db88: 0x615910 moves the first event there; 0x6159c0 splices a whole queue onto its end,
with error 0x57 for a null queue, the free list or another link offset.
0x615a50 empties a queue, spliced when the manager exists, else freed node by node. 0x617060,
the destructor, runs 0x7c5950 and then 0x615a50 on +0x150.
The derivation is in the doc.
Callers 2
- ReleaseMoveEventQueue collision
- CMovement::ApplyStatusIfDue collision
Callees 1
- SErrSetLastError storm
Calls and jumps by a bare address, from tables/calls.tsv.