//
// GJBaseGameLayer::testInstantCountTrigger from 0x476066 to 0x4760d2 (108 bytes)
//
// 1 xrefs:
// > CountTriggerGameObject::triggerObject @ 0x3ee930
//
// 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 GJBaseGameLayer::testInstantCountTrigger(
GJBaseGameLayer *a1,
int a2,
int a3,
int a4,
bool a5,
int a6,
std::vector *const a7,
int a8,
int a9)
{
int v12; // r0
_BOOL4 v13; // r0
v12 = GJEffectManager::countForItem(a1->m_effectManager, a2);
if ( a6 == 1 )
{
v13 = v12 > a3;
}
else if ( a6 == 2 )
{
v13 = v12 < a3;
}
else
{
if ( a6 )
return;
v13 = v12 == a3;
}
if ( v13 )
a1->toggleGroupTriggered(a1, a4, a5, a7, a8, a9);
}