{"type": "func", "start": 6443269744, "end": 6443269881, "name": "sub_1800C7E70", "pseudocode": "// \n// sub_1800C7E70 from 0x1800c7e70 to 0x1800c7ef9 (137 bytes)\n// \n// 2 xrefs:\n// > sub_1800C9120 @ 0x1800c91a3\n// > <???> @ 0x1801fe154\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 10:54:06 +0000\n// \n\n__int64 __fastcall sub_1800C7E70(__int64 a1, __int64 a2, int a3)\n{\n  __int64 result; // rax\n  __int64 v5; // rcx\n  __int64 v6; // rdi\n  __int64 v7; // [rsp+48h] [rbp+10h] BYREF\n\n  if ( !a2 )\n    return 31;\n  v5 = *(_QWORD *)(*(_QWORD *)(a1 + 8) + 24LL * a3 + 73784);\n  if ( v5 )\n  {\n    v6 = 8LL * a3 + 336;\n    v7 = *(_QWORD *)(v6 + *(_QWORD *)(a1 + 24));\n    if ( !v7 )\n    {\n      result = sub_1800923A0(v5, a2, &v7, 2, 0, nullptr);\n      if ( (_DWORD)result )\n        return result;\n      *(_QWORD *)(v6 + *(_QWORD *)(a1 + 24)) = v7;\n    }\n  }\n  return 0;\n}", "assembly": "; \n; sub_1800C7E70 from 0x1800c7e70 to 0x1800c7ef9 (137 bytes)\n; \n; 2 xrefs:\n; > sub_1800C9120 @ 0x1800c91a3\n; > <???> @ 0x1801fe154\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 10:54:06 +0000\n; \npush    rbx                                                            ; +0x0, 0x1800c7e70\nsub     rsp, 30h                                                       ; +0x2, 0x1800c7e72\nmov     r10, rdx                                                       ; +0x6, 0x1800c7e76\nmov     rbx, rcx                                                       ; +0x9, 0x1800c7e79\ntest    rdx, rdx                                                       ; +0xc, 0x1800c7e7c\njnz     short loc_1800C7E8A                                            ; +0xf, 0x1800c7e7f\nlea     eax, [rdx+1Fh]                                                 ; +0x11, 0x1800c7e81\nadd     rsp, 30h                                                       ; +0x14, 0x1800c7e84\npop     rbx                                                            ; +0x18, 0x1800c7e88\nretn                                                                   ; +0x19, 0x1800c7e89\nmov     rax, [rbx+8]                                                   ; +0x1a, 0x1800c7e8a\nmovsxd  rdx, r8d                                                       ; +0x1e, 0x1800c7e8e\nmov     [rsp+38h+arg_0], rdi                                           ; +0x21, 0x1800c7e91\nlea     rcx, [rdx+rdx*2]                                               ; +0x26, 0x1800c7e96\nmov     rcx, [rax+rcx*8+12038h]                                        ; +0x2a, 0x1800c7e9a\ntest    rcx, rcx                                                       ; +0x32, 0x1800c7ea2\njz      short loc_1800C7EEC                                            ; +0x35, 0x1800c7ea5\nmov     rax, [rbx+18h]                                                 ; +0x37, 0x1800c7ea7\nlea     rdi, ds:150h[rdx*8]                                            ; +0x3b, 0x1800c7eab\nmov     rdx, [rdi+rax]                                                 ; +0x43, 0x1800c7eb3\nmov     [rsp+38h+arg_8], rdx                                           ; +0x47, 0x1800c7eb7\ntest    rdx, rdx                                                       ; +0x4c, 0x1800c7ebc\njnz     short loc_1800C7EEC                                            ; +0x4f, 0x1800c7ebf\nmov     [rsp+38h+var_10], rdx                                          ; +0x51, 0x1800c7ec1\nlea     r9d, [rdx+2]                                                   ; +0x56, 0x1800c7ec6\nmov     [rsp+38h+var_18], dl                                           ; +0x5a, 0x1800c7eca\nlea     r8, [rsp+38h+arg_8]                                            ; +0x5e, 0x1800c7ece\nmov     rdx, r10                                                       ; +0x63, 0x1800c7ed3\ncall    sub_1800923A0                                                  ; +0x66, 0x1800c7ed6\ntest    eax, eax                                                       ; +0x6b, 0x1800c7edb\njnz     short loc_1800C7EEE                                            ; +0x6d, 0x1800c7edd\nmov     rcx, [rbx+18h]                                                 ; +0x6f, 0x1800c7edf\nmov     rax, [rsp+38h+arg_8]                                           ; +0x73, 0x1800c7ee3\nmov     [rdi+rcx], rax                                                 ; +0x78, 0x1800c7ee8\nxor     eax, eax                                                       ; +0x7c, 0x1800c7eec\nmov     rdi, [rsp+38h+arg_0]                                           ; +0x7e, 0x1800c7eee\nadd     rsp, 30h                                                       ; +0x83, 0x1800c7ef3\npop     rbx                                                            ; +0x87, 0x1800c7ef7\nretn                                                                   ; +0x88, 0x1800c7ef8", "xrefs": ["sub_1800C9120 @ 0x1800c91a3", "<???> @ 0x1801fe154"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}