{"type": "func", "start": 4296362144, "end": 4296362204, "name": "-[Reachability isConnectionOnDemand]", "pseudocode": "// \n// -[Reachability isConnectionOnDemand] from 0x1001548a0 to 0x1001548dc (60 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x1009cd048\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 10:59:40 +0000\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 0x1001548a0 to 0x1001548dc (60 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x1009cd048\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 10:59:40 +0000\n; \nSUB             SP, SP, #0x20                                          ; +0x0, 0x1001548a0\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1001548a4\nADD             X29, SP, #0x10                                         ; +0x8, 0x1001548a8\nLDR             X0, [X0,#0x10]; target                                 ; +0xc, 0x1001548ac\nSUB             X1, X29, #-flags; flags                                ; +0x10, 0x1001548b0\nBL              _SCNetworkReachabilityGetFlags                         ; +0x14, 0x1001548b4\nCBZ             W0, loc_1001548D0                                      ; +0x18, 0x1001548b8\nLDUR            W8, [X29,#flags]                                       ; +0x1c, 0x1001548bc\nMOV             W9, #0x28 ; '('                                        ; +0x20, 0x1001548c0\nTST             W8, W9                                                 ; +0x24, 0x1001548c4\nCSET            W9, NE                                                 ; +0x28, 0x1001548c8\nAND             W0, W9, W8,LSR#2                                       ; +0x2c, 0x1001548cc\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x30, 0x1001548d0\nADD             SP, SP, #0x20 ; ' '                                    ; +0x34, 0x1001548d4\nRET                                                                    ; +0x38, 0x1001548d8", "xrefs": ["<???> @ 0x1009cd048"], "is_objc": true, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}