//
// GJEffectManager::isGroupEnabled from 0x100014c30 to 0x100014c5c (44 bytes)
//
// 6 xrefs:
// > PlayLayer::loadFromCheckpoint @ 0x100121324
// > GJBaseGameLayer::spawnGroup @ 0x1001ec160
// > GJBaseGameLayer::toggleGroup @ 0x1001f20c8
// > LevelEditorLayer::spawnGroupPreview @ 0x100360af8
// > LevelEditorLayer::updateToggledGroups @ 0x1003612f4
// > LevelEditorLayer::toggleGroupPreview @ 0x1003615d8
//
// 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)
{
unsigned __int64 v2; // x8
LODWORD(v2) = a2 & ~(a2 >> 31);
if ( (int)v2 >= 9999 )
v2 = 9999;
else
v2 = (unsigned int)v2;
return (*(_QWORD *)&a1->m_unkVector438.__begin_[(v2 >> 3) & 0x7F8] >> v2) & 1LL;
}