benilla-re systems structs docs

s_simpleRegionVtable

global · ui

Address
0x81c9f4 · 44 bytes, up to 0x81ca1f
Type
void *[11]
Meaning
Holds the vtable a region base stores at +0x0 while it is built or torn down, its slot 0 being 0x77f6c0
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.