//
// SetupInstantCountPopup::onTargetCountArrow from 0x1405b87a0 to 0x1405b87dc (60 bytes)
//
// 3 xrefs:
// > SetupInstantCountPopup::init @ 0x1405b8080
// > SetupInstantCountPopup::init @ 0x1405b8125
// > ??> @ 0x14092dddc
//
// This function is hookable on this platform (idp: pc, 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 11:34:44 +0000
//
__int64 __fastcall SetupInstantCountPopup::onTargetCountArrow(__int64 a1, __int64 a2)
{
int v3; // eax
int v4; // edx
v3 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 56LL))(a2);
v4 = -1;
if ( v3 != 1 )
v4 = 1;
*(_DWORD *)(a1 + 1032) += v4;
SetupInstantCountPopup::updateTargetCount(a1);
return SetupInstantCountPopup::updateCountTextInputLabel(a1);
}