{"type": "func", "start": 4298020768, "end": 4298020823, "name": "GJEffectManager::isGroupEnabled", "pseudocode": "// \n// GJEffectManager::isGroupEnabled from 0x1002e97a0 to 0x1002e97d7 (55 bytes)\n// \n// 6 xrefs:\n// > PlayLayer::loadFromCheckpoint @ 0x1000bd7c7\n// > LevelEditorLayer::spawnGroupPreview @ 0x1000eef45\n// > LevelEditorLayer::updateToggledGroups @ 0x1000efb83\n// > LevelEditorLayer::toggleGroupPreview @ 0x1000efe6d\n// > GJBaseGameLayer::spawnGroup @ 0x10012cad1\n// > GJBaseGameLayer::toggleGroup @ 0x10013caad\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 __fastcall GJEffectManager::isGroupEnabled(GJEffectManager *a1, int a2)\n{\n  int v2; // eax\n  unsigned __int64 v3; // rcx\n  __int64 v4; // rax\n\n  v2 = 0;\n  if ( a2 > 0 )\n    v2 = a2;\n  v3 = 9999;\n  if ( v2 < 9999 )\n    v3 = (unsigned int)v2;\n  v4 = *(_QWORD *)&a1->m_unkVector438.__begin_[((unsigned int)v3 >> 3) & 0x7F8];\n  return _bittest64(&v4, v3);\n}", "assembly": "; \n; GJEffectManager::isGroupEnabled from 0x1002e97a0 to 0x1002e97d7 (55 bytes)\n; \n; 6 xrefs:\n; > PlayLayer::loadFromCheckpoint @ 0x1000bd7c7\n; > LevelEditorLayer::spawnGroupPreview @ 0x1000eef45\n; > LevelEditorLayer::updateToggledGroups @ 0x1000efb83\n; > LevelEditorLayer::toggleGroupPreview @ 0x1000efe6d\n; > GJBaseGameLayer::spawnGroup @ 0x10012cad1\n; > GJBaseGameLayer::toggleGroup @ 0x10013caad\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\npush    rbp                                                            ; +0x0, 0x1002e97a0\nmov     rbp, rsp                                                       ; +0x1, 0x1002e97a1\nxor     eax, eax                                                       ; +0x4, 0x1002e97a4\ntest    esi, esi                                                       ; +0x6, 0x1002e97a6\ncmovg   eax, esi                                                       ; +0x8, 0x1002e97a8\ncmp     eax, 270Fh                                                     ; +0xb, 0x1002e97ab\nmov     ecx, 270Fh                                                     ; +0x10, 0x1002e97b0\ncmovl   ecx, eax                                                       ; +0x15, 0x1002e97b5\nmov     rax, [rdi+3E8h]                                                ; +0x18, 0x1002e97b8\nmov     edx, ecx                                                       ; +0x1f, 0x1002e97bf\nshr     edx, 3                                                         ; +0x21, 0x1002e97c1\nand     edx, 7F8h                                                      ; +0x24, 0x1002e97c4\nmov     rax, [rax+rdx]                                                 ; +0x2a, 0x1002e97ca\nbt      rax, rcx                                                       ; +0x2e, 0x1002e97ce\nsetb    al                                                             ; +0x32, 0x1002e97d2\npop     rbp                                                            ; +0x35, 0x1002e97d5\nretn                                                                   ; +0x36, 0x1002e97d6", "xrefs": ["PlayLayer::loadFromCheckpoint @ 0x1000bd7c7", "LevelEditorLayer::spawnGroupPreview @ 0x1000eef45", "LevelEditorLayer::updateToggledGroups @ 0x1000efb83", "LevelEditorLayer::toggleGroupPreview @ 0x1000efe6d", "GJBaseGameLayer::spawnGroup @ 0x10012cad1", "GJBaseGameLayer::toggleGroup @ 0x10013caad"], "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"}