//
// SetupCameraOffsetTrigger::sliderValueFromPos from 0x9674cc to 0x967514 (72 bytes)
//
// 6 xrefs:
// > SetupCameraOffsetTrigger::init @ 0x968b0c
// > SetupCameraOffsetTrigger::textChanged @ 0x9697f0
// > SetupCameraOffsetTrigger::textChanged @ 0x9698e4
// > SetupCameraOffsetTrigger::textChanged @ 0x9698fc
// > SetupCameraOffsetTrigger::textChanged @ 0x96990c
// > ??> @ 0x6ba00
//
// 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 SetupCameraOffsetTrigger::sliderValueFromPos(SetupCameraOffsetTrigger *a1, int a2)
{
float result; // s0
result = (float)(floorf((float)a2 / 3.0) / 200.0) + 0.5;
if ( result >= 1.0 )
return 1.0;
if ( result <= 0.0 )
return 0.0;
return result;
}