//
// GJEffectManager::isGroupEnabled from 0x8a537c to 0x8a53d4 (88 bytes)
//
// 8 xrefs:
// > PlayLayer::loadFromCheckpoint @ 0x5e4e1c
// > LevelEditorLayer::updateToggledGroups @ 0x660258
// > LevelEditorLayer::toggleGroupPreview @ 0x6606a4
// > LevelEditorLayer::spawnGroupPreview @ 0x66d838
// > GJBaseGameLayer::toggleGroup @ 0x85d4b4
// > GJBaseGameLayer::spawnGroup @ 0x874964
// > GJEffectManager::playerButton @ 0x8b7584
// > ??> @ 0x400f8
//
// 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)
{
std::uintptr_t *m_bitptr; // x0
if ( a2 > 9998 )
return (a1->m_unkVector438.m_start.m_bitptr[156] & 0x8000) != 0;
m_bitptr = a1->m_unkVector438.m_start.m_bitptr;
if ( a2 < 0 )
a2 = 0;
return ((1LL << (a2 & 0x3F)) & *(std::uintptr_t *)((char *)m_bitptr + (((__int64)a2 >> 3) & 0x1FFFFFFFFFFFFFF8LL))) != 0;
}