benilla-re systems structs docs

CCamera::~CCamera

function · uicamera · primitive

Address
0x50c460 · 100 bytes, up to 0x50c4c3
Signature
void __thiscall (CCamera *this)
Meaning
Saves the camera's view, unregisters cameraClip and releases the camera's lists
Confidence
verified, proof one
Finding
uicamera/view#lifetime

Finding: Lifetime in uicamera: the camera's saved view

The camera is made with the world frame and destroyed with it. The world frame's constructor makes the camera (0x50c0e0, which loads the file) and stores it at +0x65b8 of the frame; the frame's destructor calls the camera's destructor 0x50c460, which saves the file. The frame is created by name when the interface starts, so the file is read once per interface load and written when the interface is torn down.

The derivation is in the doc.

Callers 1

Callees 5

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