//
// GJBaseGameLayer::testInstantCountTrigger from 0x10014ba70 to 0x10014bb0b (155 bytes)
//
// 1 xrefs:
// > CountTriggerGameObject::triggerObject @ 0x1001d6d65
//
// 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
//
void __fastcall GJBaseGameLayer::testInstantCountTrigger(
GJBaseGameLayer *a1,
int a2,
int a3,
int a4,
bool a5,
int a6,
std::vector *const a7,
int a8,
int a9)
{
int v11; // eax
v11 = GJEffectManager::countForItem(a1->m_effectManager, a2);
if ( !a6 )
{
if ( v11 != a3 )
return;
goto LABEL_7;
}
if ( a6 == 2 )
{
if ( v11 >= a3 )
return;
goto LABEL_7;
}
if ( a6 == 1 && v11 > a3 )
LABEL_7:
((void (__fastcall *)(GJBaseGameLayer *, _QWORD, bool, std::vector *const, _QWORD, _QWORD))a1->toggleGroupTriggered)(
a1,
(unsigned int)a4,
a5,
a7,
(unsigned int)a8,
(unsigned int)a9);
}