benilla-re systems structs docs

Script::Logout

function · ui · orchestration

Address
0x489390 · 19 bytes, up to 0x4893a2
Signature
int __fastcall (lua_State *L)
Meaning
Requests a logout, honouring the pending latch
Confidence
verified, proof one
Name from
the community database (idb)
Finding
ui/popups#logout-and-quit

Finding: Logout and quit in ui: session and dialog verbs

Five verbs read no argument and return no value. Logout() calls 0x5ab000(0, 0) and Quit() calls 0x5ab000(1, 0) on the session object: both send opcode 0x4b, and Logout also sets the pending latch at +0x1b1d. ForceLogout() calls 0x5aaff0, which runs 0x5ab000(0, 1): opcode 0x4a with no body, no latch, and no refusal for a pending latch. CancelLogout() calls 0x5aaf80, which sends opcode 0x4e with no body and clears the latch. ForceQuit() sends nothing: it calls 0x401560(0), which stores the quit code 0 and posts the close event of the current context.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 2

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