//
// -[Reachability isConnectionOnDemand] from 0x1001548a0 to 0x1001548dc (60 bytes)
//
// 1 xrefs:
// > ??> @ 0x1009cd048
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 10:59:40 +0000
//
bool __cdecl -[Reachability isConnectionOnDemand](Reachability *self, SEL a2)
{
int v2; // w0
SCNetworkReachabilityFlags flags; // [xsp+Ch] [xbp-4h] BYREF
v2 = SCNetworkReachabilityGetFlags(self->reachabilityRef, &flags);
if ( v2 )
return ((flags & 0x28) != 0) & (flags >> 2);
return v2;
}