{"type": "func", "start": 6442922400, "end": 6442922477, "name": "cocos2d::CCApplication::leftMouseDown", "pseudocode": "// \n// cocos2d::CCApplication::leftMouseDown from 0x1800731a0 to 0x1800731ed (77 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b4410\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\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 0x1800731a0 to 0x1800731ed (77 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b4410\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\nsub     rsp, 58h                                                       ; +0x0, 0x1800731a0\ncall    ?sharedOpenGLView@CCEGLView@cocos2d@@SAPEAV12@XZ; cocos2d::CCEGLView::sharedOpenGLView(void) ; +0x4, 0x1800731a4\nmov     rcx, rax; this                                                 ; +0x9, 0x1800731a9\ncall    ?capture@CCEGLView@cocos2d@@QEAAXXZ; cocos2d::CCEGLView::capture(void) ; +0xc, 0x1800731ac\nmov     r8d, 28h ; '('; cbSize                                         ; +0x11, 0x1800731b1\nmov     [rsp+58h+pInputs.type], 0                                      ; +0x17, 0x1800731b7\nxorps   xmm0, xmm0                                                     ; +0x1f, 0x1800731bf\nmov     dword ptr [rsp+58h+pInputs.8+0Ch], 2                           ; +0x22, 0x1800731c2\nxorps   xmm1, xmm1                                                     ; +0x2a, 0x1800731ca\nlea     rdx, [rsp+58h+pInputs]; pInputs                                ; +0x2d, 0x1800731cd\nmovdqu  xmmword ptr [rsp+58h+pInputs+4], xmm0                          ; +0x32, 0x1800731d2\nlea     ecx, [r8-27h]; cInputs                                         ; +0x38, 0x1800731d8\nmovdqu  xmmword ptr [rsp+58h+pInputs.8+10h], xmm1                      ; +0x3c, 0x1800731dc\ncall    cs:SendInput                                                   ; +0x42, 0x1800731e2\nadd     rsp, 58h                                                       ; +0x48, 0x1800731e8\nretn                                                                   ; +0x4c, 0x1800731ec", "xrefs": ["<???> @ 0x1801438a8", "<???> @ 0x1801b4410"], "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"}