benilla-re systems structs docs

s_lcdPreviousScreen

global · ui

Address
0x874060 · 4 bytes, up to 0x874063
Type
int32_t
Meaning
Holds the screen shown before the current one, -1 at first
Confidence
verified, proof one
Finding
ui/lcd#changing-screen

Finding: Changing screen in ui: the keyboard LCD

0x72b480(n) stores n as the current screen 0x87405c and the old one in 0x874060, and tells the wrapper (0x72d0d0); it does nothing when n is already current. 0x72b810 shows screen 0, and 0x72b440 returns to the previous screen when the current one is 2.

The derivation is in the doc.