// // -[AccelerometerSimulation processNotification:] from 0x1001529b8 to 0x100152b24 (364 bytes) // // 1 xrefs: // > @ 0x100845b18 // // 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 processNotification:](AccelerometerSimulation *self, SEL a2, id a3) { void *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_msgSend(objc_alloc((Class)&OBJC_CLASS___NSDate), "init"); -[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); } }