ClearLootRow
function · ui · primitive
- Address
0x4c1f00· 148 bytes, up to0x4c1f93- Signature
void __fastcall (uint32_t wireSlot)- Meaning
- Removes the row with a wire slot, signals LOOT_SLOT_CLEARED and closes the loot when nothing is left
- Confidence
- verified, proof one
- Finding
- ui/loot#taking-a-row-out
Finding: Taking a row out in ui: the loot window
0x4c1f00(wire slot) removes the row that carries that wire slot: it cancels the row's fetch if one is pending,
zeroes the row's seven dwords and signals LOOT_SLOT_CLEARED (268) with the position in Lua terms (the row's array
position plus one, plus one more when there is money). The array is not packed again, so the later rows keep their
positions. When nothing is left (0x4c2a70) it closes the loot with release (0x48f200 with 1, 0).
0x4c2750 does the same for the coin row: it sets the money to -1, signals 268 with 1, and closes when nothing is left.
The derivation is in the doc.
Callers 1
- 0x48f390 ui
Callees 4
- EndLootWindow ui
- LootHasContents ui
- DBCache::CancelCallback dbcache
- FrameScript_SignalEvent2 ui
Calls and jumps by a bare address, from tables/calls.tsv.