benilla-re systems structs docs

RecountItemActionSlots

function · ui · primitive

Address
0x4e5c70 · 80 bytes, up to 0x4e5cbf
Signature
void __fastcall (uint32_t entry)
Meaning
Recounts an item entry and notifies every item slot holding it
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 12

Callees 2

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