{"type": "func", "start": 4827326, "end": 4827374, "name": "GJEffectManager::isGroupEnabled", "pseudocode": "// \n// GJEffectManager::isGroupEnabled from 0x49a8be to 0x49a8ee (48 bytes)\n// \n// 7 xrefs:\n// > PlayLayer::loadFromCheckpoint @ 0x31f602\n// > LevelEditorLayer::updateToggledGroups @ 0x367f0a\n// > LevelEditorLayer::toggleGroupPreview @ 0x36826e\n// > LevelEditorLayer::spawnGroupPreview @ 0x36e05c\n// > GJBaseGameLayer::toggleGroup @ 0x470ebe\n// > GJBaseGameLayer::spawnGroup @ 0x481738\n// > GJEffectManager::playerButton @ 0x4a00ac\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nbool GJEffectManager::isGroupEnabled(GJEffectManager *a1, int a2)\n{\n  unsigned int v2; // r1\n\n  if ( a2 > 9998 )\n    v2 = 9999;\n  else\n    v2 = a2 & ~(a2 >> 31);\n  return ((1 << (v2 & 0x1F)) & a1->m_unkVector438.m_start.m_bitptr[v2 >> 5]) != 0;\n}", "assembly": "; \n; GJEffectManager::isGroupEnabled from 0x49a8be to 0x49a8ee (48 bytes)\n; \n; 7 xrefs:\n; > PlayLayer::loadFromCheckpoint @ 0x31f602\n; > LevelEditorLayer::updateToggledGroups @ 0x367f0a\n; > LevelEditorLayer::toggleGroupPreview @ 0x36826e\n; > LevelEditorLayer::spawnGroupPreview @ 0x36e05c\n; > GJBaseGameLayer::toggleGroup @ 0x470ebe\n; > GJBaseGameLayer::spawnGroup @ 0x481738\n; > GJEffectManager::playerButton @ 0x4a00ac\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nMOVW            R3, #0x270E                                            ; +0x0, 0x49a8be\nCMP             R1, R3                                                 ; +0x4, 0x49a8c2\nLDR.W           R2, [R0,#0x2BC]                                        ; +0x6, 0x49a8c4\nMOV.W           R3, #1                                                 ; +0xa, 0x49a8c8\nITE LE                                                                 ; +0xe, 0x49a8cc\nBICLE.W         R1, R1, R1,ASR#31                                      ; +0x10, 0x49a8ce\nMOVWGT          R1, #0x270F                                            ; +0x14, 0x49a8d2\nPUSH            {R4,LR}                                                ; +0x18, 0x49a8d6\nLSRS            R4, R1, #5                                             ; +0x1a, 0x49a8d8\nAND.W           R1, R1, #0x1F                                          ; +0x1c, 0x49a8da\nLDR.W           R2, [R2,R4,LSL#2]                                      ; +0x20, 0x49a8de\nLSLS            R3, R1                                                 ; +0x24, 0x49a8e2\nTST             R3, R2                                                 ; +0x26, 0x49a8e4\nITE NE                                                                 ; +0x28, 0x49a8e6\nMOVNE           R0, #1                                                 ; +0x2a, 0x49a8e8\nMOVEQ           R0, #0                                                 ; +0x2c, 0x49a8ea\nPOP             {R4,PC}                                                ; +0x2e, 0x49a8ec", "xrefs": ["PlayLayer::loadFromCheckpoint @ 0x31f602", "LevelEditorLayer::updateToggledGroups @ 0x367f0a", "LevelEditorLayer::toggleGroupPreview @ 0x36826e", "LevelEditorLayer::spawnGroupPreview @ 0x36e05c", "GJBaseGameLayer::toggleGroup @ 0x470ebe", "GJBaseGameLayer::spawnGroup @ 0x481738", "GJEffectManager::playerButton @ 0x4a00ac"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}