//
// GJEffectManager::isGroupEnabled from 0x49a8be to 0x49a8ee (48 bytes)
//
// 7 xrefs:
// > PlayLayer::loadFromCheckpoint @ 0x31f602
// > LevelEditorLayer::updateToggledGroups @ 0x367f0a
// > LevelEditorLayer::toggleGroupPreview @ 0x36826e
// > LevelEditorLayer::spawnGroupPreview @ 0x36e05c
// > GJBaseGameLayer::toggleGroup @ 0x470ebe
// > GJBaseGameLayer::spawnGroup @ 0x481738
// > GJEffectManager::playerButton @ 0x4a00ac
//
// 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 GJEffectManager::isGroupEnabled(GJEffectManager *a1, int a2)
{
unsigned int v2; // r1
if ( a2 > 9998 )
v2 = 9999;
else
v2 = a2 & ~(a2 >> 31);
return ((1 << (v2 & 0x1F)) & a1->m_unkVector438.m_start.m_bitptr[v2 >> 5]) != 0;
}