//
// -[AccelerometerSimulation processNotification:] from 0x1001d1518 to 0x1001d1680 (360 bytes)
//
// 1 xrefs:
// > ??> @ 0x1009cd7e8
//
// 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 processNotification:](AccelerometerSimulation *self, SEL a2, id a3)
{
id v5; // x21
void *v6; // x20
UIAccelerationSimulation *accObject; // x21
double v8; // d0
double v9; // d8
double v10; // d0
double v11; // d9
double v12; // d0
double v13; // d10
double v14; // d0
if ( +[NSThread currentThread](&OBJC_CLASS___NSThread, "currentThread") == self->notificationThread )
{
v6 = objc_msgSend(objc_msgSend(a3, "object"), "componentsSeparatedByString:", CFSTR(","));
accObject = self->accObject;
objc_msgSend(objc_msgSend(v6, "objectAtIndex:", 1), "doubleValue");
v9 = v8;
objc_msgSend(objc_msgSend(v6, "objectAtIndex:", 2), "doubleValue");
v11 = v10;
objc_msgSend(objc_msgSend(v6, "objectAtIndex:", 3), "doubleValue");
v13 = v12;
objc_msgSend(objc_msgSend(v6, "objectAtIndex:", 4), "doubleValue");
-[UIAccelerationSimulation initWithTimestamp:X:Y:Z:](accObject, "initWithTimestamp:X:Y:Z:", v9, v11, v13, v14);
-[UIAccelerometerDelegate accelerometer:didAccelerate:](
self->accelDelegate,
"accelerometer:didAccelerate:",
self,
self->accObject);
}
else
{
v5 = objc_alloc_init((Class)&OBJC_CLASS___NSDate);
-[NSLock lock](self->notificationLock, "lock");
-[NSMutableArray addObject:](self->notifications, "addObject:", a3);
-[NSLock unlock](self->notificationLock, "unlock");
-[NSMachPort sendBeforeDate:components:from:reserved:](
self->notificationPort,
"sendBeforeDate:components:from:reserved:",
v5,
0,
0,
0);
objc_release(v5);
}
}