benilla-re systems structs docs

HandleAuctionListResultPacket

function · ui · primitive

Address
0x4cc7f0 · 534 bytes, up to 0x4cca05
Signature
uint32_t __fastcall (void *param, uint32_t opcode, uint32_t time, CDataStore *msg)
Meaning
Reads the browse list rows and total, then sorts when no item lookups are pending
Confidence
verified, proof one
Name from
the community database (idb)
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 7

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