{"type": "func", "start": 6443288272, "end": 6443288458, "name": "sub_1800CC6D0", "pseudocode": "// \n// sub_1800CC6D0 from 0x1800cc6d0 to 0x1800cc78a (186 bytes)\n// \n// 3 xrefs:\n// > sub_1800CAC90 @ 0x1800cae1e\n// > sub_1800CC6D0 @ 0x1800cc767\n// > <???> @ 0x1801fe664\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_1800CC6D0(__int64 a1, _QWORD *a2)\n{\n  int v3; // r9d\n  __int64 v4; // rdx\n  _QWORD *v5; // rsi\n  _QWORD *v6; // rbx\n  __int64 result; // rax\n\n  if ( *(_QWORD *)(a1 + 16) )\n  {\n    v3 = 0;\n    if ( *(int *)(a1 + 24) > 0 )\n    {\n      v4 = 0;\n      do\n      {\n        v4 += 8;\n        ++v3;\n        *(_QWORD *)(*(_QWORD *)(v4 + *(_QWORD *)(a1 + 16) - 8) + 8LL) = *a2;\n        *(_QWORD *)(*(_QWORD *)(v4 + *(_QWORD *)(a1 + 16) - 8) + 16LL) = a2[1];\n      }\n      while ( v3 < *(_DWORD *)(a1 + 24) );\n    }\n  }\n  else\n  {\n    *(_QWORD *)(*(_QWORD *)(a1 + 96) + 8LL) = *a2;\n    *(_QWORD *)(*(_QWORD *)(a1 + 96) + 16LL) = a2[1];\n  }\n  v5 = (_QWORD *)(a1 + 400);\n  v6 = *(_QWORD **)(a1 + 400);\n  if ( v6 == (_QWORD *)(a1 + 400) )\n    return 0;\n  while ( 1 )\n  {\n    result = sub_1800CC6D0(v6[2], a2);\n    if ( (_DWORD)result )\n      break;\n    v6 = (_QWORD *)*v6;\n    if ( v6 == v5 )\n      return 0;\n  }\n  return result;\n}", "assembly": "; \n; sub_1800CC6D0 from 0x1800cc6d0 to 0x1800cc78a (186 bytes)\n; \n; 3 xrefs:\n; > sub_1800CAC90 @ 0x1800cae1e\n; > sub_1800CC6D0 @ 0x1800cc767\n; > <???> @ 0x1801fe664\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_0], rbx                                               ; +0x0, 0x1800cc6d0\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x1800cc6d5\npush    rdi                                                            ; +0xa, 0x1800cc6da\nsub     rsp, 20h                                                       ; +0xb, 0x1800cc6db\ncmp     qword ptr [rcx+10h], 0                                         ; +0xf, 0x1800cc6df\nmov     rdi, rdx                                                       ; +0x14, 0x1800cc6e4\nmov     r8, rcx                                                        ; +0x17, 0x1800cc6e7\njz      short loc_1800CC730                                            ; +0x1a, 0x1800cc6ea\nxor     r9d, r9d                                                       ; +0x1c, 0x1800cc6ec\ncmp     [rcx+18h], r9d                                                 ; +0x1f, 0x1800cc6ef\njle     short loc_1800CC747                                            ; +0x23, 0x1800cc6f3\nmov     edx, r9d                                                       ; +0x25, 0x1800cc6f5\nnop     dword ptr [rax+rax+00000000h]                                  ; +0x28, 0x1800cc6f8\nmov     rax, [r8+10h]                                                  ; +0x30, 0x1800cc700\nlea     rdx, [rdx+8]                                                   ; +0x34, 0x1800cc704\ninc     r9d                                                            ; +0x38, 0x1800cc708\nmov     rcx, [rdx+rax-8]                                               ; +0x3b, 0x1800cc70b\nmov     rax, [rdi]                                                     ; +0x40, 0x1800cc710\nmov     [rcx+8], rax                                                   ; +0x43, 0x1800cc713\nmov     rax, [r8+10h]                                                  ; +0x47, 0x1800cc717\nmov     rcx, [rdx+rax-8]                                               ; +0x4b, 0x1800cc71b\nmov     rax, [rdi+8]                                                   ; +0x50, 0x1800cc720\nmov     [rcx+10h], rax                                                 ; +0x54, 0x1800cc724\ncmp     r9d, [r8+18h]                                                  ; +0x58, 0x1800cc728\njl      short loc_1800CC700                                            ; +0x5c, 0x1800cc72c\njmp     short loc_1800CC747                                            ; +0x5e, 0x1800cc72e\nmov     rcx, [rcx+60h]                                                 ; +0x60, 0x1800cc730\nmov     rax, [rdx]                                                     ; +0x64, 0x1800cc734\nmov     [rcx+8], rax                                                   ; +0x67, 0x1800cc737\nmov     rcx, [r8+60h]                                                  ; +0x6b, 0x1800cc73b\nmov     rax, [rdx+8]                                                   ; +0x6f, 0x1800cc73f\nmov     [rcx+10h], rax                                                 ; +0x73, 0x1800cc743\nlea     rsi, [r8+190h]                                                 ; +0x77, 0x1800cc747\nmov     rbx, [rsi]                                                     ; +0x7e, 0x1800cc74e\ncmp     rbx, rsi                                                       ; +0x81, 0x1800cc751\njz      short loc_1800CC778                                            ; +0x84, 0x1800cc754\nnop     word ptr [rax+rax+00000000h]                                   ; +0x86, 0x1800cc756\nmov     rcx, [rbx+10h]                                                 ; +0x90, 0x1800cc760\nmov     rdx, rdi                                                       ; +0x94, 0x1800cc764\ncall    sub_1800CC6D0                                                  ; +0x97, 0x1800cc767\ntest    eax, eax                                                       ; +0x9c, 0x1800cc76c\njnz     short loc_1800CC77A                                            ; +0x9e, 0x1800cc76e\nmov     rbx, [rbx]                                                     ; +0xa0, 0x1800cc770\ncmp     rbx, rsi                                                       ; +0xa3, 0x1800cc773\njnz     short loc_1800CC760                                            ; +0xa6, 0x1800cc776\nxor     eax, eax                                                       ; +0xa8, 0x1800cc778\nmov     rbx, [rsp+28h+arg_0]                                           ; +0xaa, 0x1800cc77a\nmov     rsi, [rsp+28h+arg_8]                                           ; +0xaf, 0x1800cc77f\nadd     rsp, 20h                                                       ; +0xb4, 0x1800cc784\npop     rdi                                                            ; +0xb8, 0x1800cc788\nretn                                                                   ; +0xb9, 0x1800cc789", "xrefs": ["sub_1800CAC90 @ 0x1800cae1e", "sub_1800CC6D0 @ 0x1800cc767", "<???> @ 0x1801fe664"], "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"}