//
// SetIDPopup::onItemIDArrow from 0xa201ac to 0xa20210 (100 bytes)
//
// 4 xrefs:
// > ??> @ 0x8e3a8
// > SetIDPopup::init @ 0xa2a048
// > SetIDPopup::init @ 0xa2a0f8
// > ??> @ 0x1543c48
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 12:59:39 +0000
//
__int64 __fastcall SetIDPopup::onItemIDArrow(SetIDPopup *this, cocos2d::CCObject *a2)
{
int v3; // w0
int v4; // w2
int v5; // w2
int v6; // w1
v3 = (*(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)a2 + 64LL))(a2);
v4 = *((_DWORD *)this + 168);
if ( v3 == 1 )
v5 = v4 - 1;
else
v5 = v4 + 1;
v6 = *((_DWORD *)this + 171);
if ( v5 <= v6 )
v6 = v5;
if ( v6 < *((_DWORD *)this + 170) )
v6 = *((_DWORD *)this + 170);
*((_DWORD *)this + 168) = v6;
return SetIDPopup::updateTextInputLabel(this);
}