benilla-re systems structs docs

s_textCameraPitch

global · uicamera

Address
0x84ffec · 12 bytes, up to 0x84fff7
Type
char[12]
Meaning
Holds the string "cameraPitch", a key that LoadSettings compares each settings line with
Confidence
verified, proof one
Finding
uicamera/view#reading-the-file

Finding: Reading the file in uicamera: the camera's saved view

The reader reads the whole file and splits it into lines on carriage return and line feed, and each line into a key and a value on a space. A key matches cameraDistance or cameraPitch without case; any other line is skipped. A distance is stored unchanged into both the current and the target distance (+0xec, +0x198). A pitch is multiplied by π/180 and stored into both the current and the target pitch (+0xf4, +0x1e0). Nothing clamps either value, so a file can hold a distance outside the zoom range or a pitch past 89 degrees until the next input.

The derivation is in the doc.