//
// kerningSliderValueFromValue from 0x57e180 to 0x57e1c6 (70 bytes)
//
// 1 xrefs:
// > CustomizeObjectLayer::init @ 0x580810
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:52:50 +0000
//
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);
}