//
// SetupMoveCommandPopup::onCustomToggleTriggerValue from 0x100274d28 to 0x100274dc4 (156 bytes)
//
// 1 xrefs:
// > ??> @ 0x1007d41a8
//
// 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 SetupMoveCommandPopup::onCustomToggleTriggerValue(SetupMoveCommandPopup *a1, cocos2d::CCObject *a2)
{
unsigned int v3; // w0
unsigned int v4; // w20
v3 = ((__int64 (__fastcall *)(cocos2d::CCObject *))a2->getTag)(a2);
if ( v3 - 1 <= 1 )
{
v4 = v3;
if ( v3 == (int)((float (__fastcall *)(SetupMoveCommandPopup *, __int64))a1->getValue)(a1, 101) )
v4 = 0;
SetupTriggerPopup::updateValue(a1, 101, (float)v4);
SetupTriggerPopup::updateCustomToggleTrigger(a1, 1, v4 == 1);
SetupTriggerPopup::updateCustomToggleTrigger(a1, 2, v4 == 2);
}
}