//
// SetupCountTriggerPopup::onTargetCountArrow from 0x14041c250 to 0x14041c28c (60 bytes)
//
// 3 xrefs:
// > SetupCountTriggerPopup::init @ 0x14041b5f6
// > SetupInstantCountPopup::init @ 0x140422a19
// > ??> @ 0x1406d92f0
//
// 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
//
// Merged with: SetupCountTriggerPopup::onTargetCountArrow, SetupInstantCountPopup::onTargetCountArrow
void __fastcall SetupCountTriggerPopup::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 + 968) += v4;
SetupCountTriggerPopup::updateTargetCount(a1);
SetupCollisionTriggerPopup::updateTargetIDInputLabel(a1);
}