//
// SetupGravityTriggerPopup::valueDidChange from 0xa21e84 to 0xa21f30 (172 bytes)
//
// 2 xrefs:
// > ??> @ 0xbad68
// > ??> @ 0x11d8350
//
// 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 SetupGravityTriggerPopup::valueDidChange(SetupGravityTriggerPopup *a1, int a2, float a3)
{
if ( (a2 == 138 || a2 >= 138 && (unsigned int)(a2 - 200) <= 1) && a3 != 0.0 )
{
if ( a2 == 138 )
{
SetupTriggerPopup::updateValue(a1, 200, 0.0);
SetupTriggerPopup::updateValue(a1, 201, 0.0);
}
else
{
SetupTriggerPopup::updateValue(a1, 138, 0.0);
if ( a2 == 200 || (SetupTriggerPopup::updateValue(a1, 200, 0.0), a2 != 201) )
SetupTriggerPopup::updateValue(a1, 201, 0.0);
}
}
}