LcdChooseScreen
function · ui · orchestration
- Address
0x72a510· 195 bytes, up to0x72a5d2- Signature
void __cdecl ()- Meaning
- Picks screen 5, 3, 2 or 1 from the elements' flags and the notice flag, while in the world
- Confidence
- inferred
- Finding
- ui/lcd#the-per-frame-update
Finding: The per-frame update in ui: the keyboard LCD
UpdateKeyboardLcd (0x72a8d0) runs while the LCD is ready and the in-world flag is set. It writes the player's values to the text elements with the ids 3, 5, 7, 9, 0xb and 0xd (each %d), the element 0xf and the elements 0x11 and 0x13
from three further formats, the readouts of 0x72b150, 0x72b0b0, 0x72b230 and 0x72b270, and then settles the screen: when the notice deadline 0xcf0708 has passed it returns to the previous screen, and while the wait-time
deadline 0xcf06f0 is running it keeps the wait screen and writes the minutes and seconds. At its end it calls 0x72a5f0 when the battlefield flag 0xcf06f8 is set and 0x72a510.
The derivation is in the doc.
Callers 1
Callees 5
- OsGetAsyncTimeMs core
- LcdIsLocaleSupported ui
- LcdSetScreen ui
- LcdIsDeviceConnected ui
- 0x72cf80 ui
Calls and jumps by a bare address, from tables/calls.tsv.