//
// GJBaseGameLayer::testInstantCountTrigger from 0x1001fb5d8 to 0x1001fb698 (192 bytes)
//
// 1 xrefs:
// > CountTriggerGameObject::triggerObject @ 0x10039098c
//
// 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
//
// local variable allocation has failed, the output may be wrong!
void __fastcall GJBaseGameLayer::testInstantCountTrigger(
GJBaseGameLayer *a1,
int a2,
int a3,
int a4,
bool a5,
int a6,
std::vector *const a7,
int a8,
int a9)
{
__int64 v9; // x19
_BOOL8 v12; // x21
__int64 v13; // x22
int v16; // w0
v9 = *(_QWORD *)&a8;
v12 = a5;
v13 = *(_QWORD *)&a4;
v16 = GJEffectManager::countForItem(a1->m_effectManager, a2);
if ( !a6 )
{
if ( v16 != a3 )
return;
goto LABEL_7;
}
if ( a6 == 2 )
{
if ( v16 >= a3 )
return;
goto LABEL_7;
}
if ( a6 == 1 && v16 > a3 )
LABEL_7:
((void (__fastcall *)(GJBaseGameLayer *, __int64, _BOOL8, std::vector *const, __int64, _QWORD))a1->toggleGroupTriggered)(
a1,
v13,
v12,
a7,
v9,
(unsigned int)a9);
}