//
// SetupTriggerPopup::triggerArrowChanged from 0x140475e40 to 0x140475ed5 (149 bytes)
//
// 3 xrefs:
// > SetupTriggerPopup::triggerArrowLeft @ 0x140475dff
// > SetupTriggerPopup::triggerArrowRight @ 0x140475e2f
// > ??> @ 0x1406db69c
//
// 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)
{
BOOL v5; // ebp
struct cocos2d::CCObject *v6; // rax
int v7; // ecx
bool m_disableTextDelegate; // bl
float v9; // xmm6_4
v5 = a3;
v6 = cocos2d::CCDictionary::objectForKey(a1->m_triggerValues, a2);
if ( v6 )
v7 = (int)*(float *)&v6[1].__vftable;
else
v7 = 0;
m_disableTextDelegate = a1->m_disableTextDelegate;
a1->m_disableTextDelegate = 1;
v9 = (float)(v7 + 2 * v5 - 1);
SetupTriggerPopup::updateValueControls(a1, a2, v9);
SetupTriggerPopup::valueChanged(a1, a2, v9);
a1->m_disableTextDelegate = m_disableTextDelegate;
}