//
// cocos2d::CCApplication::leftMouseDown from 0x1800731a0 to 0x1800731ed (77 bytes)
//
// 2 xrefs:
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b4410
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall cocos2d::CCApplication::leftMouseDown(cocos2d::CCApplication *this)
{
cocos2d::CCEGLView *v1; // rax
struct tagINPUT pInputs; // [rsp+20h] [rbp-38h] BYREF
v1 = cocos2d::CCEGLView::sharedOpenGLView();
cocos2d::CCEGLView::capture(v1);
memset(&pInputs, 0, 20);
pInputs.mi.dwFlags = 2;
*((_OWORD *)&pInputs.hi + 1) = 0;
SendInput(1u, &pInputs, 40);
}