CCamera::EnterMouselookThunk
function · uicamera · orchestration
- Address
0x50f930· 5 bytes, up to0x50f934- Signature
void __thiscall (CCamera *this)- Meaning
- Jumps to the mouselook entry
- Confidence
- verified, proof one
- Finding
- uicamera/follow#leaving-mouselook
Finding: Leaving mouselook in uicamera: following and the auto-return
When the last primary button is released, 0x514b70 calls 0x50f940(extra) with its third argument. The camera leaves mouselook (ui/mouseover#mouselook), sets mode bit 5 when the argument is nonzero and clears it otherwise,
and copies the live yaw, pitch and pivot bias into their transition targets so nothing returns to the view. While bit 5 is set the auto-return is refused (uicamera/cvars#clear-and-band-tests).
ToggleMouseMove runs 0x50f910: it leaves mouselook with the argument 0 when mode bit 0 is set and enters it otherwise.
The derivation is in the doc.
Callers 2
- CCamera::ToggleMouselook uicamera
- CInputControl::PressCommands input
Callees 1
- CameraEnterFreelook uicamera
Calls and jumps by a bare address, from tables/calls.tsv.