//
// SetupGravityTriggerPopup::valueDidChange from 0x1004c55d0 to 0x1004c5660 (144 bytes)
//
// 1 xrefs:
// > ??> @ 0x10094fec8
//
// 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)
{
unsigned __int64 v3; // rax
unsigned __int64 v4; // rcx
v3 = (unsigned int)(a2 - 138);
if ( (unsigned int)v3 <= 0x3F )
{
v4 = 0xC000000000000001LL;
if ( _bittest64((const __int64 *)&v4, v3) )
{
if ( 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;
}
}
}
}