__CIpow
function · crt · boundary
- Address
0x73f940· 25 bytes, up to0x73f958- Meaning
- Raises st(1) to the power st(0), the C runtime's intrinsic pow
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- lighting/celestial#glare-update
- Test
crt::crt_pow_nonfinite_difftest
Finding: Glare update in lighting: sun, moons and stars
Each frame 0x6cf490 sets a glare's target to the product of its cloud and submersion
occlusion, 1 − the largest active skybox weight, its visibility track at the time of day and, when
that is nonzero, its draw occlusion. The envelope +0x30 moves toward the target by at most rise
or fall times the frame time. With c = camera forward · the unit direction to the glare, raised to
the look threshold, and f = (c − threshold)/(1 − threshold), the scale +0x24 is lerp(scale ends,
f) times the base scale, the alpha byte becomes bits(f32(old/255 · lerp(alpha ends, f) · envelope ·
255 + 512)) >> 14, and the look factor +0xa4 is c^10 · envelope.
The derivation is in the doc.
Callers 12
- Power cmath
- Bias cmath
- ShakeFalloff uicamera
- GammaRampBuild gx
- CGObject_C::Conform objectlayer
- BuildPow10Table storm
- ParseDecimalDouble storm
- SStrToFloat storm
- 0x64acd0 storm
- UpdateGlare lighting
- BuildCloudCurve lighting
- math_pow lua
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.