benilla-re systems structs docs

ParseAuctionSubject

function · ui · primitive

Address
0x4ace70 · 380 bytes, up to 0x4acfeb
Signature
void __thiscall (void *this)
Meaning
Rewrites an auction mail's subject from entry, property and result code, keeping the invoice triple
Confidence
verified, proof one
Finding
ui/mail#auction-mail-subjects

Finding: Auction mail subjects in ui: the mailbox and the inbox

For a type 2 mail the subject on the wire is entry:randomProperty:result. 0x4ace70 splits it, resolves the item name with its suffix through the item cache and rewrites the subject to the global string of the result code: AUCTION_OUTBID_MAIL_SUBJECT (0), _WON_ (1), _SOLD_ (2), _EXPIRED_ (3), _REMOVED_ (4 and 5), formatted with the item name. An uncached item leaves the subject empty until the callback 0x4ad010 redoes it. The entry, random property and result are kept at +0x250, +0x254 and +0x258 only for results 1 and 2; they mark an invoice.

The derivation is in the doc.

Callers 2

Callees 7

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