{"type": "func", "start": 6443289120, "end": 6443289209, "name": "sub_1800CCA20", "pseudocode": "// \n// sub_1800CCA20 from 0x1800cca20 to 0x1800cca79 (89 bytes)\n// \n// 5 xrefs:\n// > sub_1800CCA20 @ 0x1800cca56\n// > sub_1800FD380 @ 0x1800fd407\n// > <???> @ 0x18018b4d8\n// > <???> @ 0x18018b4e8\n// > <???> @ 0x1801fe6ac\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\n__int64 __fastcall sub_1800CCA20(_QWORD *a1, unsigned int a2)\n{\n  __int64 result; // rax\n  _QWORD *v5; // rdi\n  _QWORD *v6; // rbx\n\n  result = (*(__int64 (__fastcall **)(_QWORD *))(*a1 + 120LL))(a1);\n  if ( !(_DWORD)result )\n  {\n    v5 = a1 + 50;\n    v6 = (_QWORD *)*v5;\n    if ( (_QWORD *)*v5 == v5 )\n    {\n      return 0;\n    }\n    else\n    {\n      while ( 1 )\n      {\n        result = sub_1800CCA20(v6[2], a2);\n        if ( (_DWORD)result )\n          break;\n        v6 = (_QWORD *)*v6;\n        if ( v6 == v5 )\n          return 0;\n      }\n    }\n  }\n  return result;\n}", "assembly": "; \n; sub_1800CCA20 from 0x1800cca20 to 0x1800cca79 (89 bytes)\n; \n; 5 xrefs:\n; > sub_1800CCA20 @ 0x1800cca56\n; > sub_1800FD380 @ 0x1800fd407\n; > <???> @ 0x18018b4d8\n; > <???> @ 0x18018b4e8\n; > <???> @ 0x1801fe6ac\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\nmov     [rsp+arg_8], rsi                                               ; +0x0, 0x1800cca20\npush    rdi                                                            ; +0x5, 0x1800cca25\nsub     rsp, 20h                                                       ; +0x6, 0x1800cca26\nmov     rax, [rcx]                                                     ; +0xa, 0x1800cca2a\nmov     esi, edx                                                       ; +0xd, 0x1800cca2d\nmov     rdi, rcx                                                       ; +0xf, 0x1800cca2f\ncall    qword ptr [rax+78h]                                            ; +0x12, 0x1800cca32\ntest    eax, eax                                                       ; +0x15, 0x1800cca35\njnz     short loc_1800CCA6E                                            ; +0x17, 0x1800cca37\nadd     rdi, 190h                                                      ; +0x19, 0x1800cca39\nmov     [rsp+28h+arg_0], rbx                                           ; +0x20, 0x1800cca40\nmov     rbx, [rdi]                                                     ; +0x25, 0x1800cca45\ncmp     rbx, rdi                                                       ; +0x28, 0x1800cca48\njz      short loc_1800CCA67                                            ; +0x2b, 0x1800cca4b\nnop     dword ptr [rax]                                                ; +0x2d, 0x1800cca4d\nmov     rcx, [rbx+10h]                                                 ; +0x30, 0x1800cca50\nmov     edx, esi                                                       ; +0x34, 0x1800cca54\ncall    sub_1800CCA20                                                  ; +0x36, 0x1800cca56\ntest    eax, eax                                                       ; +0x3b, 0x1800cca5b\njnz     short loc_1800CCA69                                            ; +0x3d, 0x1800cca5d\nmov     rbx, [rbx]                                                     ; +0x3f, 0x1800cca5f\ncmp     rbx, rdi                                                       ; +0x42, 0x1800cca62\njnz     short loc_1800CCA50                                            ; +0x45, 0x1800cca65\nxor     eax, eax                                                       ; +0x47, 0x1800cca67\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x49, 0x1800cca69\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x4e, 0x1800cca6e\nadd     rsp, 20h                                                       ; +0x53, 0x1800cca73\npop     rdi                                                            ; +0x57, 0x1800cca77\nretn                                                                   ; +0x58, 0x1800cca78", "xrefs": ["sub_1800CCA20 @ 0x1800cca56", "sub_1800FD380 @ 0x1800fd407", "<???> @ 0x18018b4d8", "<???> @ 0x18018b4e8", "<???> @ 0x1801fe6ac"], "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"}