{"type": "func", "start": 4296191584, "end": 4296191644, "name": "-[Reachability isConnectionOnDemand]", "pseudocode": "// \n// -[Reachability isConnectionOnDemand] from 0x10012ae60 to 0x10012ae9c (60 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x100845378\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 isConnectionOnDemand](Reachability *self, SEL a2)\n{\n  int v2; // w0\n  SCNetworkReachabilityFlags flags; // [xsp+Ch] [xbp-4h] BYREF\n\n  v2 = SCNetworkReachabilityGetFlags(self->reachabilityRef, &flags);\n  if ( v2 )\n    return ((flags & 0x28) != 0) & (flags >> 2);\n  return v2;\n}", "assembly": "; \n; -[Reachability isConnectionOnDemand] from 0x10012ae60 to 0x10012ae9c (60 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x100845378\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, #0x20                                          ; +0x0, 0x10012ae60\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x10012ae64\nADD             X29, SP, #0x10                                         ; +0x8, 0x10012ae68\nLDR             X0, [X0,#0x10]; target                                 ; +0xc, 0x10012ae6c\nSUB             X1, X29, #-flags; flags                                ; +0x10, 0x10012ae70\nBL              _SCNetworkReachabilityGetFlags                         ; +0x14, 0x10012ae74\nCBZ             W0, loc_10012AE90                                      ; +0x18, 0x10012ae78\nLDUR            W8, [X29,#flags]                                       ; +0x1c, 0x10012ae7c\nMOV             W9, #0x28 ; '('                                        ; +0x20, 0x10012ae80\nTST             W8, W9                                                 ; +0x24, 0x10012ae84\nCSET            W9, NE                                                 ; +0x28, 0x10012ae88\nAND             W0, W9, W8,LSR#2                                       ; +0x2c, 0x10012ae8c\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x30, 0x10012ae90\nADD             SP, SP, #0x20 ; ' '                                    ; +0x34, 0x10012ae94\nRET                                                                    ; +0x38, 0x10012ae98", "xrefs": ["<???> @ 0x100845378"], "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"}