{"type": "func", "start": 9060936, "end": 9060972, "name": "GJEffectManager::wouldCreateLoop", "pseudocode": "// \n// GJEffectManager::wouldCreateLoop from 0x8a4248 to 0x8a426c (36 bytes)\n// \n// 3 xrefs:\n// > GJEffectManager::wouldCreateLoop @ 0x8a4258\n// > GJEffectManager::processInheritedColors @ 0x8c0f68\n// > <???> @ 0x31fe0\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::wouldCreateLoop(GJEffectManager *a1, InheritanceNode *a2, int a3)\n{\n  while ( a2->m_colorID != a3 )\n  {\n    a2 = a2->m_inheritanceNode;\n    if ( !a2 )\n      return 0;\n  }\n  return 1;\n}", "assembly": "; \n; GJEffectManager::wouldCreateLoop from 0x8a4248 to 0x8a426c (36 bytes)\n; \n; 3 xrefs:\n; > GJEffectManager::wouldCreateLoop @ 0x8a4258\n; > GJEffectManager::processInheritedColors @ 0x8c0f68\n; > <???> @ 0x31fe0\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\nLDR             W0, [X1,#0x38]                                         ; +0x0, 0x8a4248\nCMP             W0, W2                                                 ; +0x4, 0x8a424c\nB.EQ            loc_8A4264                                             ; +0x8, 0x8a4250\nLDR             X1, [X1,#0x40]                                         ; +0xc, 0x8a4254\nCBNZ            X1, _ZN15GJEffectManager15wouldCreateLoopEP15InheritanceNodei; GJEffectManager::wouldCreateLoop(InheritanceNode *,int) ; +0x10, 0x8a4258\nMOV             W0, #0                                                 ; +0x14, 0x8a425c\nRET                                                                    ; +0x18, 0x8a4260\nMOV             W0, #1                                                 ; +0x1c, 0x8a4264\nRET                                                                    ; +0x20, 0x8a4268", "xrefs": ["GJEffectManager::wouldCreateLoop @ 0x8a4258", "GJEffectManager::processInheritedColors @ 0x8c0f68", "<???> @ 0x31fe0"], "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"}