//
// SetupRotatePopup::onCustomToggleTriggerValue from 0xaa05c0 to 0xaa0698 (216 bytes)
//
// 2 xrefs:
// > ??> @ 0x692e0
// > ??> @ 0x14a13b0
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 13:00:48 +0000
//
__int64 __fastcall SetupRotatePopup::onCustomToggleTriggerValue(SetupRotatePopup *this, cocos2d::CCObject *a2)
{
int v3; // w20
v3 = (*(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)a2 + 64LL))(a2);
SetupTriggerPopup::updateValue(this, 97, 0.0);
if ( v3 == 1 )
{
SetupTriggerPopup::updateValue(this, 98, 1.0);
}
else if ( v3 == 2 || !v3 )
{
SetupTriggerPopup::updateValue(this, 98, 0.0);
}
(*(void (__fastcall **)(SetupRotatePopup *, __int64, bool))(*(_QWORD *)this + 1352LL))(this, 2, v3 == 2);
SetupTriggerPopup::updateCustomToggleTrigger(this, 0, v3 == 0);
SetupTriggerPopup::updateCustomToggleTrigger(this, 2, v3 == 2);
return SetupTriggerPopup::updateCustomToggleTrigger(this, 1, v3 == 1);
}