SetCameraTargetByGuid
function · ui · orchestration
- Address
0x48ec90· 58 bytes, up to0x48ecc9- Meaning
- Sets the world frame camera target to the object of a GUID, the active player when it is 0
- Confidence
- verified, proof one
- Finding
- ui/gameui#cursor-and-camera
Finding: Cursor and camera in ui: game start-up and shutdown
GetCursorPosition() (0x48b820) pushes two numbers from the top frame's dwords x and y at +0x1118 and +0x111c: 768·a·x and 768·y, with a the screen aspect. 0x48ec90(guid) sets the world frame's camera target to the object of a GUID, the active player's when the GUID is zero; 0x4841a0 is the camera call. 0x4913a0 drains the world's fading models when a world frame exists, through the jump 0x483e10.
The derivation is in the doc.
Callers 9
- EnterWorldUI ui
- CGPlayer_C::UpdateFarSight objectlayer
- CGUnit_C::UpdateBaseAnimation objectlayer
- CGUnit_C::Mount objectlayer
- CGUnit_C::Dismount objectlayer
- CGUnit_C::OnDisplayChanged objectlayer
- ProcessLocalMoveEvent objectlayer
- CGUnit_C::OnStandStateChanged objectlayer
- CGObject_C::StartScaleEase objectlayer
Callees 3
- ClntObjMgrObjectPtr objectlayer
- ClntObjMgrGetActivePlayer objectlayer
- SetCameraTarget ui
Calls and jumps by a bare address, from tables/calls.tsv.