// // -[AccelerometerDispatcher addDelegate:] from 0x1003fcd68 to 0x1003fcda8 (64 bytes) // // 1 xrefs: // > @ 0x100848600 // // 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 -[AccelerometerDispatcher addDelegate:]( AccelerometerDispatcher *self, SEL a2, CCAccelerometerDelegate *a3) { UIAccelerometer *v5; // x0 AccelerometerDispatcher *v6; // x2 self->delegate_ = a3; v5 = +[UIAccelerometer sharedAccelerometer](&OBJC_CLASS___UIAccelerometer, "sharedAccelerometer"); if ( a3 ) v6 = self; else v6 = nullptr; -[UIAccelerometer setDelegate:](v5, "setDelegate:", v6); }