GetLootType
function · ui · primitive
- Address
0x4c2740· 6 bytes, up to0x4c2745- Signature
int __stdcall ()- Meaning
- Returns the loot type stored for the open window
- Confidence
- verified, proof one
- Finding
- ui/loot#loot-state
Finding: Loot state in ui: the loot window
The window keeps these cells: the loot source GUID 0xb71b48 (zero when no window is open), the money 0xb71ba0
(0 for none, -1 after the coin row has been taken), the loot type 0xb71bbc, a count of item records still being
fetched 0xb71b44, the row waiting for a bind confirmation 0x847cec (-1 for none), a flag that the auto-loot coin
message was shown 0xb71bc4, and the row array 0xb71968. A row of the array is 0x1c bytes, 16 of them.
| offset | field |
|---|---|
| +0x00 | 1 while the item's record is being fetched, else 0 |
| +0x04 | item entry, 0 for an empty row |
| +0x08 | display id |
| +0x0c | stack count |
| +0x10 | the fourth number of the item link |
| +0x14 | random property id |
| +0x18 | the wire slot, as a byte |
The derivation is in the doc.
Callers 2
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.