benilla-re systems structs docs

NotifyActionSlotChanged

function · ui · orchestration

Address
0x4e58e0 · 201 bytes, up to 0x4e59a8
Signature
void __fastcall (uint32_t slot, bool send, bool quiet)
Meaning
Recomputes a slot's flags, optionally sends CMSG_SET_ACTION_BUTTON and signals ACTIONBAR_SLOT_CHANGED
Confidence
verified, proof one
Finding
ui/actionbar#slot-changed

Finding: Slot changed in ui: action bars

0x4e58e0(slot, send, quiet) recomputes the slot's usable and no-power flags with 0x4e5050 and stores them. With send nonzero it sends CMSG_SET_ACTION_BUTTON (0x128): u8 slot (0-based) and u32 word. With quiet zero it signals ACTIONBAR_SLOT_CHANGED (0xd5) with the format "%d" and the 1-based slot. A slot outside 0 to 119 does nothing. A drag between two occupied slots sends two packets, one per slot.

The derivation is in the doc.

Callers 6

Callees 5

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