{"type": "func", "start": 6443340144, "end": 6443340259, "name": "sub_1800D9170", "pseudocode": "// \n// sub_1800D9170 from 0x1800d9170 to 0x1800d91e3 (115 bytes)\n// \n// 5 xrefs:\n// > sub_1800D8640 @ 0x1800d86cb\n// > sub_1800D9730 @ 0x1800d97e3\n// > sub_1800DA0D0 @ 0x1800da33f\n// > sub_1800DA0D0 @ 0x1800da43c\n// > <???> @ 0x1801c4adc\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:33 +0000\n// \n\nBOOL __fastcall sub_1800D9170(__int64 a1)\n{\n  BOOL result; // eax\n  struct tagRECT Rect; // [rsp+20h] [rbp-28h] BYREF\n\n  GetClientRect(*(HWND *)(a1 + 880), &Rect);\n  ClientToScreen(*(HWND *)(a1 + 880), (LPPOINT)&Rect);\n  ClientToScreen(*(HWND *)(a1 + 880), (LPPOINT)&Rect.right);\n  result = ClipCursor(&Rect);\n  qword_1801B6070 = a1;\n  return result;\n}", "assembly": "; \n; sub_1800D9170 from 0x1800d9170 to 0x1800d91e3 (115 bytes)\n; \n; 5 xrefs:\n; > sub_1800D8640 @ 0x1800d86cb\n; > sub_1800D9730 @ 0x1800d97e3\n; > sub_1800DA0D0 @ 0x1800da33f\n; > sub_1800DA0D0 @ 0x1800da43c\n; > <???> @ 0x1801c4adc\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:33 +0000\n; \npush    rbx                                                            ; +0x0, 0x1800d9170\nsub     rsp, 40h                                                       ; +0x2, 0x1800d9172\nmov     rax, cs:__security_cookie                                      ; +0x6, 0x1800d9176\nxor     rax, rsp                                                       ; +0xd, 0x1800d917d\nmov     [rsp+48h+var_18], rax                                          ; +0x10, 0x1800d9180\nmov     rbx, rcx                                                       ; +0x15, 0x1800d9185\nlea     rdx, [rsp+48h+Rect]; lpRect                                    ; +0x18, 0x1800d9188\nmov     rcx, [rcx+370h]; hWnd                                          ; +0x1d, 0x1800d918d\ncall    cs:GetClientRect                                               ; +0x24, 0x1800d9194\nmov     rcx, [rbx+370h]; hWnd                                          ; +0x2a, 0x1800d919a\nlea     rdx, [rsp+48h+Rect]; lpPoint                                   ; +0x31, 0x1800d91a1\ncall    cs:ClientToScreen                                              ; +0x36, 0x1800d91a6\nmov     rcx, [rbx+370h]; hWnd                                          ; +0x3c, 0x1800d91ac\nlea     rdx, [rsp+48h+Rect.right]; lpPoint                             ; +0x43, 0x1800d91b3\ncall    cs:ClientToScreen                                              ; +0x48, 0x1800d91b8\nlea     rcx, [rsp+48h+Rect]; lpRect                                    ; +0x4e, 0x1800d91be\ncall    cs:ClipCursor                                                  ; +0x53, 0x1800d91c3\nmov     cs:qword_1801B6070, rbx                                        ; +0x59, 0x1800d91c9\nmov     rcx, [rsp+48h+var_18]                                          ; +0x60, 0x1800d91d0\nxor     rcx, rsp; StackCookie                                          ; +0x65, 0x1800d91d5\ncall    __security_check_cookie                                        ; +0x68, 0x1800d91d8\nadd     rsp, 40h                                                       ; +0x6d, 0x1800d91dd\npop     rbx                                                            ; +0x71, 0x1800d91e1\nretn                                                                   ; +0x72, 0x1800d91e2", "xrefs": ["sub_1800D8640 @ 0x1800d86cb", "sub_1800D9730 @ 0x1800d97e3", "sub_1800DA0D0 @ 0x1800da33f", "sub_1800DA0D0 @ 0x1800da43c", "<???> @ 0x1801c4adc"], "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"}