{"type": "func", "start": 4297933392, "end": 4297933447, "name": "GJEffectManager::isGroupEnabled", "pseudocode": "// \n// GJEffectManager::isGroupEnabled from 0x1002d4250 to 0x1002d4287 (55 bytes)\n// \n// 6 xrefs:\n// > PlayLayer::loadFromCheckpoint @ 0x10008b426\n// > LevelEditorLayer::spawnGroupPreview @ 0x1000c26d5\n// > LevelEditorLayer::updateToggledGroups @ 0x1000c32b3\n// > LevelEditorLayer::toggleGroupPreview @ 0x1000c359d\n// > GJBaseGameLayer::spawnGroup @ 0x10010a4ff\n// > GJBaseGameLayer::toggleGroup @ 0x100119f5d\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:28:14 +0000\n// \n\nunsigned __int8 __fastcall GJEffectManager::isGroupEnabled(__int64 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 *)(*(_QWORD *)(a1 + 1008) + (((unsigned int)v3 >> 3) & 0x7F8));\n  return _bittest64(&v4, v3);\n}", "assembly": "; \n; GJEffectManager::isGroupEnabled from 0x1002d4250 to 0x1002d4287 (55 bytes)\n; \n; 6 xrefs:\n; > PlayLayer::loadFromCheckpoint @ 0x10008b426\n; > LevelEditorLayer::spawnGroupPreview @ 0x1000c26d5\n; > LevelEditorLayer::updateToggledGroups @ 0x1000c32b3\n; > LevelEditorLayer::toggleGroupPreview @ 0x1000c359d\n; > GJBaseGameLayer::spawnGroup @ 0x10010a4ff\n; > GJBaseGameLayer::toggleGroup @ 0x100119f5d\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:28:14 +0000\n; \npush    rbp                                                            ; +0x0, 0x1002d4250\nmov     rbp, rsp                                                       ; +0x1, 0x1002d4251\nxor     eax, eax                                                       ; +0x4, 0x1002d4254\ntest    esi, esi                                                       ; +0x6, 0x1002d4256\ncmovg   eax, esi                                                       ; +0x8, 0x1002d4258\ncmp     eax, 270Fh                                                     ; +0xb, 0x1002d425b\nmov     ecx, 270Fh                                                     ; +0x10, 0x1002d4260\ncmovl   ecx, eax                                                       ; +0x15, 0x1002d4265\nmov     rax, [rdi+3F0h]                                                ; +0x18, 0x1002d4268\nmov     edx, ecx                                                       ; +0x1f, 0x1002d426f\nshr     edx, 3                                                         ; +0x21, 0x1002d4271\nand     edx, 7F8h                                                      ; +0x24, 0x1002d4274\nmov     rax, [rax+rdx]                                                 ; +0x2a, 0x1002d427a\nbt      rax, rcx                                                       ; +0x2e, 0x1002d427e\nsetb    al                                                             ; +0x32, 0x1002d4282\npop     rbp                                                            ; +0x35, 0x1002d4285\nretn                                                                   ; +0x36, 0x1002d4286", "xrefs": ["PlayLayer::loadFromCheckpoint @ 0x10008b426", "LevelEditorLayer::spawnGroupPreview @ 0x1000c26d5", "LevelEditorLayer::updateToggledGroups @ 0x1000c32b3", "LevelEditorLayer::toggleGroupPreview @ 0x1000c359d", "GJBaseGameLayer::spawnGroup @ 0x10010a4ff", "GJBaseGameLayer::toggleGroup @ 0x100119f5d"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}