//
// SetupStaticCameraPopup::onCustomToggleTriggerValue from 0xab1688 to 0xab1728 (160 bytes)
//
// 2 xrefs:
// > ??> @ 0xed280
// > ??> @ 0x14a6450
//
// 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:56 +0000
//
__int64 __fastcall SetupStaticCameraPopup::onCustomToggleTriggerValue(
SetupStaticCameraPopup *this,
cocos2d::CCObject *a2)
{
int v3; // w20
bool v4; // w2
bool v5; // w21
v3 = (*(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)a2 + 64LL))(a2);
if ( v3 == (int)(*(float (__fastcall **)(SetupStaticCameraPopup *, __int64))(*(_QWORD *)this + 1464LL))(this, 101) )
{
v5 = 0;
v4 = 0;
v3 = 0;
}
else
{
v4 = v3 == 1;
v5 = v3 == 2;
}
SetupTriggerPopup::updateCustomToggleTrigger(this, 1, v4);
SetupTriggerPopup::updateCustomToggleTrigger(this, 2, v5);
return SetupTriggerPopup::updateValue(this, 101, (float)v3);
}