//
// modifyValue from 0x79ca10 to 0x79ca4c (60 bytes)
//
// 2 xrefs:
// > LevelSelectLayer::getColorValue @ 0x79cc54
// > ??> @ 0x5bfc8
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
double __fastcall modifyValue(double a1)
{
double v1; // d1
v1 = 0.0;
if ( a1 <= 0.2 )
return v1;
if ( a1 < 0.8 )
return (a1 - 0.2) / 0.6;
return 1.0;
}