benilla-re systems structs docs

RaiseBagUpdate

function · ui · primitive

Address
0x4f9370 · 92 bytes, up to 0x4f93cb
Signature
void __stdcall (uint64_t container)
Meaning
Raises BAG_UPDATE with 0 for the player or the cache index 1 to 10 of a container
Confidence
verified, proof one
Finding
ui/bags#container-content-events

Finding: Container content events in ui: bags and bag slots

0x4f90d0 watches the item slots of one container (offset (n - 8) / 8). When the slot's GUID differs from the previous value it unlocks the item, refreshes the action slots for the old and new entries, and refreshes the two windows; whether or not it changed, it then raises BAG_UPDATE through 0x4f9370(container). That argument is 0 when the container is the player and its index 1 to 10 in the cache otherwise; a container not in the cache raises nothing. A bag sitting directly in a bank bag slot has the player as its container, so its update carries 0.

The derivation is in the doc.

Callers 3

Callees 3

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