benilla-re systems structs docs

ClearLootCoinRow

function · ui · primitive

Address
0x4c2750 · 59 bytes, up to 0x4c278a
Signature
void __stdcall ()
Meaning
Sets the money to -1, signals LOOT_SLOT_CLEARED for the coin row and closes 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

Callees 3

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