OpenMerchantWindow
function · ui · primitive
- Address
0x4facf0· 174 bytes, up to0x4fad9d- Signature
void __fastcall (void *rows, uint32_t count, uint64_t vendorGuid)- Meaning
- Replaces the vendor's rows and GUID and signals MERCHANT_SHOW, leaving the cursor
- Confidence
- verified, proof one
- Finding
- ui/merchantcursor#client-faults
Finding: Client faults in ui: the vendor cursors
Dropping a kind 5 payload on a bag slot or a bag button looks the row up with the stored index bounded against the row count, but an index out of range gives a null row and the
lookup is used anyway. A fresh vendor list can shorten the table without clearing the cursor. The
bag and keyring path and the bag button path then read the entry from address 4. The toggle test of
PickupMerchantItem compares the preview entry without testing the kind, so a held action bar item or ammo with the
same entry as the row clears the cursor instead of picking up the row.
The derivation is in the doc.
Callers 1
- ReadVendorInventory objectlayer
Callees 4
- SetInteractionTarget ui
- FireTutorial ui
- DBCache::CancelCallback dbcache
- FrameScript_SignalEvent ui
Calls and jumps by a bare address, from tables/calls.tsv.