{"type": "func", "start": 4296354744, "end": 4296354800, "name": "+[AccelerometerSimulation getAccelerometer]", "pseudocode": "// \n// +[AccelerometerSimulation getAccelerometer] from 0x100152bb8 to 0x100152bf0 (56 bytes)\n// \n// 2 xrefs:\n// > +[UIAccelerometer sharedAccelerometer] @ 0x100632f50\n// > <???> @ 0x100845710\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nid __cdecl +[AccelerometerSimulation getAccelerometer](id a1, SEL a2)\n{\n  id result; // x0\n\n  result = (id)qword_10086B7A0;\n  if ( !qword_10086B7A0 )\n  {\n    result = -[AccelerometerSimulation initialize](objc_alloc(&OBJC_CLASS___AccelerometerSimulation), \"initialize\");\n    qword_10086B7A0 = (__int64)result;\n  }\n  return result;\n}", "assembly": "; \n; +[AccelerometerSimulation getAccelerometer] from 0x100152bb8 to 0x100152bf0 (56 bytes)\n; \n; 2 xrefs:\n; > +[UIAccelerometer sharedAccelerometer] @ 0x100632f50\n; > <???> @ 0x100845710\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x100152bb8\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x100152bbc\nADD             X29, SP, #0x10                                         ; +0x8, 0x100152bc0\nADRP            X19, #qword_10086B7A0@PAGE                             ; +0xc, 0x100152bc4\nLDR             X0, [X19,#qword_10086B7A0@PAGEOFF]                     ; +0x10, 0x100152bc8\nCBNZ            X0, loc_100152BE4                                      ; +0x14, 0x100152bcc\nADRP            X8, #classRef_AccelerometerSimulation@PAGE             ; +0x18, 0x100152bd0\nLDR             X0, [X8,#classRef_AccelerometerSimulation@PAGEOFF]; _OBJC_CLASS_$_AccelerometerSimulation ; Class ; +0x1c, 0x100152bd4\nBL              _objc_alloc                                            ; +0x20, 0x100152bd8\nBL              _objc_msgSend$initialize; -[AccelerometerSimulation initialize] ... ; +0x24, 0x100152bdc\nSTR             X0, [X19,#qword_10086B7A0@PAGEOFF]                     ; +0x28, 0x100152be0\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x2c, 0x100152be4\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x30, 0x100152be8\nRET                                                                    ; +0x34, 0x100152bec", "xrefs": ["+[UIAccelerometer sharedAccelerometer] @ 0x100632f50", "<???> @ 0x100845710"], "is_objc": true, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}