//
// SetIDPopup::onItemIDArrow from 0x14029bd00 to 0x14029bd4e (78 bytes)
//
// 3 xrefs:
// > SetIDPopup::init @ 0x14029baa7
// > SetIDPopup::init @ 0x14029bb5e
// > ??> @ 0x1406d1da8
//
// 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 SetIDPopup::onItemIDArrow(SetIDPopup *a1, cocos2d::CCObject *a2)
{
int v3; // eax
int m_value; // edx
int m_maximum; // ecx
int v6; // r8d
int v7; // edx
v3 = a2->getTag(a2);
m_value = a1->m_value;
m_maximum = a1->m_maximum;
v6 = m_value + 1;
v7 = m_value - 1;
if ( v3 != 1 )
v7 = v6;
if ( m_maximum >= v7 )
m_maximum = v7;
if ( a1->m_minimum > m_maximum )
m_maximum = a1->m_minimum;
a1->m_value = m_maximum;
SetIDPopup::updateTextInputLabel(a1);
}