//
// kerningSliderValueFromValue from 0x461464 to 0x4614aa (70 bytes)
//
// 1 xrefs:
// > CustomizeObjectLayer::init @ 0x463564
//
// 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
//
int __fastcall kerningSliderValueFromValue(int a1)
{
float v1; // s15
v1 = (float)((float)a1 + 10.0) / 30.0;
if ( v1 >= 1.0 )
{
v1 = 1.0;
}
else if ( v1 <= 0.0 )
{
v1 = 0.0;
}
return LODWORD(v1);
}