//
// -[AccelerometerSimulation threadLoop:] from 0x100152bf0 to 0x100152c84 (148 bytes)
//
// 1 xrefs:
// > ??> @ 0x100845b48
//
// 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 __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);
}
}