benilla-re systems structs docs

CameraLeaveFreelook

function · uicamera · primitive

Address
0x50fdd0 · 84 bytes, up to 0x50fe23
Signature
void __thiscall (CCamera *this)
Meaning
Shows the cursor, leaves relative mouse mode and ends the world frame's mouselook
Confidence
verified, proof one
Finding
ui/mouseover#mouselook

Finding: Mouselook in ui: the world under the pointer

Entering mouselook, 0x50fe30 sets bit 0 of the camera's mode word at +0x90, hides the hardware cursor (0x58b590 with 0), switches the device to relative mouse mode (0x420540 with 1, 0) and calls 0x493070. That sets bit 1 of the world frame's word at +0x38c (0x483e80), hides every nameplate (0x60f830 with 1), clears a published mouseover, and then makes the world frame the hovered frame. Leaving, 0x50fdd0 clears the mode bit, shows the cursor and calls 0x493090, which clears the world frame bit and shows the nameplates again (0x483e70) and asks for a new hover pick. Bit 1 of +0x38c is read at one place, the classifier (ui/worldcursor#classifying-a-hovered-object).

The derivation is in the doc.

Callers 1

Callees 6

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