//
// SetupInstantCountPopup::onTargetCountArrow from 0xa9eb84 to 0xa9ebf0 (108 bytes)
//
// 4 xrefs:
// > ??> @ 0x7ccc0
// > SetupInstantCountPopup::init @ 0xa9f324
// > SetupInstantCountPopup::init @ 0xa9f3d0
// > ??> @ 0x1543358
//
// 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 13:00:47 +0000
//
__int64 __fastcall SetupInstantCountPopup::onTargetCountArrow(SetupInstantCountPopup *this, cocos2d::CCObject *a2)
{
bool v3; // zf
int v4; // w0
v3 = (*(unsigned int (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)a2 + 64LL))(a2) == 1;
v4 = *((_DWORD *)this + 262);
if ( v3 )
*((_DWORD *)this + 262) = v4 - 1;
else
*((_DWORD *)this + 262) = v4 + 1;
SetupInstantCountPopup::updateTargetCount(this);
return SetupInstantCountPopup::updateCountTextInputLabel(this);
}