benilla-re systems structs docs

s_targetTradeRecordWord3c

global · ui

Address
0xb71650 · 28 bytes, up to 0xb7166b
Type
uint32_t[7]
Meaning
Holds the dword +0x3c of the partner trade slot records
Confidence
verified, proof one
Finding
ui/trade#the-partners-offer

Finding: The partner's offer in ui: trade requests and status messages

After each partner-side extended status, 0x4bf2b0(records) takes the partner's seven 64-byte records. It clears the player's accept flag, then the partner's. For each slot it compares the record's dwords at +0x00, +0x08 to +0x18 and +0x20 to +0x3c with the partner's cache, and on any difference copies them all and signals TRADE_TARGET_ITEM_CHANGED (323) with slot + 1; the dwords at +0x04 and +0x1c are neither compared nor kept. Then four cached words, each stored before its signal: the own side's header word signals 323 with 7 and the partner's 324 with 7, the own money PLAYER_TRADE_MONEY (326) then PLAYER_MONEY (200), and the partner's money TRADE_MONEY_CHANGED (325).

The derivation is in the doc.