s_lootItems
global · objectlayer
- Address
0xc4d4e8· 384 bytes, up to0xc4d667- Type
uint32_t[96]- Meaning
- Holds 16 loot entries of 24 bytes, which an unchecked slot overruns
- 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.