{"type": "func", "start": 6443246432, "end": 6443246506, "name": "sub_1800C2360", "pseudocode": "// \n// sub_1800C2360 from 0x1800c2360 to 0x1800c23aa (74 bytes)\n// \n// 2 xrefs:\n// > sub_1800C2180 @ 0x1800c21cc\n// > <???> @ 0x1801fdc80\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:03 +0000\n// \n\n__int64 __fastcall sub_1800C2360(__int64 a1, _DWORD *a2)\n{\n  __int64 v2; // rdi\n  __int64 result; // rax\n\n  v2 = a1 - 8;\n  if ( !a1 )\n    v2 = 0;\n  result = sub_1800C1C80(v2);\n  if ( !(_DWORD)result )\n  {\n    if ( a2 )\n      *a2 = *(_DWORD *)(v2 + 1132);\n    return 0;\n  }\n  return result;\n}", "assembly": "; \n; sub_1800C2360 from 0x1800c2360 to 0x1800c23aa (74 bytes)\n; \n; 2 xrefs:\n; > sub_1800C2180 @ 0x1800c21cc\n; > <???> @ 0x1801fdc80\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:03 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1800c2360\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x1800c2365\npush    rdi                                                            ; +0xa, 0x1800c236a\nsub     rsp, 20h                                                       ; +0xb, 0x1800c236b\nlea     rdi, [rcx-8]                                                   ; +0xf, 0x1800c236f\nxor     esi, esi                                                       ; +0x13, 0x1800c2373\ntest    rcx, rcx                                                       ; +0x15, 0x1800c2375\nmov     rbx, rdx                                                       ; +0x18, 0x1800c2378\ncmovz   rdi, rsi                                                       ; +0x1b, 0x1800c237b\nmov     rcx, rdi                                                       ; +0x1f, 0x1800c237f\ncall    sub_1800C1C80                                                  ; +0x22, 0x1800c2382\ntest    eax, eax                                                       ; +0x27, 0x1800c2387\njnz     short loc_1800C239A                                            ; +0x29, 0x1800c2389\ntest    rbx, rbx                                                       ; +0x2b, 0x1800c238b\njz      short loc_1800C2398                                            ; +0x2e, 0x1800c238e\nmov     ecx, [rdi+46Ch]                                                ; +0x30, 0x1800c2390\nmov     [rbx], ecx                                                     ; +0x36, 0x1800c2396\nmov     eax, esi                                                       ; +0x38, 0x1800c2398\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x3a, 0x1800c239a\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x3f, 0x1800c239f\nadd     rsp, 20h                                                       ; +0x44, 0x1800c23a4\npop     rdi                                                            ; +0x48, 0x1800c23a8\nretn                                                                   ; +0x49, 0x1800c23a9", "xrefs": ["sub_1800C2180 @ 0x1800c21cc", "<???> @ 0x1801fdc80"], "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"}