benilla-re systems structs docs

TradeSetItem

function · objectlayer · primitive

Address
0x5d4380 · 252 bytes, up to 0x5d447b
Signature
bool __fastcall (uint8_t slot, uint8_t tradeSlot, uint64_t item, uint64_t container)
Meaning
Sends opcode 0x11d with trade slot, container index and slot, and counts the own offer change
Confidence
verified, proof one
Finding
objectlayer/trade#outgoing-trade-messages

Finding: Outgoing trade messages in objectlayer: trade

Each sender builds a data store on its stack, puts the opcode as a uint32 and the body below, sends it through 0x5ab630, and frees the store's buffer. None checks that a trade is open.

opcodesenderbodyprecondition and effect
0x1160x5d3fb0u64 GUIDsee Initiating a trade
0x1170x5d40e0none
0x1180x5d4150none
0x1190x5d41c0none
0x11a0x5d4230u32 0xc4be78[1]
0x11b0x5d42a0none
0x11c0x5d4310none
0x11d0x5d4380u8 trade slot, u8 container index, u8 slotthe active player and the item must exist; counter +1
0x11e0x5d4480u8 trade slotcounter +1
0x11fmoney sendersu32 coppersee Offering money

The derivation is in the doc.

Callers 2

Callees 6

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