benilla-re systems structs docs

OnTradeItemRecord

function · ui · orchestration

Address
0x4c0340 · 24 bytes, up to 0x4c0357
Signature
void __fastcall (uint32_t key, uint32_t unused, void *data, uint8_t found)
Meaning
Signals TRADE_UPDATE when a trade getter's item record arrives
Confidence
verified, proof one
Finding
ui/trade#the-getters-record-callback

Finding: The getters' record callback in ui: trade requests and status messages

GetTradeTargetItemInfo and GetTradePlayerItemInfo ask the item cache for a slot's record with the callback 0x4c0340, no data and dedupe 0, so every call that misses keeps one more callback. The callback signals TRADE_UPDATE (321), with no arguments, once per kept callback when the record arrives, and nothing for a refusal.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 1

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