{"type": "func", "start": 6443252592, "end": 6443252661, "name": "sub_1800C3B70", "pseudocode": "// \n// sub_1800C3B70 from 0x1800c3b70 to 0x1800c3bb5 (69 bytes)\n// \n// 2 xrefs:\n// > sub_1800C3960 @ 0x1800c399e\n// > <???> @ 0x1801fddd0\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:04 +0000\n// \n\n__int64 __fastcall sub_1800C3B70(__int64 a1, _DWORD *a2)\n{\n  __int64 v2; // rbx\n  __int64 result; // rax\n\n  v2 = a1 - 8;\n  if ( !a1 )\n    v2 = 0;\n  result = sub_1800C36A0(v2);\n  if ( !(_DWORD)result )\n  {\n    *a2 = *(_DWORD *)(v2 + 1048);\n    return 0;\n  }\n  return result;\n}", "assembly": "; \n; sub_1800C3B70 from 0x1800c3b70 to 0x1800c3bb5 (69 bytes)\n; \n; 2 xrefs:\n; > sub_1800C3960 @ 0x1800c399e\n; > <???> @ 0x1801fddd0\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:04 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1800c3b70\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x1800c3b75\npush    rdi                                                            ; +0xa, 0x1800c3b7a\nsub     rsp, 20h                                                       ; +0xb, 0x1800c3b7b\nlea     rbx, [rcx-8]                                                   ; +0xf, 0x1800c3b7f\nxor     esi, esi                                                       ; +0x13, 0x1800c3b83\ntest    rcx, rcx                                                       ; +0x15, 0x1800c3b85\nmov     rdi, rdx                                                       ; +0x18, 0x1800c3b88\ncmovz   rbx, rsi                                                       ; +0x1b, 0x1800c3b8b\nmov     rcx, rbx                                                       ; +0x1f, 0x1800c3b8f\ncall    sub_1800C36A0                                                  ; +0x22, 0x1800c3b92\ntest    eax, eax                                                       ; +0x27, 0x1800c3b97\njnz     short loc_1800C3BA5                                            ; +0x29, 0x1800c3b99\nmov     ecx, [rbx+418h]                                                ; +0x2b, 0x1800c3b9b\nmov     eax, esi                                                       ; +0x31, 0x1800c3ba1\nmov     [rdi], ecx                                                     ; +0x33, 0x1800c3ba3\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x35, 0x1800c3ba5\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x3a, 0x1800c3baa\nadd     rsp, 20h                                                       ; +0x3f, 0x1800c3baf\npop     rdi                                                            ; +0x43, 0x1800c3bb3\nretn                                                                   ; +0x44, 0x1800c3bb4", "xrefs": ["sub_1800C3960 @ 0x1800c399e", "<???> @ 0x1801fddd0"], "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"}