{"type": "func", "start": 6443335952, "end": 6443336047, "name": "sub_1800D8110", "pseudocode": "// \n// sub_1800D8110 from 0x1800d8110 to 0x1800d816f (95 bytes)\n// \n// 5 xrefs:\n// > sub_1800DBBB0 @ 0x1800dbc76\n// > sub_1800DC750 @ 0x1800dc775\n// > sub_1800DCF60 @ 0x1800dcf73\n// > sub_1800E1860 @ 0x1800e187c\n// > <???> @ 0x1801c49bc\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\nint __fastcall sub_1800D8110(__int64 a1, LONG *a2, LONG *a3)\n{\n  int result; // eax\n  struct tagRECT Rect; // [rsp+20h] [rbp-28h] BYREF\n\n  result = GetClientRect(*(HWND *)(a1 + 880), &Rect);\n  if ( a2 )\n  {\n    result = Rect.right;\n    *a2 = Rect.right;\n  }\n  if ( a3 )\n  {\n    result = Rect.bottom;\n    *a3 = Rect.bottom;\n  }\n  return result;\n}", "assembly": "; \n; sub_1800D8110 from 0x1800d8110 to 0x1800d816f (95 bytes)\n; \n; 5 xrefs:\n; > sub_1800DBBB0 @ 0x1800dbc76\n; > sub_1800DC750 @ 0x1800dc775\n; > sub_1800DCF60 @ 0x1800dcf73\n; > sub_1800E1860 @ 0x1800e187c\n; > <???> @ 0x1801c49bc\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; \nmov     [rsp+arg_18], rbx                                              ; +0x0, 0x1800d8110\npush    rdi                                                            ; +0x5, 0x1800d8115\nsub     rsp, 40h                                                       ; +0x6, 0x1800d8116\nmov     rax, cs:__security_cookie                                      ; +0xa, 0x1800d811a\nxor     rax, rsp                                                       ; +0x11, 0x1800d8121\nmov     [rsp+48h+var_18], rax                                          ; +0x14, 0x1800d8124\nmov     rcx, [rcx+370h]; hWnd                                          ; +0x19, 0x1800d8129\nmov     rdi, rdx                                                       ; +0x20, 0x1800d8130\nlea     rdx, [rsp+48h+Rect]; lpRect                                    ; +0x23, 0x1800d8133\nmov     rbx, r8                                                        ; +0x28, 0x1800d8138\ncall    cs:GetClientRect                                               ; +0x2b, 0x1800d813b\ntest    rdi, rdi                                                       ; +0x31, 0x1800d8141\njz      short loc_1800D814C                                            ; +0x34, 0x1800d8144\nmov     eax, [rsp+48h+Rect.right]                                      ; +0x36, 0x1800d8146\nmov     [rdi], eax                                                     ; +0x3a, 0x1800d814a\ntest    rbx, rbx                                                       ; +0x3c, 0x1800d814c\njz      short loc_1800D8157                                            ; +0x3f, 0x1800d814f\nmov     eax, [rsp+48h+Rect.bottom]                                     ; +0x41, 0x1800d8151\nmov     [rbx], eax                                                     ; +0x45, 0x1800d8155\nmov     rcx, [rsp+48h+var_18]                                          ; +0x47, 0x1800d8157\nxor     rcx, rsp; StackCookie                                          ; +0x4c, 0x1800d815c\ncall    __security_check_cookie                                        ; +0x4f, 0x1800d815f\nmov     rbx, [rsp+48h+arg_18]                                          ; +0x54, 0x1800d8164\nadd     rsp, 40h                                                       ; +0x59, 0x1800d8169\npop     rdi                                                            ; +0x5d, 0x1800d816d\nretn                                                                   ; +0x5e, 0x1800d816e", "xrefs": ["sub_1800DBBB0 @ 0x1800dbc76", "sub_1800DC750 @ 0x1800dc775", "sub_1800DCF60 @ 0x1800dcf73", "sub_1800E1860 @ 0x1800e187c", "<???> @ 0x1801c49bc"], "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"}