{"type": "func", "start": 6443329296, "end": 6443329407, "name": "sub_1800D6710", "pseudocode": "// \n// sub_1800D6710 from 0x1800d6710 to 0x1800d677f (111 bytes)\n// \n// 2 xrefs:\n// > sub_1800D5870 @ 0x1800d58d9\n// > <???> @ 0x1801ba8f0\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_1800D6710(__int64 a1, double *a2, double *a3)\n{\n  BOOL result; // eax\n  struct tagPOINT Point; // [rsp+48h] [rbp+20h] BYREF\n\n  result = GetCursorPos(&Point);\n  if ( result )\n  {\n    result = ScreenToClient(*(HWND *)(a1 + 880), &Point);\n    if ( a2 )\n      *a2 = (double)Point.x;\n    if ( a3 )\n      *a3 = (double)Point.y;\n  }\n  return result;\n}", "assembly": "; \n; sub_1800D6710 from 0x1800d6710 to 0x1800d677f (111 bytes)\n; \n; 2 xrefs:\n; > sub_1800D5870 @ 0x1800d58d9\n; > <???> @ 0x1801ba8f0\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_0], rbx                                               ; +0x0, 0x1800d6710\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x1800d6715\npush    rdi                                                            ; +0xa, 0x1800d671a\nsub     rsp, 20h                                                       ; +0xb, 0x1800d671b\nmov     rsi, rcx                                                       ; +0xf, 0x1800d671f\nmov     rbx, r8                                                        ; +0x12, 0x1800d6722\nlea     rcx, [rsp+28h+Point]; lpPoint                                  ; +0x15, 0x1800d6725\nmov     rdi, rdx                                                       ; +0x1a, 0x1800d672a\ncall    cs:GetCursorPos                                                ; +0x1d, 0x1800d672d\ntest    eax, eax                                                       ; +0x23, 0x1800d6733\njz      short loc_1800D676F                                            ; +0x25, 0x1800d6735\nmov     rcx, [rsi+370h]; hWnd                                          ; +0x27, 0x1800d6737\nlea     rdx, [rsp+28h+Point]; lpPoint                                  ; +0x2e, 0x1800d673e\ncall    cs:ScreenToClient                                              ; +0x33, 0x1800d6743\ntest    rdi, rdi                                                       ; +0x39, 0x1800d6749\njz      short loc_1800D675C                                            ; +0x3c, 0x1800d674c\nmovd    xmm0, [rsp+28h+Point.x]                                        ; +0x3e, 0x1800d674e\ncvtdq2pd xmm0, xmm0                                                    ; +0x44, 0x1800d6754\nmovsd   qword ptr [rdi], xmm0                                          ; +0x48, 0x1800d6758\ntest    rbx, rbx                                                       ; +0x4c, 0x1800d675c\njz      short loc_1800D676F                                            ; +0x4f, 0x1800d675f\nmovd    xmm0, [rsp+28h+Point.y]                                        ; +0x51, 0x1800d6761\ncvtdq2pd xmm0, xmm0                                                    ; +0x57, 0x1800d6767\nmovsd   qword ptr [rbx], xmm0                                          ; +0x5b, 0x1800d676b\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x5f, 0x1800d676f\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x64, 0x1800d6774\nadd     rsp, 20h                                                       ; +0x69, 0x1800d6779\npop     rdi                                                            ; +0x6d, 0x1800d677d\nretn                                                                   ; +0x6e, 0x1800d677e", "xrefs": ["sub_1800D5870 @ 0x1800d58d9", "<???> @ 0x1801ba8f0"], "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"}