//
// +[Reachability reachabilityWithAddress:] from 0x10012abb0 to 0x10012ac28 (120 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008451f0
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
id __cdecl +[Reachability reachabilityWithAddress:](id a1, SEL a2, const sockaddr_in *a3)
{
SCNetworkReachabilityRef v5; // x21
v5 = SCNetworkReachabilityCreateWithAddress(kCFAllocatorDefault, (const sockaddr *)a3);
if ( v5 )
{
v5 = objc_autorelease(objc_msgSend(objc_alloc((Class)a1), "initWithReachabilityRef:", v5));
-[__SCNetworkReachability setKey:](v5, "setKey:", objc_msgSend(a1, "makeAddressKey:", a3->sin_addr.s_addr));
}
return v5;
}