//
// sub_100422020 from 0x100422020 to 0x100422067 (71 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:30:16 +0000
//
double __fastcall sub_100422020(double a1)
{
double v1; // xmm1_8
v1 = 0.0;
if ( a1 <= 0.2 )
return v1;
if ( a1 < 0.8 )
return (a1 + -0.2) / 0.6;
return 1.0;
}