benilla-re systems structs docs

CGAuctionHouse::InitializeGame

function · ui · orchestration

Address
0x4cc0f0 · 393 bytes, up to 0x4cc278
Signature
void __stdcall ()
Meaning
Registers the auction packet handlers, allocates the 150 records and outbid pairs and sets the sort keys
Confidence
verified, proof one
Name from
the community database (idb)
Finding
ui/auction#session-state
Test
ui::outbid_list_start_up_difftest, ui::outbid_list_later_start_up_difftest

Finding: Session state in ui: the auction house session

A reply opens the window and sets the state: the auctioneer GUID (0xb725f8) and the house id (0xb72600). Three arrays of 50 record pointers hold the lists: browse 0xb72278, owner 0xb72340 and bidder 0xb72470, each with a count and a total from the wire (0xb7261c and 0xb72620, 0xb72624 and 0xb72628, 0xb7262c and 0xb72630) and a pending-lookups counter (0xb72644, 0xb72648, 0xb7264c). The 150 records are 0x48 bytes, allocated once at start-up (0x4cc0f0); sorting permutes the pointers. Each list has a sort key stack (browse 0xb725b0, owner 0xb72420, bidder 0xb72548) of 8 pairs {column, reversed}.

The derivation is in the doc.

Callers 1

Callees 4

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