benilla-re systems structs docs

PromoteAuctionBidderSortColumn

function · ui · primitive

Address
0x4cdd60 · 91 bytes, up to 0x4cddba
Signature
void __fastcall (uint32_t column)
Meaning
Promotes a column in the bidder sort keys and sorts the bidder list
Confidence
verified, proof one
Finding
ui/auctionlists#sorting

Finding: Sorting in ui: auction lists, sorting and deposits

SortAuctionItems("type", "sort") matches the sort name without case: level 0, quality 1, bid 2, duration 3, buyout 4, status 5, name 6, seller 7. An unmatched sort name or type sorts nothing. The column is searched in the list's 8-slot key stack: at slot 0 its reversed flag toggles; at a lower slot it moves to slot 0 and keeps its flag; absent, the stack is unchanged. The list is then sorted by qsort with all 8 keys in turn, each result negated when its flag is set, and the list's update event is signalled. A list that has just arrived is sorted the same way once its lookups are done.

The derivation is in the doc.

Callers 1

Callees 1

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