//
// SetIDPopup::onItemIDArrow from 0x1002de600 to 0x1002de65c (92 bytes)
//
// 2 xrefs:
// > SetIDPopup::init @ 0x1002de2e0
// > SetIDPopup::init @ 0x1002de3ac
//
// 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 SetIDPopup::onItemIDArrow(SetIDPopup *a1, cocos2d::CCObject *a2)
{
int v3; // w0
int m_value; // w8
int m_maximum; // w8
v3 = ((__int64 (__fastcall *)(cocos2d::CCObject *))a2->getTag)(a2);
m_value = a1->m_value;
if ( v3 == 1 )
m_maximum = m_value - 1;
else
m_maximum = m_value + 1;
if ( a1->m_maximum < m_maximum )
m_maximum = a1->m_maximum;
if ( a1->m_minimum > m_maximum )
m_maximum = a1->m_minimum;
a1->m_value = m_maximum;
SetIDPopup::updateTextInputLabel(a1);
}