{"type": "func", "start": 6443283008, "end": 6443283080, "name": "sub_1800CB240", "pseudocode": "// \n// sub_1800CB240 from 0x1800cb240 to 0x1800cb288 (72 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18016c888\n// > <???> @ 0x1801fe544\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_1800CB240(__int64 a1, _DWORD *a2)\n{\n  __int64 result; // rax\n  __int64 v4; // [rsp+30h] [rbp+8h] BYREF\n\n  result = (*(__int64 (__fastcall **)(__int64, __int64, __int64 *))(*(_QWORD *)a1 + 288LL))(a1, 4294967294LL, &v4);\n  if ( !(_DWORD)result )\n  {\n    result = sub_180096E00(v4, nullptr, a2, nullptr);\n    if ( !(_DWORD)result )\n    {\n      if ( !*a2 )\n        *a2 = 1;\n      return 0;\n    }\n  }\n  return result;\n}", "assembly": "; \n; sub_1800CB240 from 0x1800cb240 to 0x1800cb288 (72 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18016c888\n; > <???> @ 0x1801fe544\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; \npush    rbx                                                            ; +0x0, 0x1800cb240\nsub     rsp, 20h                                                       ; +0x2, 0x1800cb242\nmov     rax, [rcx]                                                     ; +0x6, 0x1800cb246\nlea     r8, [rsp+28h+arg_0]                                            ; +0x9, 0x1800cb249\nmov     rbx, rdx                                                       ; +0xe, 0x1800cb24e\nmov     edx, 0FFFFFFFEh                                                ; +0x11, 0x1800cb251\ncall    qword ptr [rax+120h]                                           ; +0x16, 0x1800cb256\ntest    eax, eax                                                       ; +0x1c, 0x1800cb25c\njnz     short loc_1800CB282                                            ; +0x1e, 0x1800cb25e\nmov     rcx, [rsp+28h+arg_0]                                           ; +0x20, 0x1800cb260\nxor     r9d, r9d                                                       ; +0x25, 0x1800cb265\nmov     r8, rbx                                                        ; +0x28, 0x1800cb268\nxor     edx, edx                                                       ; +0x2b, 0x1800cb26b\ncall    sub_180096E00                                                  ; +0x2d, 0x1800cb26d\ntest    eax, eax                                                       ; +0x32, 0x1800cb272\njnz     short loc_1800CB282                                            ; +0x34, 0x1800cb274\ncmp     [rbx], eax                                                     ; +0x36, 0x1800cb276\njnz     short loc_1800CB280                                            ; +0x38, 0x1800cb278\nmov     dword ptr [rbx], 1                                             ; +0x3a, 0x1800cb27a\nxor     eax, eax                                                       ; +0x40, 0x1800cb280\nadd     rsp, 20h                                                       ; +0x42, 0x1800cb282\npop     rbx                                                            ; +0x46, 0x1800cb286\nretn                                                                   ; +0x47, 0x1800cb287", "xrefs": ["<???> @ 0x18016c888", "<???> @ 0x1801fe544"], "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"}