benilla-re systems structs docs

Script::GetAuctionSellItemInfo

function · ui · primitive

Address
0x4ce590 · 478 bytes, up to 0x4ce76d
Signature
int __fastcall (lua_State *L)
Meaning
Returns the sell slot item's name, icon, count, quality, usability and price
Confidence
verified, proof one
Name from
the community database (idb)
Finding
ui/auctionlists#sell-slot-info

Finding: Sell slot info in ui: auction lists, sorting and deposits

GetAuctionSellItemInfo() returns six values: name, icon, count, quality, whether the player can use it, and the price (sell price times count). An empty slot, an unresolved item or an uncached record returns nil, nil, 1, -1, nil, 0. Quality is the template +0x1c when its +0x2c is nonzero, else -1. 0x4ce2f0 is the callback registered with the item cache by this function and by CalculateAuctionDeposit; it signals 423 when its flag is set.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 11

Calls and jumps by a bare address, from tables/calls.tsv.