{"type": "func", "start": 6442932096, "end": 6442932174, "name": "cocos2d::CCApplication::leftMouseDown", "pseudocode": "// \n// cocos2d::CCApplication::leftMouseDown from 0x180075780 to 0x1800757ce (78 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801be770\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:58 +0000\n// \n\nvoid __fastcall cocos2d::CCApplication::leftMouseDown(cocos2d::CCApplication *this)\n{\n  cocos2d::CCEGLView *v1; // rax\n  struct tagINPUT pInputs; // [rsp+20h] [rbp-38h] BYREF\n\n  v1 = cocos2d::CCEGLView::sharedOpenGLView();\n  cocos2d::CCEGLView::capture(v1);\n  memset(&pInputs, 0, 20);\n  pInputs.mi.dwFlags = 2;\n  *((_OWORD *)&pInputs.hi + 1) = 0;\n  SendInput(1u, &pInputs, 40);\n}", "assembly": "; \n; cocos2d::CCApplication::leftMouseDown from 0x180075780 to 0x1800757ce (78 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801be770\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:58 +0000\n; \nsub     rsp, 58h                                                       ; +0x0, 0x180075780\ncall    ?sharedOpenGLView@CCEGLView@cocos2d@@SAPEAV12@XZ; cocos2d::CCEGLView::sharedOpenGLView(void) ; +0x4, 0x180075784\nmov     rcx, rax; this                                                 ; +0x9, 0x180075789\ncall    ?capture@CCEGLView@cocos2d@@QEAAXXZ; cocos2d::CCEGLView::capture(void) ; +0xc, 0x18007578c\nxorps   xmm0, xmm0                                                     ; +0x11, 0x180075791\nmov     [rsp+58h+pInputs.type], 0                                      ; +0x14, 0x180075794\nxorps   xmm1, xmm1                                                     ; +0x1c, 0x18007579c\nmov     dword ptr [rsp+58h+pInputs.8+0Ch], 2                           ; +0x1f, 0x18007579f\nmov     r8d, 28h ; '('; cbSize                                         ; +0x27, 0x1800757a7\nlea     rdx, [rsp+58h+pInputs]; pInputs                                ; +0x2d, 0x1800757ad\nmov     ecx, 1; cInputs                                                ; +0x32, 0x1800757b2\nmovdqu  xmmword ptr [rsp+58h+pInputs+4], xmm0                          ; +0x37, 0x1800757b7\nmovdqu  xmmword ptr [rsp+58h+pInputs.8+10h], xmm1                      ; +0x3d, 0x1800757bd\ncall    cs:SendInput                                                   ; +0x43, 0x1800757c3\nadd     rsp, 58h                                                       ; +0x49, 0x1800757c9\nretn                                                                   ; +0x4d, 0x1800757cd", "xrefs": ["<???> @ 0x18014cf68", "<???> @ 0x1801be770"], "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"}