//
// -[AccelerometerSimulation handleMachMessage:] from 0x100152b24 to 0x100152bb8 (148 bytes)
//
// 1 xrefs:
// > ??> @ 0x100845b30
//
// 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 -[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");
}