{"type": "func", "start": 4296191776, "end": 4296191852, "name": "-[Reachability isReachableViaWiFi]", "pseudocode": "// \n// -[Reachability isReachableViaWiFi] from 0x10012af20 to 0x10012af6c (76 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x1008453c0\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 isReachableViaWiFi](Reachability *self, SEL a2)\n{\n  int v3; // w0\n  SCNetworkReachabilityFlags flags; // [xsp+Ch] [xbp-14h] BYREF\n\n  flags = 0;\n  v3 = SCNetworkReachabilityGetFlags(self->reachabilityRef, &flags);\n  if ( v3 )\n    LOBYTE(v3) = -[Reachability networkStatusForFlags:](self, \"networkStatusForFlags:\", flags) == 2;\n  return v3;\n}", "assembly": "; \n; -[Reachability isReachableViaWiFi] from 0x10012af20 to 0x10012af6c (76 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x1008453c0\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, #0x30                                          ; +0x0, 0x10012af20\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x10012af24\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x10012af28\nADD             X29, SP, #0x20                                         ; +0xc, 0x10012af2c\nMOV             X19, X0                                                ; +0x10, 0x10012af30\nSTR             WZR, [SP,#0x20+flags]                                  ; +0x14, 0x10012af34\nLDR             X0, [X0,#0x10]; target                                 ; +0x18, 0x10012af38\nADD             X1, SP, #0x20+flags; flags                             ; +0x1c, 0x10012af3c\nBL              _SCNetworkReachabilityGetFlags                         ; +0x20, 0x10012af40\nCBZ             W0, loc_10012AF5C                                      ; +0x24, 0x10012af44\nLDR             W2, [SP,#0x20+flags]                                   ; +0x28, 0x10012af48\nMOV             X0, X19                                                ; +0x2c, 0x10012af4c\nBL              _objc_msgSend$networkStatusForFlags_; -[Reachability networkStatusForFlags:] ... ; +0x30, 0x10012af50\nCMP             W0, #2                                                 ; +0x34, 0x10012af54\nCSET            W0, EQ                                                 ; +0x38, 0x10012af58\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x3c, 0x10012af5c\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x40, 0x10012af60\nADD             SP, SP, #0x30 ; '0'                                    ; +0x44, 0x10012af64\nRET                                                                    ; +0x48, 0x10012af68", "xrefs": ["<???> @ 0x1008453c0"], "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"}