benilla-re systems structs docs

UpdateSyncState

function · core · orchestration

Address
0x424710 · 95 bytes, up to 0x42476e
Signature
void __fastcall (EvtContext *context, uint32_t *category, void *payload)
Meaning
Updates the held keys or buttons for categories 2, 8, 9, 0xb and 0xe
Confidence
verified, proof two
Name from
the community database (idb)
Finding
core/events#dispatch
Test
core::demux_route_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 1

Callees 4

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