//
// SetupGravityTriggerPopup::valueDidChange from 0x100421c4c to 0x100421ce8 (156 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008253c8
//
// 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
//
void __fastcall SetupGravityTriggerPopup::valueDidChange(SetupGravityTriggerPopup *a1, int a2, float a3)
{
if ( (unsigned int)(a2 - 138) <= 0x3F
&& ((1LL << ((unsigned __int8)a2 + 118)) & 0xC000000000000001LL) != 0
&& a3 != 0.0 )
{
if ( a2 == 138 )
{
SetupTriggerPopup::updateValue(a1, 200, 0.0);
LABEL_9:
SetupTriggerPopup::updateValue(a1, 201, 0.0);
return;
}
SetupTriggerPopup::updateValue(a1, 138, 0.0);
if ( a2 == 200 )
goto LABEL_9;
SetupTriggerPopup::updateValue(a1, 200, 0.0);
if ( a2 != 201 )
goto LABEL_9;
}
}