benilla-re systems structs docs

CGPlayer_C::UpdateFarSight

function · objectlayer · primitive

Address
0x5ee290 · 755 bytes, up to 0x5ee582
Signature
uint8_t __thiscall (CGPlayer_C *this)
Meaning
Starts or ends far sight on PLAYER_FARSIGHT's object, moving control and telling the server
Confidence
verified, proof one
Finding
objectlayer/interaction#far-sight

Finding: Far sight in objectlayer: interaction

0x5ee290 follows PLAYER_FARSIGHT. With no far-sight object, or with the camera already on it, it ends far sight: sends 0x27a with 0 if it is on, stops spell targeting and makes the player the active mover (none when not client-controlled). Otherwise it sends 0x27a with 1 once, stops the melee attack, and makes the object the active mover when it is a unit the client controls, else calls 0x514640 on the input control. A set GUID with no object returns 0 after restoring control.

The derivation is in the doc.

Callers 4

Callees 17

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