//
// sub_1000087E0 from 0x1000087e0 to 0x100008815 (53 bytes)
//
// 0 xrefs:
//
// 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 sub_1000087E0(CGMouseButton mouseButton, CGEventType type, double a3, double a4)
{
__CGEvent *MouseEvent; // r14
MouseEvent = CGEventCreateMouseEvent(
nullptr,
type,
(CGPoint)__PAIR128__(*(unsigned __int64 *)&a4, *(unsigned __int64 *)&a3),
mouseButton);
CGEventSetType(MouseEvent, type);
CGEventPost(kCGHIDEventTap, MouseEvent);
CFRelease(MouseEvent);
}