//
// SetupTriggerPopup::triggerArrowChanged from 0x67e9c2 to 0x67ea4c (138 bytes)
//
// 2 xrefs:
// > SetupTriggerPopup::triggerArrowLeft @ 0x67ea62
// > SetupTriggerPopup::triggerArrowRight @ 0x67ea7c
//
// 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:56:00 +0000
//
_DWORD *__fastcall SetupTriggerPopup::triggerArrowChanged(cocos2d::CCDictionary **this, int a2, int a3)
{
int v6; // r0
int v7; // r2
int v8; // r4
char v9; // r8
int v10; // r2
_DWORD *result; // r0
v6 = cocos2d::CCDictionary::objectForKey(*(this + 154), a2);
if ( v6 )
v6 = (int)*(float *)(v6 + 52);
if ( a3 )
v8 = v6 + 1;
else
v8 = v6 - 1;
v9 = *((_BYTE *)this + 568);
*((_BYTE *)this + 568) = 1;
if ( SetupTriggerPopup::shouldLimitArrowValue((int **)this, a2, v7) )
SetupTriggerPopup::toggleLimitValue((int **)this, a2, 1);
SetupTriggerPopup::updateValueControls((SetupTriggerPopup *)this, a2, COERCE_COCOS2D_CCFLOAT_((float)v8));
SetupTriggerPopup::valueChanged(this, a2, (float)v8);
result = (_DWORD *)SetupTriggerPopup::shouldLimitArrowValue((int **)this, a2, v10);
if ( result )
result = SetupTriggerPopup::toggleLimitValue((int **)this, a2, 0);
*((_BYTE *)this + 568) = v9;
return result;
}