//
// kerningSliderValueFromValue from 0x840150 to 0x84018c (60 bytes)
//
// 2 xrefs:
// > CustomizeObjectLayer::init @ 0x843698
// > ??> @ 0x44d18
//
// 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
//
float __fastcall kerningSliderValueFromValue(int a1)
{
float result; // s0
result = (float)((float)a1 + 10.0) / 30.0;
if ( result >= 1.0 )
return 1.0;
if ( result <= 0.0 )
return 0.0;
return result;
}