{"type": "func", "start": 4296191852, "end": 4296191904, "name": "-[Reachability reachabilityFlags]", "pseudocode": "// \n// -[Reachability reachabilityFlags] from 0x10012af6c to 0x10012afa0 (52 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x1008453d8\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\nunsigned int __cdecl -[Reachability reachabilityFlags](Reachability *self, SEL a2)\n{\n  SCNetworkReachabilityFlags flags; // [xsp+Ch] [xbp-4h] BYREF\n\n  flags = 0;\n  if ( SCNetworkReachabilityGetFlags(self->reachabilityRef, &flags) )\n    return flags;\n  else\n    return 0;\n}", "assembly": "; \n; -[Reachability reachabilityFlags] from 0x10012af6c to 0x10012afa0 (52 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x1008453d8\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, 0x10012af6c\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x10012af70\nADD             X29, SP, #0x10                                         ; +0x8, 0x10012af74\nSTUR            WZR, [X29,#flags]                                      ; +0xc, 0x10012af78\nLDR             X0, [X0,#0x10]; target                                 ; +0x10, 0x10012af7c\nSUB             X1, X29, #-flags; flags                                ; +0x14, 0x10012af80\nBL              _SCNetworkReachabilityGetFlags                         ; +0x18, 0x10012af84\nLDUR            W8, [X29,#flags]                                       ; +0x1c, 0x10012af88\nCMP             W0, #0                                                 ; +0x20, 0x10012af8c\nCSEL            W0, WZR, W8, EQ                                        ; +0x24, 0x10012af90\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x28, 0x10012af94\nADD             SP, SP, #0x20 ; ' '                                    ; +0x2c, 0x10012af98\nRET                                                                    ; +0x30, 0x10012af9c", "xrefs": ["<???> @ 0x1008453d8"], "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"}