benilla-re systems structs docs

Script::CloseMail

function · ui · orchestration

Address
0x4aded0 · 10 bytes, up to 0x4aded9
Signature
int __fastcall (lua_State *L)
Meaning
Closes the mailbox softly and returns nothing
Confidence
verified, proof one
Name from
the community database (idb)
Finding
ui/mail#opening-and-closing

Finding: Opening and closing in ui: the mailbox and the inbox

A mailbox's use handler (0x5f6820) and the lottery kiosk's (0x5f6e10) pass the object's GUID to 0x4acd10 and send nothing. It makes the mailbox the interaction object with the walk-away range, stores the GUID, clears the compose state with the events, and signals MAIL_SHOW. CloseMail() and the interaction drop-all call 0x4acd50: it clears the compose state silently, ends the interaction, signals MAIL_CLOSED, zeroes the GUID and, when a mail was marked read since the last query, asks for the next-mail time again. The hard form, used by the world teardown, zeroes the GUID and the list count and signals nothing. The range is the square of 5.5555553 yards.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 1

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