benilla-re systems structs docs

InitInventoryAlerts

function · ui · orchestration

Address
0x4c6d30 · 171 bytes, up to 0x4c6dda
Signature
void __cdecl ()
Meaning
Registers the character-points watchers, allocates the 12 alert statuses and recomputes them
Confidence
verified, proof one
Finding
ui/inventory#alert-triggers

Finding: Alert triggers in ui: inventory queries and alerts

0x4c7ee0 runs from the Lua binding UpdateInventoryAlerts (0x4c9560), from five item and player field handlers (0x5d952a, 0x5d97aa, 0x5d9920, 0x5d9b2f, 0x5dee7a), and from 0x4c6d30, which the run-once player setup calls once. 0x4c6d30 registers the character-points and ammunition watchers (0x4c6fb0, ui/talents), then makes the 12-dword array of 48 bytes if the count is not 12, copying an older one over, and ends in the recompute. 0x4c6de0 removes the watchers and frees the array.

The derivation is in the doc.

Callers 1

Callees 6

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