CSimpleTop::CSimpleTop
function · ui · orchestration
- Address
0x764180· 430 bytes, up to0x76432d- Meaning
- Builds the top: layout base, strata records, input lists, key table, pass and input registrations
- Confidence
- verified, proof two
- Name from
- the community database (idb)
- Finding
- ui/strata#strata-records-and-level-nodes
Finding: Strata records and level nodes in ui: strata, levels and the per-frame passes
The top holds nine pointers at +0xcd4, one 0x18-byte record per stratum: a draw-dirty flag, a
levels-dirty flag, the count of levels in use, and an array of level nodes. A level node,
CFrameStrataNode, is 0x11c bytes: two frame lists linked through each frame's +0x30c, a cursor
at +0x18, five draw batches of 0x30 bytes from +0x1c, a dirty-layer mask at +0x10c and the
list of batches to draw at +0x110. The second list holds the level's frames; the first holds
frames added while the update pass walks the level.
The derivation is in the doc.
Callers 2
- CGlueMgr::Resume glue
- CGGameUI::Initialize ui
Callees 9
- ScaleScreenDelta screencoord
- UnscaleScreenXY screencoord
- EventGetCursorPos core
- ScrnLayerCreate unassigned
- SMemAlloc storm
- CSimpleTop::RegisterInputHandlers ui
- MakeListTerminator ui
- CLayoutFrame::CLayoutFrame ui
- LoadUiPixelShaders ui
Calls and jumps by a bare address, from tables/calls.tsv.