//
// GJEffectManager::isGroupEnabled from 0x1002e97a0 to 0x1002e97d7 (55 bytes)
//
// 6 xrefs:
// > PlayLayer::loadFromCheckpoint @ 0x1000bd7c7
// > LevelEditorLayer::spawnGroupPreview @ 0x1000eef45
// > LevelEditorLayer::updateToggledGroups @ 0x1000efb83
// > LevelEditorLayer::toggleGroupPreview @ 0x1000efe6d
// > GJBaseGameLayer::spawnGroup @ 0x10012cad1
// > GJBaseGameLayer::toggleGroup @ 0x10013caad
//
// 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
//
bool __fastcall GJEffectManager::isGroupEnabled(GJEffectManager *a1, int a2)
{
int v2; // eax
unsigned __int64 v3; // rcx
__int64 v4; // rax
v2 = 0;
if ( a2 > 0 )
v2 = a2;
v3 = 9999;
if ( v2 < 9999 )
v3 = (unsigned int)v2;
v4 = *(_QWORD *)&a1->m_unkVector438.__begin_[((unsigned int)v3 >> 3) & 0x7F8];
return _bittest64(&v4, v3);
}