benilla-re systems structs docs

RegisterLootFunctions

function · ui · primitive

Address
0x4c3450 · 33 bytes, up to 0x4c3470
Signature
void __stdcall ()
Meaning
Registers the 16 loot Lua functions from the table 0x847cf0
Confidence
verified, proof one
Finding
ui/loot#loot-functions

Finding: Loot functions in ui: the loot window

LootSlot(index) (1-based) calls 0x4c2790(index - 1, 1), the confirmation form, which acts only on the pending row; no Lua function takes a row directly, the take lives in the row widget's click. CloseLoot([flag]) closes the loot with release; a true argument also shows ERR_LOOT_NO_UI. IsFishingLoot() returns 1 when the stored loot type is 3, else nil. SetLootPortrait(texture) bakes the loot source unit's portrait into a texture (0x524f60) and returns 1, or clears the texture and returns nil when the source is not a unit.

The derivation is in the doc.

Callers 1

Callees 1

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