//
// SetupTriggerPopup::triggerArrowChanged from 0x9ed4b4 to 0x9ed54c (152 bytes)
//
// 3 xrefs:
// > SetupTriggerPopup::triggerArrowLeft @ 0x9ed580
// > SetupTriggerPopup::triggerArrowRight @ 0x9ed5b8
// > ??> @ 0x990c0
//
// 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 SetupTriggerPopup::triggerArrowChanged(SetupTriggerPopup *a1, int a2, bool a3)
{
_BOOL4 v5; // w21
cocos2d::CCObject *v6; // x0
int v7; // w0
int v8; // w0
float v9; // s8
bool m_disableTextDelegate; // w21
v5 = a3;
v6 = cocos2d::CCDictionary::objectForKey(a1->m_triggerValues, a2);
if ( v6 )
v7 = (int)*(float *)&v6[1].__vftable;
else
v7 = 0;
if ( v5 )
v8 = v7 + 1;
else
v8 = v7 - 1;
v9 = (float)v8;
m_disableTextDelegate = a1->m_disableTextDelegate;
a1->m_disableTextDelegate = 1;
SetupTriggerPopup::updateValueControls(a1, a2, (float)v8);
SetupTriggerPopup::valueChanged(a1, a2, v9);
a1->m_disableTextDelegate = m_disableTextDelegate;
}