//
// GJEffectManager::isGroupEnabled from 0x9fa7b0 to 0x9fa808 (88 bytes)
//
// 8 xrefs:
// > PlayLayer::loadFromCheckpoint @ 0x70f8f0
// > LevelEditorLayer::updateToggledGroups @ 0x78c874
// > LevelEditorLayer::toggleGroupPreview @ 0x78ccdc
// > LevelEditorLayer::spawnGroupPreview @ 0x795c98
// > GJBaseGameLayer::toggleGroup @ 0x9a07f0
// > GJBaseGameLayer::spawnGroup @ 0x9c10ac
// > GJEffectManager::playerButton @ 0xa124e4
// > ??> @ 0x5c1a0
//
// This function is hookable on this platform (idp: arm, 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:59:16 +0000
//
bool __fastcall GJEffectManager::isGroupEnabled(GJEffectManager *this, int a2)
{
__int64 v2; // x0
if ( a2 > 9998 )
return (*(_QWORD *)(*((_QWORD *)this + 126) + 1248LL) & 0x8000LL) != 0;
v2 = *((_QWORD *)this + 126);
if ( a2 < 0 )
a2 = 0;
return ((1LL << (a2 & 0x3F)) & *(_QWORD *)(v2 + (((__int64)a2 >> 3) & 0x1FFFFFFFFFFFFFF8LL))) != 0;
}