//
// sub_100004AC0 from 0x100004ac0 to 0x100004af5 (53 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:18:45 +0000
//
void __fastcall sub_100004AC0(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);
}