{"type": "func", "start": 6442944416, "end": 6442944525, "name": "sub_1800787A0", "pseudocode": "// \n// sub_1800787A0 from 0x1800787a0 to 0x18007880d (109 bytes)\n// \n// 2 xrefs:\n// > sub_18007BBC0 @ 0x18007bbef\n// > <???> @ 0x1801bea40\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:21:59 +0000\n// \n\nLRESULT __fastcall sub_1800787A0(HWND hWnd, UINT Msg, WPARAM wParam, LPARAM lParam)\n{\n  LONG_PTR WindowLongPtrA; // rax\n\n  WindowLongPtrA = GetWindowLongPtrA(hWnd, -21);\n  if ( WindowLongPtrA )\n    return sub_18007C490(WindowLongPtrA, hWnd, Msg, wParam, lParam);\n  else\n    return DefWindowProcA(hWnd, Msg, wParam, lParam);\n}", "assembly": "; \n; sub_1800787A0 from 0x1800787a0 to 0x18007880d (109 bytes)\n; \n; 2 xrefs:\n; > sub_18007BBC0 @ 0x18007bbef\n; > <???> @ 0x1801bea40\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:21:59 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1800787a0\nmov     [rsp+arg_8], rbp                                               ; +0x5, 0x1800787a5\nmov     [rsp+arg_10], rsi                                              ; +0xa, 0x1800787aa\npush    rdi                                                            ; +0xf, 0x1800787af\nsub     rsp, 30h                                                       ; +0x10, 0x1800787b0\nmov     ebp, edx                                                       ; +0x14, 0x1800787b4\nmov     rdi, r9                                                        ; +0x16, 0x1800787b6\nmov     edx, 0FFFFFFEBh; nIndex                                        ; +0x19, 0x1800787b9\nmov     rsi, r8                                                        ; +0x1e, 0x1800787be\nmov     rbx, rcx                                                       ; +0x21, 0x1800787c1\ncall    cs:GetWindowLongPtrA                                           ; +0x24, 0x1800787c4\ntest    rax, rax                                                       ; +0x2a, 0x1800787ca\njz      short loc_1800787E7                                            ; +0x2d, 0x1800787cd\nmov     r9, rsi                                                        ; +0x2f, 0x1800787cf\nmov     [rsp+38h+var_18], rdi                                          ; +0x32, 0x1800787d2\nmov     r8d, ebp                                                       ; +0x37, 0x1800787d7\nmov     rdx, rbx                                                       ; +0x3a, 0x1800787da\nmov     rcx, rax                                                       ; +0x3d, 0x1800787dd\ncall    sub_18007C490                                                  ; +0x40, 0x1800787e0\njmp     short loc_1800787F8                                            ; +0x45, 0x1800787e5\nmov     r9, rdi; lParam                                                ; +0x47, 0x1800787e7\nmov     r8, rsi; wParam                                                ; +0x4a, 0x1800787ea\nmov     edx, ebp; Msg                                                  ; +0x4d, 0x1800787ed\nmov     rcx, rbx; hWnd                                                 ; +0x4f, 0x1800787ef\ncall    cs:DefWindowProcA                                              ; +0x52, 0x1800787f2\nmov     rbx, [rsp+38h+arg_0]                                           ; +0x58, 0x1800787f8\nmov     rbp, [rsp+38h+arg_8]                                           ; +0x5d, 0x1800787fd\nmov     rsi, [rsp+38h+arg_10]                                          ; +0x62, 0x180078802\nadd     rsp, 30h                                                       ; +0x67, 0x180078807\npop     rdi                                                            ; +0x6b, 0x18007880b\nretn                                                                   ; +0x6c, 0x18007880c", "xrefs": ["sub_18007BBC0 @ 0x18007bbef", "<???> @ 0x1801bea40"], "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"}