CSimpleStatusBar::RemoveRegion
function · ui · orchestration
- Address
0x783110· 34 bytes, up to0x783131- Signature
void __thiscall (CSimpleStatusBar *this, CScriptRegion *region)- Meaning
- Forgets the bar texture when it is the removed region, then removes the region
- Confidence
- verified, proof one
- Finding
- ui/slider#a-status-bars-texture-and-teardown
Finding: A status bar's texture and teardown in ui: Slider and StatusBar
0x783140(path, layer) sets the bar texture from a path: with a texture already at +0x324 it loads the path into it (0x770200) and answers 1; otherwise it creates one in layer 2, loads the
path, pins it to every point of the bar and installs it (0x7831f0), or deletes it, answering 0, when the file fails. 0x783110 is the bar's RemoveRegion: it clears +0x324 when it is the removed texture
and then removes the region. 0x783250(orientation) stores the orientation +0x328 and sets bit 0 of +0x314. 0x782dd0(colour) passes a colour to the bar texture's vertex colour when there is one.
The destructor body 0x782ec0 clears the bar texture, releases the script slot +0x32c and runs the frame destructor.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 1
Calls and jumps by a bare address, from tables/calls.tsv.