//
// -[AccelerometerSimulation handleMachMessage:] from 0x1001d1680 to 0x1001d1714 (148 bytes)
//
// 1 xrefs:
// > ??> @ 0x1009cd800
//
// This function is hookable on this platform (idp: arm, 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 11:00:23 +0000
//
void __cdecl -[AccelerometerSimulation handleMachMessage:](AccelerometerSimulation *self, SEL a2, void *a3)
{
void *v4; // x20
-[NSLock lock](self->notificationLock, "lock", a3);
while ( -[NSMutableArray count](self->notifications, "count") )
{
v4 = objc_retain(-[NSMutableArray objectAtIndex:](self->notifications, "objectAtIndex:", 0));
-[NSMutableArray removeObjectAtIndex:](self->notifications, "removeObjectAtIndex:", 0);
-[NSLock unlock](self->notificationLock, "unlock");
-[AccelerometerSimulation processNotification:](self, "processNotification:", v4);
objc_release(v4);
-[NSLock lock](self->notificationLock, "lock");
}
-[NSLock unlock](self->notificationLock, "unlock");
}