benilla-re systems structs docs

AuctionSubjectItemArrived

function · ui · orchestration

Address
0x4ad010 · 55 bytes, up to 0x4ad046
Signature
void __stdcall (void *holder, uint8_t ok)
Meaning
Parses the subject again when its item arrives, signals MAIL_INBOX_UPDATE and frees the holder
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 0

None by a direct call or jump.

Callees 3

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