SimpleRegionConstruct
function · ui · orchestration
- Address
0x77f640· 122 bytes, up to0x77f6b9- Signature
void * __thiscall (void *this, CSimpleFrame *parent, uint32_t layer, uint32_t sublevel)- Meaning
- Builds a region base: script and layout parts, zeroed fields, vtables, and the parent link when given
- Confidence
- verified, proof two
- Finding
- ui/regions#the-region-base
Finding: The region base in ui: regions in the layout
Textures and font strings share a region base. 0x77f640(parent, layer, sublevel) runs CScriptRegion::CScriptRegion, zeroes the eight dwords +0xa0 to +0xbc and
+0xc0 to +0xc8, stores the vtables 0x81c9f4 and 0x81c9c8 (at +0x24) and, for a nonnull parent, calls CScriptRegion::SetRegionParent with the parent, layer
and sublevel. 0x77f6f0 is its destructor body: it stores the vtables, calls SetRegionParent(0, 1, 0), frees the arrays at +0xb8 and +0xa8 and ends in
CScriptRegion::~CScriptRegion. 0x77f570(p) stores p at this and, for a nonnull p, increments the count at p+4.
The derivation is in the doc.
Callers 2
Callees 2
Calls and jumps by a bare address, from tables/calls.tsv.