{"type": "func", "start": 6443358976, "end": 6443359113, "name": "sub_1800DDB00", "pseudocode": "// \n// sub_1800DDB00 from 0x1800ddb00 to 0x1800ddb89 (137 bytes)\n// \n// 4 xrefs:\n// > sub_1800DC900 @ 0x1800dccf5\n// > <???> @ 0x180143428\n// > <???> @ 0x180143438\n// > <???> @ 0x1801bae54\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\nBOOL __fastcall sub_1800DDB00(__int64 a1)\n{\n  int v2; // ebx\n  BOOL v4; // [rsp+30h] [rbp+8h] BYREF\n\n  if ( !*(_QWORD *)(a1 + 72) && sub_1800D9D60(6u, 0, 0) )\n  {\n    v4 = sub_1800D9D60(6u, 2u, 0);\n    if ( v4 || DwmIsCompositionEnabled(&v4) >= 0 && v4 )\n    {\n      v2 = -*(_DWORD *)(a1 + 648);\n      if ( *(int *)(a1 + 648) > 0 )\n        v2 = *(_DWORD *)(a1 + 648);\n      for ( ; v2; --v2 )\n        DwmFlush();\n    }\n  }\n  return SwapBuffers(*(HDC *)(a1 + 632));\n}", "assembly": "; \n; sub_1800DDB00 from 0x1800ddb00 to 0x1800ddb89 (137 bytes)\n; \n; 4 xrefs:\n; > sub_1800DC900 @ 0x1800dccf5\n; > <???> @ 0x180143428\n; > <???> @ 0x180143438\n; > <???> @ 0x1801bae54\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    rdi                                                            ; +0x0, 0x1800ddb00\nsub     rsp, 20h                                                       ; +0x2, 0x1800ddb02\ncmp     qword ptr [rcx+48h], 0                                         ; +0x6, 0x1800ddb06\nmov     rdi, rcx                                                       ; +0xb, 0x1800ddb0b\njnz     short loc_1800DDB76                                            ; +0xe, 0x1800ddb0e\nxor     edx, edx                                                       ; +0x10, 0x1800ddb10\nxor     r8d, r8d                                                       ; +0x12, 0x1800ddb12\nlea     ecx, [rdx+6]                                                   ; +0x15, 0x1800ddb15\ncall    sub_1800D9D60                                                  ; +0x18, 0x1800ddb18\ntest    eax, eax                                                       ; +0x1d, 0x1800ddb1d\njz      short loc_1800DDB76                                            ; +0x1f, 0x1800ddb1f\nxor     r8d, r8d                                                       ; +0x21, 0x1800ddb21\nlea     edx, [r8+2]                                                    ; +0x24, 0x1800ddb24\nlea     ecx, [rdx+4]                                                   ; +0x28, 0x1800ddb28\ncall    sub_1800D9D60                                                  ; +0x2b, 0x1800ddb2b\nmov     [rsp+28h+arg_0], eax                                           ; +0x30, 0x1800ddb30\ntest    eax, eax                                                       ; +0x34, 0x1800ddb34\njnz     short loc_1800DDB4E                                            ; +0x36, 0x1800ddb36\nlea     rcx, [rsp+28h+arg_0]                                           ; +0x38, 0x1800ddb38\ncall    cs:DwmIsCompositionEnabled                                     ; +0x3d, 0x1800ddb3d\ntest    eax, eax                                                       ; +0x43, 0x1800ddb43\njs      short loc_1800DDB76                                            ; +0x45, 0x1800ddb45\ncmp     [rsp+28h+arg_0], 0                                             ; +0x47, 0x1800ddb47\njz      short loc_1800DDB76                                            ; +0x4c, 0x1800ddb4c\nmov     [rsp+28h+arg_8], rbx                                           ; +0x4e, 0x1800ddb4e\nmov     ebx, [rdi+288h]                                                ; +0x53, 0x1800ddb53\nneg     ebx                                                            ; +0x59, 0x1800ddb59\ncmovs   ebx, [rdi+288h]                                                ; +0x5b, 0x1800ddb5b\ntest    ebx, ebx                                                       ; +0x62, 0x1800ddb62\njz      short loc_1800DDB71                                            ; +0x64, 0x1800ddb64\ncall    cs:DwmFlush                                                    ; +0x66, 0x1800ddb66\nsub     ebx, 1                                                         ; +0x6c, 0x1800ddb6c\njnz     short loc_1800DDB66                                            ; +0x6f, 0x1800ddb6f\nmov     rbx, [rsp+28h+arg_8]                                           ; +0x71, 0x1800ddb71\nmov     rcx, [rdi+278h]                                                ; +0x76, 0x1800ddb76\nadd     rsp, 20h                                                       ; +0x7d, 0x1800ddb7d\npop     rdi                                                            ; +0x81, 0x1800ddb81\njmp     cs:SwapBuffers                                                 ; +0x82, 0x1800ddb82", "xrefs": ["sub_1800DC900 @ 0x1800dccf5", "<???> @ 0x180143428", "<???> @ 0x180143438", "<???> @ 0x1801bae54"], "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"}