// // -[AccelerometerSimulation initialize] from 0x100152c84 to 0x100152d98 (276 bytes) // // 2 xrefs: // > +[AccelerometerSimulation getAccelerometer] @ 0x100152bdc // > @ 0x100845b60 // // 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 // id __cdecl -[AccelerometerSimulation initialize](AccelerometerSimulation *self, SEL a2) { int v3; // w0 NSThread *v4; // x0 sockaddr v6; // [xsp+8h] [xbp-28h] BYREF self->accObject = objc_alloc(&OBJC_CLASS___UIAccelerationSimulation); self->isExiting = 0; v3 = socket(2, 2, 17); self->udpSocket = v3; *(_DWORD *)&v6.sa_data[10] = 0; *(_QWORD *)&v6.sa_data[2] = 0; *(_DWORD *)&v6.sa_len = 942211600; bind(v3, &v6, 0x10u); v4 = (NSThread *)objc_msgSend( objc_alloc((Class)&OBJC_CLASS___NSThread), "initWithTarget:selector:object:", self, "threadLoop:", 0); self->thread = v4; -[NSThread start](v4, "start"); -[AccelerometerSimulation setUpThreadingSupport](self, "setUpThreadingSupport"); -[NSNotificationCenter addObserver:selector:name:object:]( +[NSNotificationCenter defaultCenter](&OBJC_CLASS___NSNotificationCenter, "defaultCenter"), "addObserver:selector:name:object:", self, "processNotification:", CFSTR("ThreadAccelNotification"), 0); return self; }
GD Web Decomp Icon

GD Web Decomp

Raw Source