Lock-on and targeting (executable)

Decoded from the Store build 1.3.25854.2 executable (our reading of the machine code; no game data involved apart from the camera record fields named below). Godot side: godot/scripts/combat/lock_on.gd (PdLockOn), used by player.gd. Units 0.1 m, ticks 1/30 s, angles 15-bit (0x8000 = 360°). “C” is the character object (position at C + 0x12e40, facing C + 0x12e68, camera yaw / pitch C + 0x12e5c / + 0x12e60, pad held / previous / pressed bits at C + 0x1425c / + 0x14260 / + 0x14264); “P” = C + 0x40 is its combat part (health P + 0xc, four body records from P + 0x40).