s_mailItemContainerGuid
global · ui
- Address
0xb6ef98· 8 bytes, up to0xb6ef9f- Type
uint64_t- Meaning
- Holds the GUID of the container the attached item came from
- Confidence
- verified, proof one
- Finding
- ui/mailsend#the-compose-state
Finding: The compose state in ui: composing and sending mail
The draft is a few cells. The attached item is a GUID (0xb6ef90), the container GUID it came from (0xb6ef98) and
its slot byte (0xb6efa0). The amounts are money (0xb6efa4) and COD (0xb6efa8). 0xb6efac is 1 while a send
awaits its result. The selections are a stationery id (0xb6efb4) and a package id (0xb6efb8). ClearSendMail() and
the compose reset 0x4acdc0 unlock the attached item, zero every cell and, when asked, signal SEND_MAIL_MONEY_CHANGED,
SEND_MAIL_COD_CHANGED and MAIL_SEND_SUCCESS in that order. Opening a mailbox, a successful send and ClearSendMail
reset with the events; closing the window resets without them. A reset clears the stationery selection, so a draft
cannot be sent until SelectStationery runs again.
The derivation is in the doc.