s_float42270000
global · ui
- Address
0x806550· 4 bytes, up to0x806553- Type
const float- Meaning
- Holds the float 41.75 (0x42270000)
- Confidence
- verified, proof two
- Finding
- ui/geometry#click-to-world
Finding: Click to world in ui: map geometry
0x4a7100(u, v) turns a point of the displayed map into a world position. At the world level it finds the continent whose rectangle
holds the point, edges included, and returns the position and that continent's map id. For a WorldMapContinent row
with scale s, the first coordinate is (f7 − ((v − 0.5) / s)·41.75)·533.3333 and the second (f6 − ((u − 0.5) / s)·62.625)·533.3333. At the zone level it
reads the selected row's rectangle and gives lo − (lo − hi)·u for the first coordinate and the same form on the other
pair for the second; v is not read. No call reaches 0x4a7100: its only caller is in an unreached function.
The derivation is in the doc.