benilla-re systems structs docs

TradeInitiate

function · objectlayer · orchestration

Address
0x5d3fb0 · 194 bytes, up to 0x5d4071
Signature
void __fastcall (uint32_t flag, uint64_t target)
Meaning
Sends opcode 0x116 with the target GUID, records the pending trade and shows the request line by name
Confidence
verified, proof one
Finding
objectlayer/trade#initiating-a-trade

Finding: Initiating a trade in objectlayer: trade

0x5d3fb0 sends 0x116 with the target's GUID, then stores the GUID in 0xc4bed0, 1 in 0xc4bec8 and its ecx argument in 0xc4becc, in that order after the send. It then asks the player name cache for the target's name with 0x5d4080 as the callback: a cached name is shown at once as interface error 0xb9 with the name; otherwise the callback, when the name query answers with its success byte set, looks the name up again without a callback and shows the same error when it is found.

The derivation is in the doc.

Callers 3

Callees 5

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