//
// GJScaleControl::valueFromScale from 0x1000525f0 to 0x100052621 (49 bytes)
//
// 0 xrefs:
//
// 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 GJScaleControl::valueFromScale(GJScaleControl *a1, float a2)
{
return fmaxf(fminf((float)(a2 - a1->m_lowerBound) / (float)(a1->m_upperBound - a1->m_lowerBound), 1.0), 0.0);
}