//
// GJEffectManager::isGroupEnabled from 0x5c3f0a to 0x5c3f38 (46 bytes)
//
// 7 xrefs:
// > PlayLayer::loadFromCheckpoint @ 0x411aec
// > LevelEditorLayer::updateToggledGroups @ 0x461c8c
// > LevelEditorLayer::toggleGroupPreview @ 0x461f4a
// > LevelEditorLayer::spawnGroupPreview @ 0x467d1c
// > GJBaseGameLayer::toggleGroup @ 0x590926
// > GJBaseGameLayer::spawnGroup @ 0x5a4546
// > GJEffectManager::playerButton @ 0x5cf27c
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:53:51 +0000
//
bool __fastcall GJEffectManager::isGroupEnabled(GJEffectManager *this, int a2)
{
unsigned int v2; // r1
if ( a2 > 9998 )
v2 = 9999;
else
v2 = a2 & ~(a2 >> 31);
return ((1 << (v2 & 0x1F)) & *(_DWORD *)(*((_DWORD *)this + 152) + 4 * (v2 >> 5))) != 0;
}