{"type": "func", "start": 6443334912, "end": 6443335072, "name": "sub_1800D7D00", "pseudocode": "// \n// sub_1800D7D00 from 0x1800d7d00 to 0x1800d7da0 (160 bytes)\n// \n// 3 xrefs:\n// > sub_1800D6C40 @ 0x1800d6c49\n// > sub_1800D6CB0 @ 0x1800d6d9f\n// > <???> @ 0x1801baa34\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_1800D7D00(__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_1800D7D00 from 0x1800d7d00 to 0x1800d7da0 (160 bytes)\n; \n; 3 xrefs:\n; > sub_1800D6C40 @ 0x1800d6c49\n; > sub_1800D6CB0 @ 0x1800d6d9f\n; > <???> @ 0x1801baa34\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\nmov     [rsp+arg_8], rbx                                               ; +0x0, 0x1800d7d00\npush    rdi                                                            ; +0x5, 0x1800d7d05\nsub     rsp, 40h                                                       ; +0x6, 0x1800d7d06\nmov     rax, cs:__security_cookie                                      ; +0xa, 0x1800d7d0a\nxor     rax, rsp                                                       ; +0x11, 0x1800d7d11\nmov     [rsp+48h+var_10], rax                                          ; +0x14, 0x1800d7d14\nmov     rbx, rcx                                                       ; +0x19, 0x1800d7d19\nlea     rcx, [rsp+48h+Point]; lpPoint                                  ; +0x1c, 0x1800d7d1c\ncall    cs:GetCursorPos                                                ; +0x21, 0x1800d7d21\ntest    eax, eax                                                       ; +0x27, 0x1800d7d27\njz      short loc_1800D7D86                                            ; +0x29, 0x1800d7d29\nmov     rcx, qword ptr [rsp+48h+Point.x]; Point                        ; +0x2b, 0x1800d7d2b\nmov     rdi, [rbx+370h]                                                ; +0x30, 0x1800d7d30\ncall    cs:WindowFromPoint                                             ; +0x37, 0x1800d7d37\ncmp     rax, rdi                                                       ; +0x3d, 0x1800d7d3d\njnz     short loc_1800D7D86                                            ; +0x40, 0x1800d7d40\nlea     rdx, [rsp+48h+Rect]; lpRect                                    ; +0x42, 0x1800d7d42\nmov     rcx, rdi; hWnd                                                 ; +0x47, 0x1800d7d47\ncall    cs:GetClientRect                                               ; +0x4a, 0x1800d7d4a\nmov     rcx, [rbx+370h]; hWnd                                          ; +0x50, 0x1800d7d50\nlea     rdx, [rsp+48h+Rect]; lpPoint                                   ; +0x57, 0x1800d7d57\ncall    cs:ClientToScreen                                              ; +0x5c, 0x1800d7d5c\nmov     rcx, [rbx+370h]; hWnd                                          ; +0x62, 0x1800d7d62\nlea     rdx, [rsp+48h+Rect.right]; lpPoint                             ; +0x69, 0x1800d7d69\ncall    cs:ClientToScreen                                              ; +0x6e, 0x1800d7d6e\nmov     rdx, qword ptr [rsp+48h+Point.x]; pt                           ; +0x74, 0x1800d7d74\nlea     rcx, [rsp+48h+Rect]; lprc                                      ; +0x79, 0x1800d7d79\ncall    cs:PtInRect                                                    ; +0x7e, 0x1800d7d7e\njmp     short loc_1800D7D88                                            ; +0x84, 0x1800d7d84\nxor     eax, eax                                                       ; +0x86, 0x1800d7d86\nmov     rcx, [rsp+48h+var_10]                                          ; +0x88, 0x1800d7d88\nxor     rcx, rsp; StackCookie                                          ; +0x8d, 0x1800d7d8d\ncall    __security_check_cookie                                        ; +0x90, 0x1800d7d90\nmov     rbx, [rsp+48h+arg_8]                                           ; +0x95, 0x1800d7d95\nadd     rsp, 40h                                                       ; +0x9a, 0x1800d7d9a\npop     rdi                                                            ; +0x9e, 0x1800d7d9e\nretn                                                                   ; +0x9f, 0x1800d7d9f", "xrefs": ["sub_1800D6C40 @ 0x1800d6c49", "sub_1800D6CB0 @ 0x1800d6d9f", "<???> @ 0x1801baa34"], "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"}