benilla-re systems structs docs

OnActionItemRecord

function · ui · orchestration

Address
0x4e5b80 · 19 bytes, up to 0x4e5b92
Signature
uint32_t __fastcall (uint32_t arg1, uint32_t unused, void *record, bool ready)
Meaning
Recounts an item's action slots when its template arrives
Confidence
verified, proof one
Finding
ui/actionbar#item-records-arriving

Finding: Item records arriving in ui: action bars

The template requests carry the callback 0x4e5b80. When a record arrives with a nonzero ready flag it runs 0x4e5c70(entry), which recounts the entry and, for each item slot of that entry, stores the count and notifies with no send and the event on, so every such slot repaints and asks for the icon again. Fifteen more calls recount an entry: the container frames' slot changes, an item record applied, an item deactivated, and, for the active player's items, the stack count, spell charges, entry (old, then new), changed record, enchantment and visible item (old, then new) watchers.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 1

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