//
// GJEffectManager::isGroupEnabled from 0x1002d4250 to 0x1002d4287 (55 bytes)
//
// 6 xrefs:
// > PlayLayer::loadFromCheckpoint @ 0x10008b426
// > LevelEditorLayer::spawnGroupPreview @ 0x1000c26d5
// > LevelEditorLayer::updateToggledGroups @ 0x1000c32b3
// > LevelEditorLayer::toggleGroupPreview @ 0x1000c359d
// > GJBaseGameLayer::spawnGroup @ 0x10010a4ff
// > GJBaseGameLayer::toggleGroup @ 0x100119f5d
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:28:14 +0000
//
unsigned __int8 __fastcall GJEffectManager::isGroupEnabled(__int64 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 *)(*(_QWORD *)(a1 + 1008) + (((unsigned int)v3 >> 3) & 0x7F8));
return _bittest64(&v4, v3);
}