//
// SetupGameplayOffsetPopup::triggerSliderValueFromValue from 0x54a440 to 0x54a47c (60 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 SetupGameplayOffsetPopup::triggerSliderValueFromValue(SetupGameplayOffsetPopup *a1, int a2, float a3)
{
SetupGameplayOffsetPopup *v6; // r0
int v7; // r1
float v8; // r2
if ( shouldModifyValueGPO(a2) )
{
v6 = a1;
v7 = a2;
v8 = a3 / 3.0;
}
else
{
v8 = a3;
v6 = a1;
v7 = a2;
}
return SetupTriggerPopup::triggerSliderValueFromValue(v6, v7, v8);
}