benilla-re systems structs docs

SysMsgInitialize

function · sysmsg · orchestration

Address
0x44cd10 · 41 bytes, up to 0x44cd38
Signature
void __cdecl ()
Meaning
Sets the switch to 1, the window to 0 to 3 and the selector to -1
Confidence
verified, proof one
Name from
the community database (idb)
Finding
sysmsg#display-switch-and-window

Finding: Display switch and window in sysmsg

Four globals hold the console's choices: the switch 0x835928, the window low 0xb05d30 and high 0x83592c, and the selector 0x835930. 0x44cd10, called once from 0x402ad0, sets them to 1, 0, 3 and −1. Setting the low bound raises the high to it when below; setting the high lowers the low to it when above (0x44cc20, 0x44cc40). 0x44cd40 clears the switch and tail-calls 0x44cd60, a ret; it is the tail jump of DestroyClientSystems (0x4036c0). The console handlers 0x402f60 and 0x4030b0 call the window setters only for values 0 to 3 (0x402f6e, 0x402f73, 0x4030be, 0x4030c3). The getters 0x44cc60, 0x44cc70 and 0x44cc90 have one caller each; 0x44cc10 and 0x44cd50 have none.

The derivation is in the doc.

Callers 1

Callees 0

None by a direct call or jump.

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