benilla-re systems structs docs

SortAuctionOwnerList

function · ui · orchestration

Address
0x4cdcd0 · 36 bytes, up to 0x4cdcf3
Signature
void __cdecl ()
Meaning
Sorts the owner list with qsort and signals AUCTION_OWNED_LIST_UPDATE
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 3

Callees 2

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