//
// -[AppController leftMouseDown] from 0x100008820 to 0x100008891 (113 bytes)
//
// 1 xrefs:
// > ??> @ 0x1009991d0
//
// 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 __cdecl -[AppController leftMouseDown](AppController *self, SEL a2)
{
__CGEvent *v2; // rbx
CGPoint Location; // kr00_16
__CGEvent *MouseEvent; // rbx
self->_mouseDown = 1;
v2 = CGEventCreate(nullptr);
Location = CGEventGetLocation(v2);
CFRelease(v2);
MouseEvent = CGEventCreateMouseEvent(nullptr, kCGEventLeftMouseDown, Location, kCGMouseButtonLeft);
CGEventSetType(MouseEvent, kCGEventLeftMouseDown);
CGEventPost(kCGHIDEventTap, MouseEvent);
CFRelease(MouseEvent);
}