LootItemRecordArrived
function · ui · primitive
- Address
0x4c2ac0· 128 bytes, up to0x4c2b3f- Signature
void __fastcall (uint32_t entry, uint64_t *id, uint32_t data, uint8_t ok)- Meaning
- Clears the pending flag of a loot row on arrival and starts the loot at the last pending item
- Confidence
- verified, proof one
- Finding
- ui/loot#late-item-records
Finding: Late item records in ui: the loot window
0x4c2ac0(entry, ok) is the item-cache callback. Each row whose record is missing registers it once, with data 0 and the dedupe flag off, so it runs once per such row, in the order the rows registered (dbcache/callbacks#callback-order). A failed fetch does nothing. Otherwise it clears the pending flag of every row with that entry and subtracts one from the pending count; at 0 it does what the end of 0x4c1cb0 does: the auto-loot sweep, or LOOT_OPENED. So the window is not shown until every item record has arrived, and its one LOOT_OPENED is raised on the last arrival. The stock window shows itself on that event and does not repaint on a second one.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 4
- ClntObjMgrObjectPtr objectlayer
- ClntObjMgrGetActivePlayer objectlayer
- AutoLootAll ui
- FrameScript_SignalEvent ui
Calls and jumps by a bare address, from tables/calls.tsv.