benilla-re systems structs docs

CGlueMgr::Resume

function · glue · primitive

Address
0x46a7b0 · 762 bytes, up to 0x46aaa9
Signature
void __thiscall (CGlueMgr *this)
Meaning
Builds the glue screens: size, top, cursor, script functions, event names, signed GlueXML load, FRAMES_LOADED
Confidence
verified, proof one
Name from
the community database (idb)
Finding
glue/manager#glue-build
Test
glue::glue_init_viewport_difftest

Finding: Glue build in glue: the manager

0x46a7b0(reset) zeroes the manager's state 0xb41da0 and the cells 0xb41d98, 0xb41d9c, 0xb41df4, 0xb41d94 and 0xb41d8c; stores the screen's size and aspect (Screen size and aspect); allocates a CSimpleTop (4408 bytes) at 0xb41d84 with 0x46abe0 as its size callback at +0x1130; makes the cursor and sets it on the top; when reset is nonzero, replaces the Lua state (0x703b80); registers the script functions (0x46abb0); installs the 26 glue event names at 0xb41e70 (0x703d90); starts character creation's state (0x470430); then checks and loads the GlueXML (Signature and digest check). The startup passes 0; every other caller passes 1.

The derivation is in the doc.

Callers 4

Callees 32

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