{"type": "func", "start": 4296190712, "end": 4296190824, "name": "+[Reachability reachabilityWithHostName:]", "pseudocode": "// \n// +[Reachability reachabilityWithHostName:] from 0x10012aaf8 to 0x10012ab68 (112 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x1008451c0\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\nid __cdecl +[Reachability reachabilityWithHostName:](id a1, SEL a2, id a3)\n{\n  SCNetworkReachabilityRef v5; // x0\n  void *v6; // x20\n\n  v5 = SCNetworkReachabilityCreateWithName(nullptr, (const char *)objc_msgSend(a3, \"UTF8String\"));\n  if ( !v5 )\n    return nullptr;\n  v6 = objc_autorelease(objc_msgSend(objc_alloc((Class)a1), \"initWithReachabilityRef:\", v5));\n  objc_msgSend(v6, \"setKey:\", a3);\n  return v6;\n}", "assembly": "; \n; +[Reachability reachabilityWithHostName:] from 0x10012aaf8 to 0x10012ab68 (112 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x1008451c0\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\nSTP             X22, X21, [SP,#-0x10+var_20]!                          ; +0x0, 0x10012aaf8\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x10012aafc\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x10012ab00\nADD             X29, SP, #0x20                                         ; +0xc, 0x10012ab04\nMOV             X19, X2                                                ; +0x10, 0x10012ab08\nMOV             X20, X0                                                ; +0x14, 0x10012ab0c\nMOV             X0, X2                                                 ; +0x18, 0x10012ab10\nBL              _objc_msgSend$UTF8String                               ; +0x1c, 0x10012ab14\nMOV             X1, X0; nodename                                       ; +0x20, 0x10012ab18\nMOV             X0, #0; allocator                                      ; +0x24, 0x10012ab1c\nBL              _SCNetworkReachabilityCreateWithName                   ; +0x28, 0x10012ab20\nCBZ             X0, loc_10012AB50                                      ; +0x2c, 0x10012ab24\nMOV             X21, X0                                                ; +0x30, 0x10012ab28\nMOV             X0, X20; Class                                         ; +0x34, 0x10012ab2c\nBL              _objc_alloc                                            ; +0x38, 0x10012ab30\nMOV             X2, X21                                                ; +0x3c, 0x10012ab34\nBL              _objc_msgSend$initWithReachabilityRef_                 ; +0x40, 0x10012ab38\nBL              _objc_autorelease                                      ; +0x44, 0x10012ab3c\nMOV             X20, X0                                                ; +0x48, 0x10012ab40\nMOV             X2, X19                                                ; +0x4c, 0x10012ab44\nBL              _objc_msgSend$setKey_                                  ; +0x50, 0x10012ab48\nB               loc_10012AB54                                          ; +0x54, 0x10012ab4c\nMOV             X20, #0                                                ; +0x58, 0x10012ab50\nMOV             X0, X20                                                ; +0x5c, 0x10012ab54\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x60, 0x10012ab58\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x64, 0x10012ab5c\nLDP             X22, X21, [SP+0x20+var_20],#0x30                       ; +0x68, 0x10012ab60\nRET                                                                    ; +0x6c, 0x10012ab64", "xrefs": ["<???> @ 0x1008451c0"], "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"}