s_float41200000
global · ui
- Address
0x80448c· 4 bytes, up to0x80448f- Type
const float- Meaning
- Holds the float 10 (0x41200000)
- Confidence
- verified, proof one
- Finding
- ui/distancegates#thresholds
Finding: Thresholds in ui: distance gates and range checks
Each threshold is the square of a constant, folded by a static initialiser (fld [c]; fmul [c]; fstp [cell]) or squared inline.
| site | distance from the player to | squared threshold | passes when |
|---|---|---|---|
0x4944a0 | a player unit that it can cooperate with, or itself | 0xb4d918 = 10² | at most |
0x48ba00 | the unit, by distance index 1 to 4 | 10², 11.111111², 10², 30² | strictly less |
0x4924c0 | a spirit guide (NPC flag 0x40) that may assist it | 20² | at most |
0x4923b0 | the cached area spirit healer | 22.0², the product 20 * 1.1 stored as a float | at most |
0x492130 | the cached corpse position | 0xb4e2ac = 40² | at most |
0x48edf0 | camera eye to the new shot's position | 30² | not above (else the areas unload) |
0x48f080 | camera eye to the camera's followed unit | 30² | not above |
The derivation is in the doc.