benilla-re systems structs docs

FindLootRollById

function · objectlayer · primitive

Address
0x61b2e0 · 37 bytes, up to 0x61b304
Signature
void * __fastcall (uint32_t id)
Meaning
Returns the open loot roll with the id, or 0
Confidence
verified, proof one
Finding
objectlayer/lootroll#the-open-rolls

Finding: The open rolls in objectlayer: loot rolls

Each roll is a 0x48-byte record on a list at 0xc4dc00, its first record at +4 (tag PendingLootRoll): the looted object's GUID +0x10, its item slot +0x18, the item id +0x1c, two random-property words +0x20 and +0x24, the roller or winner GUID +0x30, the roll number +0x38, the type +0x40 and the countdown +0x3c. A roll also holds its id +0x8, its expiry time +0x28, and three flags: voted +0x2c, queued +0x39 and closed +0x3a. At most four rolls are open at once, counted at 0xc4dda8.

The derivation is in the doc.

Callers 4

Callees 0

None by a direct call or jump.

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