s_buybackSlots
global · ui
- Address
0xbddf24· 48 bytes, up to0xbddf53- Type
uint32_t[12]- Meaning
- Holds the inventory slot of each buy-back item
- Confidence
- verified, proof one
- Finding
- ui/merchantcursor#merchant-sell-cursors
Finding: Merchant sell cursors in ui: the vendor cursors
ShowMerchantSellCursor(index) and ShowBuybackSellCursor(index) have the same two opening gates and raise a
usage error for a non-number. The merchant form needs an open vendor and a row in range with a nonzero entry. It
shows Buy when the player's coinage is at least the row's price at +0x10, else UnableBuy (23), also when the
active player does not resolve. The buy-back form reads the inventory slot from the buy-back table and shows
UnableBuy when the coinage is below that slot's buy-back price, else Buy; a slot outside the buy-back range gets
Buy. Neither sends a packet.
The derivation is in the doc.