CloseMerchantWindow
function · ui · primitive
- Address
0x4fadf0· 126 bytes, up to0x4fae6d- Signature
void __cdecl (void)- Meaning
- Closes the vendor session, signals MERCHANT_CLOSED and drops a vendor payload
- Confidence
- verified, proof one
- Finding
- ui/merchantcursor#merchant-close
Finding: Merchant close in ui: the vendor cursors
CloseMerchant() runs 0x4fadf0. With a vendor open it clears the interaction unit, zeroes the vendor GUID and the item
count, and signals event 0x13e (MERCHANT_CLOSED). Then, whether or not a vendor was open, it clears a held kind 5
preview, and returns the base cursor to Point (1) when it was the repair cursor (17).
The derivation is in the doc.
Callers 3
Callees 7
- EndInteractionWithGuid ui
- GetCursorAmmo ui
- ClearCursor ui
- SetCursorMode ui
- GetBaseCursorMode ui
- SetBaseCursorMode ui
- FrameScript_SignalEvent ui
Calls and jumps by a bare address, from tables/calls.tsv.