//
// -[AccelerometerSimulation threadLoop:] from 0x1001d174c to 0x1001d17e0 (148 bytes)
//
// 1 xrefs:
// > ??> @ 0x1009cd818
//
// 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 __noreturn -[AccelerometerSimulation threadLoop:](AccelerometerSimulation *self, SEL a2, id a3)
{
int v4; // w0
void *v5; // x21
_BYTE v6[1024]; // [xsp+0h] [xbp-440h] BYREF
while ( 1 )
{
do
v4 = recv(self->udpSocket, v6, 0x400u, 0);
while ( v4 < 1 );
v6[v4 & 0x7FFFFFFF] = 0;
v5 = objc_msgSend(objc_alloc((Class)&OBJC_CLASS___NSString), "initWithUTF8String:", v6);
-[NSNotificationCenter postNotificationName:object:](
+[NSNotificationCenter defaultCenter](&OBJC_CLASS___NSNotificationCenter, "defaultCenter"),
"postNotificationName:object:",
CFSTR("ThreadAccelNotification"),
v5);
objc_release(v5);
}
}