{"type": "func", "start": 6443291184, "end": 6443291272, "name": "sub_1800CD230", "pseudocode": "// \n// sub_1800CD230 from 0x1800cd230 to 0x1800cd288 (88 bytes)\n// \n// 3 xrefs:\n// > sub_18001FCE0 @ 0x18001fe88\n// > sub_1800E2620 @ 0x1800e2767\n// > <???> @ 0x1801fe724\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:08 +0000\n// \n\n__int64 __fastcall sub_1800CD230(_QWORD *a1, __int64 a2, __int64 a3, __int64 a4)\n{\n  __int64 v5; // rax\n  __int64 result; // rax\n\n  sub_1800CFDB0(a1, 83, a3, a4);\n  v5 = a1[14];\n  if ( v5 )\n  {\n    _InterlockedAnd((volatile signed __int32 *)(v5 + 100), 0xFFFFFFDF);\n    _InterlockedAnd((volatile signed __int32 *)(a1[14] + 100LL), 0xFFFFFFBF);\n    result = (*(__int64 (__fastcall **)(_QWORD))(*(_QWORD *)a1[14] + 16LL))(a1[14]);\n    if ( (_DWORD)result )\n      return result;\n    a1[14] = 0;\n  }\n  a1[12] = 0;\n  a1[13] = 0;\n  return 0;\n}", "assembly": "; \n; sub_1800CD230 from 0x1800cd230 to 0x1800cd288 (88 bytes)\n; \n; 3 xrefs:\n; > sub_18001FCE0 @ 0x18001fe88\n; > sub_1800E2620 @ 0x1800e2767\n; > <???> @ 0x1801fe724\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:08 +0000\n; \npush    rbx                                                            ; +0x0, 0x1800cd230\nsub     rsp, 20h                                                       ; +0x2, 0x1800cd232\nmov     edx, 53h ; 'S'                                                 ; +0x6, 0x1800cd236\nmov     rbx, rcx                                                       ; +0xb, 0x1800cd23b\ncall    sub_1800CFDB0                                                  ; +0xe, 0x1800cd23e\nmov     rax, [rbx+70h]                                                 ; +0x13, 0x1800cd243\ntest    rax, rax                                                       ; +0x17, 0x1800cd247\njz      short loc_1800CD270                                            ; +0x1a, 0x1800cd24a\nlock and dword ptr [rax+64h], 0FFFFFFDFh                               ; +0x1c, 0x1800cd24c\nmov     rax, [rbx+70h]                                                 ; +0x21, 0x1800cd251\nlock and dword ptr [rax+64h], 0FFFFFFBFh                               ; +0x25, 0x1800cd255\nmov     rcx, [rbx+70h]                                                 ; +0x2a, 0x1800cd25a\nmov     rax, [rcx]                                                     ; +0x2e, 0x1800cd25e\ncall    qword ptr [rax+10h]                                            ; +0x31, 0x1800cd261\ntest    eax, eax                                                       ; +0x34, 0x1800cd264\njnz     short loc_1800CD282                                            ; +0x36, 0x1800cd266\nmov     qword ptr [rbx+70h], 0                                         ; +0x38, 0x1800cd268\nmov     qword ptr [rbx+60h], 0                                         ; +0x40, 0x1800cd270\nxor     eax, eax                                                       ; +0x48, 0x1800cd278\nmov     qword ptr [rbx+68h], 0                                         ; +0x4a, 0x1800cd27a\nadd     rsp, 20h                                                       ; +0x52, 0x1800cd282\npop     rbx                                                            ; +0x56, 0x1800cd286\nretn                                                                   ; +0x57, 0x1800cd287", "xrefs": ["sub_18001FCE0 @ 0x18001fe88", "sub_1800E2620 @ 0x1800e2767", "<???> @ 0x1801fe724"], "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"}