{"type": "func", "start": 5371182048, "end": 5371182075, "name": "GJEffectManager::wouldCreateLoop", "pseudocode": "// \n// GJEffectManager::wouldCreateLoop from 0x14025bbe0 to 0x14025bbfb (27 bytes)\n// \n// 1 xrefs:\n// > GJEffectManager::processInheritedColors @ 0x14025b723\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  if ( a2->m_colorID == a3 )\n    return 1;\n  while ( 1 )\n  {\n    a2 = a2->m_inheritanceNode;\n    if ( !a2 )\n      break;\n    if ( a2->m_colorID == a3 )\n      return 1;\n  }\n  return 0;\n}", "assembly": "; \n; GJEffectManager::wouldCreateLoop from 0x14025bbe0 to 0x14025bbfb (27 bytes)\n; \n; 1 xrefs:\n; > GJEffectManager::processInheritedColors @ 0x14025b723\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\ncmp     [rdx+38h], r8d                                                 ; +0x0, 0x14025bbe0\njz      short loc_14025BBF5                                            ; +0x4, 0x14025bbe4\nmov     rdx, [rdx+40h]                                                 ; +0x6, 0x14025bbe6\ntest    rdx, rdx                                                       ; +0xa, 0x14025bbea\njz      short loc_14025BBF8                                            ; +0xd, 0x14025bbed\ncmp     [rdx+38h], r8d                                                 ; +0xf, 0x14025bbef\njnz     short loc_14025BBE6                                            ; +0x13, 0x14025bbf3\nmov     al, 1                                                          ; +0x15, 0x14025bbf5\nretn                                                                   ; +0x17, 0x14025bbf7\nxor     al, al                                                         ; +0x18, 0x14025bbf8\nretn                                                                   ; +0x1a, 0x14025bbfa", "xrefs": ["GJEffectManager::processInheritedColors @ 0x14025b723"], "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"}