benilla-re systems structs docs

AuctionBrowseItemCallback

function · ui · primitive

Address
0x4cca10 · 25 bytes, up to 0x4cca28
Signature
void __stdcall (uint32_t, uint8_t)
Meaning
Counts down a pending browse lookup and sorts the browse list when the count is zero or reaches zero
Confidence
verified, proof one
Finding
ui/auction#browse-results

Finding: Browse results in ui: the auction house session

SMSG_AUCTION_LIST_RESULT (0x25c) is 0x4cc7f0: a u32 row count (into 0xb7261c), the rows of the record layout above, then a u32 total (0xb72620). The count is never compared with the 50 slots, so a count above 50 runs off the browse pointer array 0xb72278 (200 bytes): rows 51 to 100 are written through the owner pointers at 0xb72340, so they overwrite the owner records. A previous request's unresolved item lookups are cancelled first. For each row the item record is requested from the item cache; each miss adds one to 0xb72644. After the total, the list is sorted and signalled (0x4cd8b0) only when that counter is 0, else the last arriving lookup does it (0x4cca10).

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 1

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