//
// SetupRotatePopup::onCustomToggleTriggerValue from 0x958500 to 0x9585d8 (216 bytes)
//
// 2 xrefs:
// > ??> @ 0x4ab20
// > ??> @ 0x11ba290
//
// 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 SetupRotatePopup::onCustomToggleTriggerValue(SetupRotatePopup *a1, cocos2d::CCObject *a2)
{
int v3; // w20
v3 = a2->getTag(a2);
SetupTriggerPopup::updateValue(a1, 97, 0.0);
if ( v3 == 1 )
{
SetupTriggerPopup::updateValue(a1, 98, 1.0);
}
else if ( v3 == 2 || !v3 )
{
SetupTriggerPopup::updateValue(a1, 98, 0.0);
}
a1->toggleGroup(a1, 2, v3 == 2);
SetupTriggerPopup::updateCustomToggleTrigger(a1, 0, v3 == 0);
SetupTriggerPopup::updateCustomToggleTrigger(a1, 2, v3 == 2);
SetupTriggerPopup::updateCustomToggleTrigger(a1, 1, v3 == 1);
}