{"type": "func", "start": 6442911936, "end": 6442912027, "name": "sub_1800708C0", "pseudocode": "// \n// sub_1800708C0 from 0x1800708c0 to 0x18007091b (91 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1801ad130\n// > <???> @ 0x1801f9924\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_1800708C0(__int64 *a1, int a2, _DWORD *a3, __int64 a4)\n{\n  __int64 v6; // rcx\n  const char *v7; // r9\n\n  if ( a2 != 3 )\n    return 31;\n  v6 = *a1;\n  *a3 = *(_DWORD *)(v6 + 692);\n  if ( a4 )\n  {\n    v7 = \"Independent\";\n    if ( *(_DWORD *)(v6 + 692) )\n      v7 = \"Linked\";\n    sub_1800B7CA0(a4, 32, \"%s\", v7);\n  }\n  return 0;\n}", "assembly": "; \n; sub_1800708C0 from 0x1800708c0 to 0x18007091b (91 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1801ad130\n; > <???> @ 0x1801f9924\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\nsub     rsp, 28h                                                       ; +0x0, 0x1800708c0\nmov     r10, r9                                                        ; +0x4, 0x1800708c4\ncmp     edx, 3                                                         ; +0x7, 0x1800708c7\njz      short loc_1800708D6                                            ; +0xa, 0x1800708ca\nmov     eax, 1Fh                                                       ; +0xc, 0x1800708cc\nadd     rsp, 28h                                                       ; +0x11, 0x1800708d1\nretn                                                                   ; +0x15, 0x1800708d5\nmov     rcx, [rcx]                                                     ; +0x16, 0x1800708d6\nmov     eax, [rcx+2B4h]                                                ; +0x19, 0x1800708d9\nmov     [r8], eax                                                      ; +0x1f, 0x1800708df\ntest    r10, r10                                                       ; +0x22, 0x1800708e2\njz      short loc_180070914                                            ; +0x25, 0x1800708e5\ncmp     dword ptr [rcx+2B4h], 0                                        ; +0x27, 0x1800708e7\nlea     rax, aLinked; \"Linked\"                                         ; +0x2e, 0x1800708ee\nlea     r9, aIndependent; \"Independent\"                                ; +0x35, 0x1800708f5\nmov     edx, 20h ; ' '                                                 ; +0x3c, 0x1800708fc\ncmovnz  r9, rax                                                        ; +0x41, 0x180070901\nlea     r8, aS; \"%s\"                                                   ; +0x45, 0x180070905\nmov     rcx, r10                                                       ; +0x4c, 0x18007090c\ncall    sub_1800B7CA0                                                  ; +0x4f, 0x18007090f\nxor     eax, eax                                                       ; +0x54, 0x180070914\nadd     rsp, 28h                                                       ; +0x56, 0x180070916\nretn                                                                   ; +0x5a, 0x18007091a", "xrefs": ["<???> @ 0x1801ad130", "<???> @ 0x1801f9924"], "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"}