benilla-re systems structs docs

ClearLootRollState

function · objectlayer · orchestration

Address
0x5ebcf0 · 78 bytes, up to 0x5ebd3d
Meaning
Clears a loot slot's roll byte when the active player holds the given loot
Confidence
verified, proof one
Finding
objectlayer/inventory#loot

Finding: Loot in objectlayer: inventory

0x5e6010 dispatches 0x160 to 0x165 for the active player and 0x29e to 0x2a4 to LootRoll.cpp. 0x160 reads the source and a type; type 0 shows the failure, others read the money and a count, capped at 16, of items, each with a slot byte placing it in the 16-entry table 0xc4d4e8, unchecked: a slot above 15 writes past the table, up to slot 255. A response for another source, or a failure, releases it. 0x162 clears a slot, again unchecked; 0x161 ends the loot; 0x163 prints the money split.

The derivation is in the doc.

Callers 2

Callees 2

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