//
// SetupMoveCommandPopup::onCustomToggleTriggerValue from 0x5e7182 to 0x5e71ea (104 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:54:20 +0000
//
int __fastcall SetupMoveCommandPopup::onCustomToggleTriggerValue(SetupMoveCommandPopup *this, cocos2d::CCObject *a2)
{
int result; // r0
int v4; // r4
result = (*(int (__fastcall **)(cocos2d::CCObject *))(*(_DWORD *)a2 + 32))(a2);
v4 = result;
if ( (unsigned int)(result - 1) <= 1 )
{
if ( (int)(*(float (__fastcall **)(SetupMoveCommandPopup *, int))(*(_DWORD *)this + 732))(this, 101) == result )
v4 = 0;
SetupTriggerPopup::updateValue(this, 101, (float)v4);
SetupTriggerPopup::updateCustomToggleTrigger(this, 1, v4 == 1);
return SetupTriggerPopup::updateCustomToggleTrigger(this, 2, v4 == 2);
}
return result;
}