HandleLootMessage
function · objectlayer · orchestration
- Address
0x5e6010· 253 bytes, up to0x5e610c- Signature
uint32_t __fastcall (void *param, uint32_t opcode, uint32_t time, CDataStore *msg)- Meaning
- Dispatches the loot messages to the player and the roll messages to LootRoll.cpp
- 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 0
None by a direct call or jump.
Callees 13
- ClntObjMgrObjectPtr objectlayer
- ClntObjMgrGetActivePlayer objectlayer
- CGPlayer_C::ReadLootResponse objectlayer
- CGPlayer_C::ReadLootRemoved objectlayer
- ReadLootMoneyNotify objectlayer
- ReadLootClearMoney objectlayer
- ReadLootItemNotify objectlayer
- CGPlayer_C::ReadLootReleaseResponse objectlayer
- HandleLootStartRoll objectlayer
- HandleLootAllPassed objectlayer
- HandleLootRollWon objectlayer
- HandleLootRoll objectlayer
- HandleLootMasterList objectlayer
Calls and jumps by a bare address, from tables/calls.tsv.