benilla-re systems structs docs

IEvtQueueDispatch

function · core · orchestration

Address
0x4245b0 · 345 bytes, up to 0x424708
Signature
void __fastcall (EvtContext *context, uint32_t category, void *payload)
Meaning
Updates the held state, then calls a category's handlers, highest priority first, until one returns 0
Confidence
verified, proof two
Name from
the community database (idb)
Finding
core/events#dispatch
Test
core::event_dispatch_order_matches_binary

Finding: Dispatch in core: events

0x4245b0 first updates the held-key and held-button state for the category, which can turn a key-down into a repeat (Held keys and repeats). It then calls the category's handlers from the head of the list, skipping records whose skip flag is set, and stops at the first handler that returns 0. Handlers may add or remove records during the walk: a removed record not yet reached is never called, and a record added after the current one, by priority, is called in the same walk. Nothing is called while a fatal error is being reported, or for a null context.

The derivation is in the doc.

Callers 20

Callees 6

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