benilla-re systems structs docs

CGWorldFrame::~CGWorldFrame

function · ui · orchestration

Address
0x481d30 · 431 bytes, up to 0x481ede
Signature
void __thiscall (CGWorldFrame *this)
Meaning
Tears down the world frame: singleton, handles, lists, camera and effects, then the base frame
Confidence
verified, proof one
Finding
ui/worldframe#destruction

Finding: Destruction in ui: the world frame as a widget

0x481d30 is the world frame's destructor body, called by the deleting destructor 0x481d00. It stores the two vtables back, calls EventSetMouseMode(0, 0), zeroes the singleton 0xb4b2bc, releases the two handles at 0xb4b344 and 0xb4b348, tears down the smart-rect lists (0x509450), drains the three object lists at +0x31c, +0x328 and +0x334 (each entry closed with 0x4840d0, which releases the model at +0x8 through HandleClose2 (0x7103a0) and unlinks the node, and freed with SMemFree), destroys the camera at +0x65b8 with CCamera::~CCamera (0x50c460) and frees it, calls the virtual destructors of the objects at 0xb4b350 and 0xb4b39c when set, calls FFXShutdown (0x6cd1d0), unlinks the lists at +0x330, +0x324 and +0x318 and ends in CSimpleFrame::~CSimpleFrame (0x7693b0).

The derivation is in the doc.

Callers 1

Callees 10

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