//
// SetIDPopup::onItemIDArrow from 0x5d7b28 to 0x5d7b66 (62 bytes)
//
// 0 xrefs:
//
// 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:54:09 +0000
//
int __fastcall SetIDPopup::onItemIDArrow(SetIDPopup *this, cocos2d::CCObject *a2)
{
int v3; // r0
int v4; // r1
int v5; // r3
int v6; // r3
int v7; // r2
v3 = (*(int (__fastcall **)(cocos2d::CCObject *))(*(_DWORD *)a2 + 32))(a2);
v5 = *((_DWORD *)this + 131);
if ( v3 == 1 )
v6 = v5 - 1;
else
v6 = v5 + 1;
if ( v6 >= *((_DWORD *)this + 134) )
v6 = *((_DWORD *)this + 134);
v7 = *((_DWORD *)this + 133);
if ( v6 < v7 )
*((_DWORD *)this + 131) = v7;
else
*((_DWORD *)this + 131) = v6;
return SetIDPopup::updateTextInputLabel(this, v4, v7, v6);
}