//
// PlatformToolbox::isNetworkAvailable from 0x10016b7c8 to 0x10016b7f4 (44 bytes)
//
// 10 xrefs:
// > LevelInfoLayer::init @ 0x1000262e0
// > GameToolbox::doWeHaveInternet @ 0x100043f74
// > PlayLayer::levelComplete @ 0x10011a0cc
// > LevelLeaderboard::updateUserScoreFailed @ 0x100250bec
// > LevelLeaderboard::loadLeaderboardFailed @ 0x100250f90
// > InfoLayer::init @ 0x100350ed4
// > InfoLayer::init @ 0x100350f70
// > LeaderboardsLayer::updateUserScoreFailed @ 0x1003b1d5c
// > LeaderboardsLayer::loadLeaderboardFailed @ 0x1003b1f88
// > LevelBrowserLayer::loadLevelsFailed @ 0x100418a28
//
// 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
//
bool __fastcall PlatformToolbox::isNetworkAvailable()
{
return (unsigned int)objc_msgSend(
+[Reachability reachabilityForInternetConnection](
&OBJC_CLASS___Reachability,
"reachabilityForInternetConnection"),
"currentReachabilityStatus")
- 1 < 2;
}