benilla-re systems structs docs

UpdateSyncMouseState

function · core · primitive

Address
0x424920 · 42 bytes, up to 0x424949
Signature
void __fastcall (EvtContext *context, uint32_t buttons, uint32_t down)
Meaning
ORs buttons into the held-button mask, or clears them
Confidence
verified, proof two
Name from
the community database (idb)
Finding
core/events#held-buttons

Finding: Held buttons in core: events

Each context also keeps a mask of held mouse buttons at +0x1c4: a button-down (0xb) ORs in the payload's button bit, a button-up (0xe) clears it, and category 2 clears the whole mask. Its one reader is unreached, so the mask has no effect in this build.

The derivation is in the doc.

Callers 1

Callees 0

None by a direct call or jump.

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