{"type": "func", "start": 6443359120, "end": 6443359246, "name": "sub_1800DDB90", "pseudocode": "// \n// sub_1800DDB90 from 0x1800ddb90 to 0x1800ddc0e (126 bytes)\n// \n// 2 xrefs:\n// > sub_1800DC900 @ 0x1800dcd03\n// > <???> @ 0x1801bae78\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nint __fastcall sub_1800DDB90(unsigned int a1)\n{\n  _QWORD *v2; // rax\n  bool v3; // zf\n  BOOL v5; // [rsp+30h] [rbp+8h] BYREF\n\n  v2 = sub_1800D99B0((__int64)&unk_1801AB18C);\n  v3 = v2[9] == 0;\n  *((_DWORD *)v2 + 162) = a1;\n  if ( v3 )\n  {\n    LODWORD(v2) = sub_1800D9D60(6u, 0, 0);\n    if ( (_DWORD)v2 )\n    {\n      LODWORD(v2) = sub_1800D9D60(6u, 2u, 0);\n      v5 = (int)v2;\n      if ( (_DWORD)v2 || (LODWORD(v2) = DwmIsCompositionEnabled(&v5), (int)v2 >= 0) && v5 )\n        a1 = 0;\n    }\n  }\n  if ( dword_1801AC130 )\n    LODWORD(v2) = qword_1801AC108(a1);\n  return (int)v2;\n}", "assembly": "; \n; sub_1800DDB90 from 0x1800ddb90 to 0x1800ddc0e (126 bytes)\n; \n; 2 xrefs:\n; > sub_1800DC900 @ 0x1800dcd03\n; > <???> @ 0x1801bae78\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\npush    rbx                                                            ; +0x0, 0x1800ddb90\nsub     rsp, 20h                                                       ; +0x2, 0x1800ddb92\nmov     ebx, ecx                                                       ; +0x6, 0x1800ddb96\nlea     rcx, unk_1801AB18C                                             ; +0x8, 0x1800ddb98\ncall    sub_1800D99B0                                                  ; +0xf, 0x1800ddb9f\ncmp     qword ptr [rax+48h], 0                                         ; +0x14, 0x1800ddba4\nmov     [rax+288h], ebx                                                ; +0x19, 0x1800ddba9\njnz     short loc_1800DDBF1                                            ; +0x1f, 0x1800ddbaf\nxor     edx, edx                                                       ; +0x21, 0x1800ddbb1\nxor     r8d, r8d                                                       ; +0x23, 0x1800ddbb3\nlea     ecx, [rdx+6]                                                   ; +0x26, 0x1800ddbb6\ncall    sub_1800D9D60                                                  ; +0x29, 0x1800ddbb9\ntest    eax, eax                                                       ; +0x2e, 0x1800ddbbe\njz      short loc_1800DDBF1                                            ; +0x30, 0x1800ddbc0\nxor     r8d, r8d                                                       ; +0x32, 0x1800ddbc2\nlea     edx, [r8+2]                                                    ; +0x35, 0x1800ddbc5\nlea     ecx, [rdx+4]                                                   ; +0x39, 0x1800ddbc9\ncall    sub_1800D9D60                                                  ; +0x3c, 0x1800ddbcc\nmov     [rsp+28h+arg_0], eax                                           ; +0x41, 0x1800ddbd1\ntest    eax, eax                                                       ; +0x45, 0x1800ddbd5\njnz     short loc_1800DDBEF                                            ; +0x47, 0x1800ddbd7\nlea     rcx, [rsp+28h+arg_0]                                           ; +0x49, 0x1800ddbd9\ncall    cs:DwmIsCompositionEnabled                                     ; +0x4e, 0x1800ddbde\ntest    eax, eax                                                       ; +0x54, 0x1800ddbe4\njs      short loc_1800DDBF1                                            ; +0x56, 0x1800ddbe6\ncmp     [rsp+28h+arg_0], 0                                             ; +0x58, 0x1800ddbe8\njz      short loc_1800DDBF1                                            ; +0x5d, 0x1800ddbed\nxor     ebx, ebx                                                       ; +0x5f, 0x1800ddbef\ncmp     cs:dword_1801AC130, 0                                          ; +0x61, 0x1800ddbf1\njz      short loc_1800DDC08                                            ; +0x68, 0x1800ddbf8\nmov     ecx, ebx                                                       ; +0x6a, 0x1800ddbfa\nadd     rsp, 20h                                                       ; +0x6c, 0x1800ddbfc\npop     rbx                                                            ; +0x70, 0x1800ddc00\njmp     cs:qword_1801AC108                                             ; +0x71, 0x1800ddc01\nadd     rsp, 20h                                                       ; +0x78, 0x1800ddc08\npop     rbx                                                            ; +0x7c, 0x1800ddc0c\nretn                                                                   ; +0x7d, 0x1800ddc0d", "xrefs": ["sub_1800DC900 @ 0x1800dcd03", "<???> @ 0x1801bae78"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}