//
// SetupCountTriggerPopup::onItemIDArrow from 0x14041c290 to 0x14041c2d4 (68 bytes)
//
// 3 xrefs:
// > SetupCountTriggerPopup::init @ 0x14041b4e0
// > SetupInstantCountPopup::init @ 0x14042290b
// > ??> @ 0x1406d92fc
//
// 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::onItemIDArrow, SetupInstantCountPopup::onTargetIDArrow
__int64 __fastcall SetupCountTriggerPopup::onItemIDArrow(SetupTriggerPopup *a1, __int64 a2)
{
int v3; // eax
int v4; // edx
v3 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 56LL))(a2);
v4 = -1;
if ( v3 != 1 )
v4 = 1;
a1[1].m_uAutoReleaseCount += v4;
SetupCollisionTriggerPopup::updateItemID((__int64)a1);
SetupTriggerPopup::updateEditorLabel(a1);
return SetupCountTriggerPopup::updateItemIDInputLabel(a1);
}