OnBuybackFieldsChanged
function · ui · orchestration
- Address
0x4faca0· 23 bytes, up to0x4facb6- Signature
uint32_t __fastcall (uint32_t offset, uint32_t unused, uint32_t length, uint64_t guid, void *previous)- Meaning
- Rebuilds the buy-back list and signals MERCHANT_UPDATE, returning 1
- Confidence
- verified, proof one
- Finding
- ui/merchant#the-buy-back-watch
Finding: The buy-back watch in ui: buy-back, shopping tooltips and repair
The world entry registers 0x4faca0 as a field watcher on the active player's 0x60 bytes from
descriptor byte 0x1038, the 12 buy-back prices and the 12 timestamps, and leaving the world removes
it. On any change in that range it rebuilds the buy-back list and signals MERCHANT_UPDATE (317) with
no arguments, whether a vendor is open or not, and returns 1.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 2
Calls and jumps by a bare address, from tables/calls.tsv.