//
// SetupStaticCameraPopup::onCustomToggleTriggerValue from 0x10039bf80 to 0x10039c003 (131 bytes)
//
// 1 xrefs:
// > ??> @ 0x1009230f0
//
// 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 SetupStaticCameraPopup::onCustomToggleTriggerValue(SetupStaticCameraPopup *a1, cocos2d::CCObject *a2)
{
int v2; // r14d
int v3; // r15d
v2 = ((__int64 (__fastcall *)(cocos2d::CCObject *))a2->getTag)(a2);
v3 = 0;
if ( v2 != (int)((float (__fastcall *)(SetupStaticCameraPopup *, __int64))a1->getValue)(a1, 101) )
v3 = v2;
SetupTriggerPopup::updateCustomToggleTrigger(a1, 1, v3 == 1);
SetupTriggerPopup::updateCustomToggleTrigger(a1, 2, v3 == 2);
SetupTriggerPopup::updateValue(a1, 101, (float)v3);
}