benilla-re systems structs docs

ShutdownMail

function · ui · primitive

Address
0x4acc40 · 204 bytes, up to 0x4acd0b
Signature
void __cdecl ()
Meaning
Frees the stationery list and the mail records and clears the four mail packet handlers
Confidence
verified, proof one
Finding
ui/mail#mail-packets

Finding: Mail packets in ui: the mailbox and the inbox

Every request carries the mailbox GUID (u64, not packed) first. The client sends and reads these.

opcodedirectionwhatbody after the GUID
0x23asendCheckInboxnone
0x245sendTakeInboxMoneymail id u32
0x246sendTakeInboxItemmail id u32
0x247sendmark readmail id u32
0x248sendReturnInboxItemmail id u32
0x249sendDeleteInboxItem, automatic deletemail id u32
0x24asendTakeInboxTextItemmail id u32, template id u32
0x284bothnext-mail timesend: none; reply: f32
0x239receivesend resultui/mail#mail-results
0x23breceivethe listui/mail#the-list-packet
0x285receivea mail arrivedf32

The derivation is in the doc.

Callers 1

Callees 3

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