{"type": "func", "start": 6443281472, "end": 6443281549, "name": "sub_1800CAC40", "pseudocode": "// \n// sub_1800CAC40 from 0x1800cac40 to 0x1800cac8d (77 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18016c7a0\n// > <???> @ 0x1801fe4c0\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:07 +0000\n// \n\n__int64 __fastcall sub_1800CAC40(__int64 a1, int a2, __int64 a3)\n{\n  __int64 result; // rax\n  int v6; // [rsp+48h] [rbp+20h] BYREF\n\n  v6 = 0;\n  result = sub_18000E700(a1, a2, a3);\n  if ( !(_DWORD)result )\n  {\n    result = sub_180098070(a3, &v6);\n    if ( !(_DWORD)result )\n    {\n      if ( v6 == 25 )\n        *(_QWORD *)(a1 + 584) = a3;\n      return 0;\n    }\n  }\n  return result;\n}", "assembly": "; \n; sub_1800CAC40 from 0x1800cac40 to 0x1800cac8d (77 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18016c7a0\n; > <???> @ 0x1801fe4c0\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:07 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1800cac40\npush    rdi                                                            ; +0x5, 0x1800cac45\nsub     rsp, 20h                                                       ; +0x6, 0x1800cac46\nmov     rbx, r8                                                        ; +0xa, 0x1800cac4a\nmov     [rsp+28h+arg_18], 0                                            ; +0xd, 0x1800cac4d\nmov     rdi, rcx                                                       ; +0x15, 0x1800cac55\ncall    sub_18000E700                                                  ; +0x18, 0x1800cac58\ntest    eax, eax                                                       ; +0x1d, 0x1800cac5d\njnz     short loc_1800CAC82                                            ; +0x1f, 0x1800cac5f\nlea     rdx, [rsp+28h+arg_18]                                          ; +0x21, 0x1800cac61\nmov     rcx, rbx                                                       ; +0x26, 0x1800cac66\ncall    sub_180098070                                                  ; +0x29, 0x1800cac69\ntest    eax, eax                                                       ; +0x2e, 0x1800cac6e\njnz     short loc_1800CAC82                                            ; +0x30, 0x1800cac70\ncmp     [rsp+28h+arg_18], 19h                                          ; +0x32, 0x1800cac72\njnz     short loc_1800CAC80                                            ; +0x37, 0x1800cac77\nmov     [rdi+248h], rbx                                                ; +0x39, 0x1800cac79\nxor     eax, eax                                                       ; +0x40, 0x1800cac80\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x42, 0x1800cac82\nadd     rsp, 20h                                                       ; +0x47, 0x1800cac87\npop     rdi                                                            ; +0x4b, 0x1800cac8b\nretn                                                                   ; +0x4c, 0x1800cac8c", "xrefs": ["<???> @ 0x18016c7a0", "<???> @ 0x1801fe4c0"], "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"}