Script::ShowBuybackSellCursor
function · ui · primitive
- Address
0x4fbbb0· 272 bytes, up to0x4fbcbf- Signature
int __fastcall (lua_State *L)- Meaning
- Implements the Lua function ShowBuybackSellCursor
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- 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.
Callers 0
None by a direct call or jump.
Callees 9
- __ftol crt
- ClntObjMgrObjectPtr objectlayer
- ClntObjMgrGetActivePlayer objectlayer
- SetCursorMode ui
- GetBaseCursorMode ui
- IsSpellTargeting spell
- lua_isnumber lua
- lua_tonumber lua
- luaL_error lua
Calls and jumps by a bare address, from tables/calls.tsv.