{"type": "func", "start": 6443341456, "end": 6443341616, "name": "sub_1800D9690", "pseudocode": "// \n// sub_1800D9690 from 0x1800d9690 to 0x1800d9730 (160 bytes)\n// \n// 3 xrefs:\n// > sub_1800D85D0 @ 0x1800d85d9\n// > sub_1800D8640 @ 0x1800d872f\n// > <???> @ 0x1801c4af4\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 11:22:34 +0000\n// \n\nBOOL __fastcall sub_1800D9690(__int64 a1)\n{\n  HWND v2; // rdi\n  struct tagPOINT Point; // [rsp+20h] [rbp-28h] BYREF\n  struct tagRECT Rect; // [rsp+28h] [rbp-20h] BYREF\n\n  if ( !GetCursorPos(&Point) )\n    return 0;\n  v2 = *(HWND *)(a1 + 880);\n  if ( WindowFromPoint(Point) != v2 )\n    return 0;\n  GetClientRect(v2, &Rect);\n  ClientToScreen(*(HWND *)(a1 + 880), (LPPOINT)&Rect);\n  ClientToScreen(*(HWND *)(a1 + 880), (LPPOINT)&Rect.right);\n  return PtInRect(&Rect, Point);\n}", "assembly": "; \n; sub_1800D9690 from 0x1800d9690 to 0x1800d9730 (160 bytes)\n; \n; 3 xrefs:\n; > sub_1800D85D0 @ 0x1800d85d9\n; > sub_1800D8640 @ 0x1800d872f\n; > <???> @ 0x1801c4af4\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 11:22:34 +0000\n; \nmov     [rsp+arg_8], rbx                                               ; +0x0, 0x1800d9690\npush    rdi                                                            ; +0x5, 0x1800d9695\nsub     rsp, 40h                                                       ; +0x6, 0x1800d9696\nmov     rax, cs:__security_cookie                                      ; +0xa, 0x1800d969a\nxor     rax, rsp                                                       ; +0x11, 0x1800d96a1\nmov     [rsp+48h+var_10], rax                                          ; +0x14, 0x1800d96a4\nmov     rbx, rcx                                                       ; +0x19, 0x1800d96a9\nlea     rcx, [rsp+48h+Point]; lpPoint                                  ; +0x1c, 0x1800d96ac\ncall    cs:GetCursorPos                                                ; +0x21, 0x1800d96b1\ntest    eax, eax                                                       ; +0x27, 0x1800d96b7\njz      short loc_1800D9716                                            ; +0x29, 0x1800d96b9\nmov     rcx, qword ptr [rsp+48h+Point.x]; Point                        ; +0x2b, 0x1800d96bb\nmov     rdi, [rbx+370h]                                                ; +0x30, 0x1800d96c0\ncall    cs:WindowFromPoint                                             ; +0x37, 0x1800d96c7\ncmp     rax, rdi                                                       ; +0x3d, 0x1800d96cd\njnz     short loc_1800D9716                                            ; +0x40, 0x1800d96d0\nlea     rdx, [rsp+48h+Rect]; lpRect                                    ; +0x42, 0x1800d96d2\nmov     rcx, rdi; hWnd                                                 ; +0x47, 0x1800d96d7\ncall    cs:GetClientRect                                               ; +0x4a, 0x1800d96da\nmov     rcx, [rbx+370h]; hWnd                                          ; +0x50, 0x1800d96e0\nlea     rdx, [rsp+48h+Rect]; lpPoint                                   ; +0x57, 0x1800d96e7\ncall    cs:ClientToScreen                                              ; +0x5c, 0x1800d96ec\nmov     rcx, [rbx+370h]; hWnd                                          ; +0x62, 0x1800d96f2\nlea     rdx, [rsp+48h+Rect.right]; lpPoint                             ; +0x69, 0x1800d96f9\ncall    cs:ClientToScreen                                              ; +0x6e, 0x1800d96fe\nmov     rdx, qword ptr [rsp+48h+Point.x]; pt                           ; +0x74, 0x1800d9704\nlea     rcx, [rsp+48h+Rect]; lprc                                      ; +0x79, 0x1800d9709\ncall    cs:PtInRect                                                    ; +0x7e, 0x1800d970e\njmp     short loc_1800D9718                                            ; +0x84, 0x1800d9714\nxor     eax, eax                                                       ; +0x86, 0x1800d9716\nmov     rcx, [rsp+48h+var_10]                                          ; +0x88, 0x1800d9718\nxor     rcx, rsp; StackCookie                                          ; +0x8d, 0x1800d971d\ncall    __security_check_cookie                                        ; +0x90, 0x1800d9720\nmov     rbx, [rsp+48h+arg_8]                                           ; +0x95, 0x1800d9725\nadd     rsp, 40h                                                       ; +0x9a, 0x1800d972a\npop     rdi                                                            ; +0x9e, 0x1800d972e\nretn                                                                   ; +0x9f, 0x1800d972f", "xrefs": ["sub_1800D85D0 @ 0x1800d85d9", "sub_1800D8640 @ 0x1800d872f", "<???> @ 0x1801c4af4"], "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"}