{"type": "func", "start": 4296190388, "end": 4296190512, "name": "-[Reachability startNotifier]", "pseudocode": "// \n// -[Reachability startNotifier] from 0x10012a9b4 to 0x10012aa30 (124 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x1008452b8\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\nbool __cdecl -[Reachability startNotifier](Reachability *self, SEL a2)\n{\n  __SCNetworkReachability *reachabilityRef; // x19\n  __CFRunLoop *Current; // x0\n  bool result; // w0\n  SCNetworkReachabilityContext v6; // [xsp+0h] [xbp-40h] BYREF\n\n  v6.version = 0;\n  memset(&v6.retain, 0, 24);\n  v6.info = self;\n  result = false;\n  if ( SCNetworkReachabilitySetCallback(self->reachabilityRef, (SCNetworkReachabilityCallBack)sub_10012AA30, &v6) )\n  {\n    reachabilityRef = self->reachabilityRef;\n    Current = CFRunLoopGetCurrent();\n    if ( SCNetworkReachabilityScheduleWithRunLoop(reachabilityRef, Current, kCFRunLoopDefaultMode) )\n      return true;\n  }\n  return result;\n}", "assembly": "; \n; -[Reachability startNotifier] from 0x10012a9b4 to 0x10012aa30 (124 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x1008452b8\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\nSUB             SP, SP, #0x50                                          ; +0x0, 0x10012a9b4\nSTP             X20, X19, [SP,#0x40+var_10]                            ; +0x4, 0x10012a9b8\nSTP             X29, X30, [SP,#0x40+var_s0]                            ; +0x8, 0x10012a9bc\nADD             X29, SP, #0x40                                         ; +0xc, 0x10012a9c0\nMOV             X19, X0                                                ; +0x10, 0x10012a9c4\nMOVI            V0.16B, #0                                             ; +0x14, 0x10012a9c8\nSTP             Q0, Q0, [SP,#0x40+var_40]                              ; +0x18, 0x10012a9cc\nSTR             XZR, [SP,#0x40+var_20]                                 ; +0x1c, 0x10012a9d0\nSTR             X0, [SP,#0x40+var_40+8]                                ; +0x20, 0x10012a9d4\nLDR             X0, [X0,#0x10]; target                                 ; +0x24, 0x10012a9d8\nADRL            X1, sub_10012AA30; callout                             ; +0x28, 0x10012a9dc\nMOV             X2, SP; context                                        ; +0x30, 0x10012a9e4\nBL              _SCNetworkReachabilitySetCallback                      ; +0x34, 0x10012a9e8\nCBZ             W0, loc_10012AA1C                                      ; +0x38, 0x10012a9ec\nLDR             X19, [X19,#0x10]                                       ; +0x3c, 0x10012a9f0\nBL              _CFRunLoopGetCurrent                                   ; +0x40, 0x10012a9f4\nMOV             X1, X0; runLoop                                        ; +0x44, 0x10012a9f8\nADRP            X8, #_kCFRunLoopDefaultMode_ptr@PAGE                   ; +0x48, 0x10012a9fc\nLDR             X8, [X8,#_kCFRunLoopDefaultMode_ptr@PAGEOFF]; _kCFRunLoopDefaultMode ; +0x4c, 0x10012aa00\nLDR             X2, [X8]; runLoopMode                                  ; +0x50, 0x10012aa04\nMOV             X0, X19; target                                        ; +0x54, 0x10012aa08\nBL              _SCNetworkReachabilityScheduleWithRunLoop              ; +0x58, 0x10012aa0c\nCBZ             W0, loc_10012AA1C                                      ; +0x5c, 0x10012aa10\nMOV             W0, #1                                                 ; +0x60, 0x10012aa14\nB               loc_10012AA20                                          ; +0x64, 0x10012aa18\nMOV             W0, #0                                                 ; +0x68, 0x10012aa1c\nLDP             X29, X30, [SP,#0x40+var_s0]                            ; +0x6c, 0x10012aa20\nLDP             X20, X19, [SP,#0x40+var_10]                            ; +0x70, 0x10012aa24\nADD             SP, SP, #0x50 ; 'P'                                    ; +0x74, 0x10012aa28\nRET                                                                    ; +0x78, 0x10012aa2c", "xrefs": ["<???> @ 0x1008452b8"], "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"}