{"type": "func", "start": 6443344608, "end": 6443344841, "name": "sub_1800DA2E0", "pseudocode": "// \n// sub_1800DA2E0 from 0x1800da2e0 to 0x1800da3c9 (233 bytes)\n// \n// 2 xrefs:\n// > sub_1800D39B0 @ 0x1800d3a9b\n// > <???> @ 0x1801babe4\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 sub_1800DA2E0()\n{\n  int result; // eax\n\n  if ( Handle )\n    UnregisterDeviceNotification(Handle);\n  if ( hRecipient )\n    DestroyWindow((HWND)hRecipient);\n  sub_1800D7730();\n  SystemParametersInfoW(0x2001u, 0, (PVOID)(unsigned int)pvParam, 2u);\n  free(qword_1801AB240);\n  free(pData);\n  sub_1800DD130();\n  sub_1800DE660();\n  sub_1800DF150();\n  result = sub_1800DC0C0();\n  if ( hLibModule )\n    result = FreeLibrary(hLibModule);\n  if ( qword_1801AC008 )\n    result = FreeLibrary(qword_1801AC008);\n  if ( hModule )\n    result = FreeLibrary(hModule);\n  if ( qword_1801AC078 )\n    result = FreeLibrary(qword_1801AC078);\n  if ( qword_1801AC0A0 )\n    result = FreeLibrary(qword_1801AC0A0);\n  if ( qword_1801AC0B8 )\n    return FreeLibrary((HMODULE)qword_1801AC0B8);\n  return result;\n}", "assembly": "; \n; sub_1800DA2E0 from 0x1800da2e0 to 0x1800da3c9 (233 bytes)\n; \n; 2 xrefs:\n; > sub_1800D39B0 @ 0x1800d3a9b\n; > <???> @ 0x1801babe4\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\nsub     rsp, 28h                                                       ; +0x0, 0x1800da2e0\nmov     rcx, cs:Handle; Handle                                         ; +0x4, 0x1800da2e4\ntest    rcx, rcx                                                       ; +0xb, 0x1800da2eb\njz      short loc_1800DA2F6                                            ; +0xe, 0x1800da2ee\ncall    cs:UnregisterDeviceNotification                                ; +0x10, 0x1800da2f0\nmov     rcx, cs:hRecipient; hWnd                                       ; +0x16, 0x1800da2f6\ntest    rcx, rcx                                                       ; +0x1d, 0x1800da2fd\njz      short loc_1800DA308                                            ; +0x20, 0x1800da300\ncall    cs:DestroyWindow                                               ; +0x22, 0x1800da302\ncall    sub_1800D7730                                                  ; +0x28, 0x1800da308\nmov     r8d, cs:pvParam; pvParam                                       ; +0x2d, 0x1800da30d\nxor     edx, edx; uiParam                                              ; +0x34, 0x1800da314\nmov     ecx, 2001h; uiAction                                           ; +0x36, 0x1800da316\nlea     r9d, [rdx+2]; fWinIni                                          ; +0x3b, 0x1800da31b\ncall    cs:SystemParametersInfoW                                       ; +0x3f, 0x1800da31f\nmov     rcx, cs:qword_1801AB240; Block                                 ; +0x45, 0x1800da325\ncall    cs:__imp_free                                                  ; +0x4c, 0x1800da32c\nmov     rcx, cs:pData; Block                                           ; +0x52, 0x1800da332\ncall    cs:__imp_free                                                  ; +0x59, 0x1800da339\ncall    sub_1800DD130                                                  ; +0x5f, 0x1800da33f\ncall    sub_1800DE660                                                  ; +0x64, 0x1800da344\ncall    sub_1800DF150                                                  ; +0x69, 0x1800da349\ncall    sub_1800DC0C0                                                  ; +0x6e, 0x1800da34e\nmov     rcx, cs:hLibModule; hLibModule                                 ; +0x73, 0x1800da353\ntest    rcx, rcx                                                       ; +0x7a, 0x1800da35a\njz      short loc_1800DA365                                            ; +0x7d, 0x1800da35d\ncall    cs:FreeLibrary                                                 ; +0x7f, 0x1800da35f\nmov     rcx, cs:qword_1801AC008; hLibModule                            ; +0x85, 0x1800da365\ntest    rcx, rcx                                                       ; +0x8c, 0x1800da36c\njz      short loc_1800DA377                                            ; +0x8f, 0x1800da36f\ncall    cs:FreeLibrary                                                 ; +0x91, 0x1800da371\nmov     rcx, cs:hModule; hLibModule                                    ; +0x97, 0x1800da377\ntest    rcx, rcx                                                       ; +0x9e, 0x1800da37e\njz      short loc_1800DA389                                            ; +0xa1, 0x1800da381\ncall    cs:FreeLibrary                                                 ; +0xa3, 0x1800da383\nmov     rcx, cs:qword_1801AC078; hLibModule                            ; +0xa9, 0x1800da389\ntest    rcx, rcx                                                       ; +0xb0, 0x1800da390\njz      short loc_1800DA39B                                            ; +0xb3, 0x1800da393\ncall    cs:FreeLibrary                                                 ; +0xb5, 0x1800da395\nmov     rcx, cs:qword_1801AC0A0; hLibModule                            ; +0xbb, 0x1800da39b\ntest    rcx, rcx                                                       ; +0xc2, 0x1800da3a2\njz      short loc_1800DA3AD                                            ; +0xc5, 0x1800da3a5\ncall    cs:FreeLibrary                                                 ; +0xc7, 0x1800da3a7\nmov     rcx, cs:qword_1801AC0B8                                        ; +0xcd, 0x1800da3ad\ntest    rcx, rcx                                                       ; +0xd4, 0x1800da3b4\njz      short loc_1800DA3C4                                            ; +0xd7, 0x1800da3b7\nadd     rsp, 28h                                                       ; +0xd9, 0x1800da3b9\njmp     cs:FreeLibrary                                                 ; +0xdd, 0x1800da3bd\nadd     rsp, 28h                                                       ; +0xe4, 0x1800da3c4\nretn                                                                   ; +0xe8, 0x1800da3c8", "xrefs": ["sub_1800D39B0 @ 0x1800d3a9b", "<???> @ 0x1801babe4"], "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"}