; ; -[AccelerometerSimulation setUpThreadingSupport] from 0x1001d1460 to 0x1001d1518 (184 bytes) ; ; 1 xrefs: ; > @ 0x1009cd7d0 ; ; 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 ; STP X20, X19, [SP,#-0x10+var_10]! ; +0x0, 0x1001d1460 STP X29, X30, [SP,#0x10+var_s0] ; +0x4, 0x1001d1464 ADD X29, SP, #0x10 ; +0x8, 0x1001d1468 ADRP X8, #_OBJC_IVAR_$_AccelerometerSimulation.notifications@PAGE; NSMutableArray *notifications; ; +0xc, 0x1001d146c LDRSW X20, [X8,#_OBJC_IVAR_$_AccelerometerSimulation.notifications@PAGEOFF]; NSMutableArray *notifications; ; +0x10, 0x1001d1470 LDR X8, [X0,X20] ; +0x14, 0x1001d1474 CBZ X8, loc_1001D1488 ; +0x18, 0x1001d1478 LDP X29, X30, [SP,#0x10+var_s0] ; +0x1c, 0x1001d147c LDP X20, X19, [SP+0x10+var_10],#0x20 ; +0x20, 0x1001d1480 RET ; +0x24, 0x1001d1484 MOV X19, X0 ; +0x28, 0x1001d1488 ADRP X8, #classRef_NSMutableArray@PAGE ; +0x2c, 0x1001d148c LDR X0, [X8,#classRef_NSMutableArray@PAGEOFF]; _OBJC_CLASS_$_NSMutableArray ; +0x30, 0x1001d1490 BL _objc_alloc_init ; +0x34, 0x1001d1494 STR X0, [X19,X20] ; +0x38, 0x1001d1498 ADRP X8, #classRef_NSLock@PAGE ; +0x3c, 0x1001d149c LDR X0, [X8,#classRef_NSLock@PAGEOFF]; _OBJC_CLASS_$_NSLock ; +0x40, 0x1001d14a0 BL _objc_alloc_init ; +0x44, 0x1001d14a4 ADRP X8, #_OBJC_IVAR_$_AccelerometerSimulation.notificationLock@PAGE; NSLock *notificationLock; ; +0x48, 0x1001d14a8 LDRSW X8, [X8,#_OBJC_IVAR_$_AccelerometerSimulation.notificationLock@PAGEOFF]; NSLock *notificationLock; ; +0x4c, 0x1001d14ac STR X0, [X19,X8] ; +0x50, 0x1001d14b0 ADRP X8, #classRef_NSThread@PAGE ; +0x54, 0x1001d14b4 LDR X0, [X8,#classRef_NSThread@PAGEOFF]; _OBJC_CLASS_$_NSThread ; +0x58, 0x1001d14b8 BL _objc_msgSend$currentThread; +[NSThread currentThread] ... ; +0x5c, 0x1001d14bc BL _objc_retain ; +0x60, 0x1001d14c0 ADRP X8, #_OBJC_IVAR_$_AccelerometerSimulation.notificationThread@PAGE; NSThread *notificationThread; ; +0x64, 0x1001d14c4 LDRSW X8, [X8,#_OBJC_IVAR_$_AccelerometerSimulation.notificationThread@PAGEOFF]; NSThread *notificationThread; ; +0x68, 0x1001d14c8 STR X0, [X19,X8] ; +0x6c, 0x1001d14cc ADRP X8, #classRef_NSMachPort@PAGE ; +0x70, 0x1001d14d0 LDR X0, [X8,#classRef_NSMachPort@PAGEOFF]; _OBJC_CLASS_$_NSMachPort ; +0x74, 0x1001d14d4 BL _objc_alloc_init ; +0x78, 0x1001d14d8 ADRP X8, #_OBJC_IVAR_$_AccelerometerSimulation.notificationPort@PAGE; NSMachPort *notificationPort; ; +0x7c, 0x1001d14dc LDRSW X20, [X8,#_OBJC_IVAR_$_AccelerometerSimulation.notificationPort@PAGEOFF]; NSMachPort *notificationPort; ; +0x80, 0x1001d14e0 STR X0, [X19,X20] ; +0x84, 0x1001d14e4 MOV X2, X19 ; +0x88, 0x1001d14e8 BL _objc_msgSend$setDelegate_; -[NSMachPort setDelegate:] ... ; +0x8c, 0x1001d14ec ADRP X8, #classRef_NSRunLoop@PAGE ; +0x90, 0x1001d14f0 LDR X0, [X8,#classRef_NSRunLoop@PAGEOFF]; _OBJC_CLASS_$_NSRunLoop ; +0x94, 0x1001d14f4 BL _objc_msgSend$currentRunLoop; +[NSRunLoop currentRunLoop] ... ; +0x98, 0x1001d14f8 LDR X2, [X19,X20] ; +0x9c, 0x1001d14fc ADRP X8, #_kCFRunLoopCommonModes_ptr@PAGE ; +0xa0, 0x1001d1500 LDR X8, [X8,#_kCFRunLoopCommonModes_ptr@PAGEOFF]; _kCFRunLoopCommonModes ; +0xa4, 0x1001d1504 LDR X3, [X8] ; +0xa8, 0x1001d1508 LDP X29, X30, [SP,#0x10+var_s0] ; +0xac, 0x1001d150c LDP X20, X19, [SP+0x10+var_10],#0x20 ; +0xb0, 0x1001d1510 B _objc_msgSend$addPort_forMode_ ; +0xb4, 0x1001d1514