{"type": "func", "start": 6443337072, "end": 6443337186, "name": "sub_1800D8570", "pseudocode": "// \n// sub_1800D8570 from 0x1800d8570 to 0x1800d85e2 (114 bytes)\n// \n// 4 xrefs:\n// > sub_1800D6610 @ 0x1800d6620\n// > sub_1800D6EF0 @ 0x1800d7067\n// > sub_1800D8740 @ 0x1800d8a2b\n// > <???> @ 0x1801baac4\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\n__int64 __fastcall sub_1800D8570(__int64 a1)\n{\n  __int64 result; // rax\n\n  result = *(_QWORD *)(a1 + 72);\n  if ( *(_QWORD *)(result + 144) == a1 )\n  {\n    if ( !--dword_1801AB23C )\n    {\n      SetThreadExecutionState(0x80000000);\n      if ( (unsigned int)sub_1800D9D60(5) )\n        SystemParametersInfoW(0x5Du, uiParam, nullptr, 0);\n    }\n    sub_1800D40D0(*(_QWORD *)(a1 + 72), 0);\n    return sub_1800DB500(*(_QWORD *)(a1 + 72));\n  }\n  return result;\n}", "assembly": "; \n; sub_1800D8570 from 0x1800d8570 to 0x1800d85e2 (114 bytes)\n; \n; 4 xrefs:\n; > sub_1800D6610 @ 0x1800d6620\n; > sub_1800D6EF0 @ 0x1800d7067\n; > sub_1800D8740 @ 0x1800d8a2b\n; > <???> @ 0x1801baac4\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, 0x1800d8570\nsub     rsp, 20h                                                       ; +0x2, 0x1800d8572\nmov     rax, [rcx+48h]                                                 ; +0x6, 0x1800d8576\nmov     rbx, rcx                                                       ; +0xa, 0x1800d857a\ncmp     [rax+90h], rcx                                                 ; +0xd, 0x1800d857d\njnz     short loc_1800D85DC                                            ; +0x14, 0x1800d8584\nsub     cs:dword_1801AB23C, 1                                          ; +0x16, 0x1800d8586\njnz     short loc_1800D85C3                                            ; +0x1d, 0x1800d858d\nmov     ecx, 80000000h; esFlags                                        ; +0x1f, 0x1800d858f\ncall    cs:SetThreadExecutionState                                     ; +0x24, 0x1800d8594\nxor     r8d, r8d                                                       ; +0x2a, 0x1800d859a\nlea     edx, [r8+1]                                                    ; +0x2d, 0x1800d859d\nlea     ecx, [rdx+4]                                                   ; +0x31, 0x1800d85a1\ncall    sub_1800D9D60                                                  ; +0x34, 0x1800d85a4\ntest    eax, eax                                                       ; +0x39, 0x1800d85a9\njz      short loc_1800D85C3                                            ; +0x3b, 0x1800d85ab\nmov     edx, cs:uiParam; uiParam                                       ; +0x3d, 0x1800d85ad\nxor     r9d, r9d; fWinIni                                              ; +0x43, 0x1800d85b3\nxor     r8d, r8d; pvParam                                              ; +0x46, 0x1800d85b6\nlea     ecx, [r9+5Dh]; uiAction                                        ; +0x49, 0x1800d85b9\ncall    cs:SystemParametersInfoW                                       ; +0x4d, 0x1800d85bd\nmov     rcx, [rbx+48h]                                                 ; +0x53, 0x1800d85c3\nxor     edx, edx                                                       ; +0x57, 0x1800d85c7\ncall    sub_1800D40D0                                                  ; +0x59, 0x1800d85c9\nmov     rcx, [rbx+48h]                                                 ; +0x5e, 0x1800d85ce\nadd     rsp, 20h                                                       ; +0x62, 0x1800d85d2\npop     rbx                                                            ; +0x66, 0x1800d85d6\njmp     sub_1800DB500                                                  ; +0x67, 0x1800d85d7\nadd     rsp, 20h                                                       ; +0x6c, 0x1800d85dc\npop     rbx                                                            ; +0x70, 0x1800d85e0\nretn                                                                   ; +0x71, 0x1800d85e1", "xrefs": ["sub_1800D6610 @ 0x1800d6620", "sub_1800D6EF0 @ 0x1800d7067", "sub_1800D8740 @ 0x1800d8a2b", "<???> @ 0x1801baac4"], "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"}