ResetCompose
function · ui · primitive
- Address
0x4acdc0· 115 bytes, up to0x4ace32- Signature
void __fastcall (uint32_t signal)- Meaning
- Unlocks the attached item and zeroes the draft; signals the three compose events when asked
- 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.
Callers 4
Callees 2
Calls and jumps by a bare address, from tables/calls.tsv.