{"type": "func", "start": 4297977984, "end": 4297978028, "name": "GJEffectManager::wouldCreateLoop", "pseudocode": "// \n// GJEffectManager::wouldCreateLoop from 0x1002df080 to 0x1002df0ac (44 bytes)\n// \n// 0 xrefs:\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::wouldCreateLoop(GJEffectManager *a1, InheritanceNode *a2, int a3)\n{\n  int m_colorID; // ecx\n  bool result; // al\n\n  m_colorID = a2->m_colorID;\n  do\n  {\n    result = 1;\n    if ( m_colorID == a3 )\n      break;\n    a2 = a2->m_inheritanceNode;\n    if ( !a2 )\n      return 0;\n    m_colorID = a2->m_colorID;\n  }\n  while ( m_colorID != a3 );\n  return result;\n}", "assembly": "; \n; GJEffectManager::wouldCreateLoop from 0x1002df080 to 0x1002df0ac (44 bytes)\n; \n; 0 xrefs:\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, 0x1002df080\nmov     rbp, rsp                                                       ; +0x1, 0x1002df081\nmov     ecx, [rsi+38h]                                                 ; +0x4, 0x1002df084\nnop     word ptr [rax+rax+00000000h]                                   ; +0x7, 0x1002df087\nmov     al, 1                                                          ; +0x10, 0x1002df090\ncmp     ecx, edx                                                       ; +0x12, 0x1002df092\njz      short loc_1002DF0A6                                            ; +0x14, 0x1002df094\nmov     rsi, [rsi+40h]                                                 ; +0x16, 0x1002df096\ntest    rsi, rsi                                                       ; +0x1a, 0x1002df09a\njz      short loc_1002DF0A8                                            ; +0x1d, 0x1002df09d\nmov     ecx, [rsi+38h]                                                 ; +0x1f, 0x1002df09f\ncmp     ecx, edx                                                       ; +0x22, 0x1002df0a2\njnz     short loc_1002DF090                                            ; +0x24, 0x1002df0a4\npop     rbp                                                            ; +0x26, 0x1002df0a6\nretn                                                                   ; +0x27, 0x1002df0a7\nxor     eax, eax                                                       ; +0x28, 0x1002df0a8\npop     rbp                                                            ; +0x2a, 0x1002df0aa\nretn                                                                   ; +0x2b, 0x1002df0ab", "xrefs": [], "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"}