//
// PlatformToolbox::isNetworkAvailable from 0x2bdd58 to 0x2bdda6 (78 bytes)
//
// 10 xrefs:
// > GameToolbox::doWeHaveInternet @ 0x2ebcfe
// > PlayLayer::levelComplete @ 0x313858
// > LevelInfoLayer::init @ 0x3b535e
// > LevelBrowserLayer::loadLevelsFailed @ 0x3bacbc
// > InfoLayer::init @ 0x431126
// > InfoLayer::init @ 0x4311e8
// > LeaderboardsLayer::updateUserScoreFailed @ 0x45193c
// > LeaderboardsLayer::loadLeaderboardFailed @ 0x452bc0
// > LevelLeaderboard::updateUserScoreFailed @ 0x4e4ac2
// > LevelLeaderboard::loadLeaderboardFailed @ 0x4e4f2e
//
// 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 PlatformToolbox::isNetworkAvailable()
{
int v0; // r3
bool v1; // r5
int v3[3]; // [sp+0h] [bp-14h] BYREF
if ( !cocos2d::JniHelper::getStaticMethodInfo(v3, "com/customRobTop/BaseRobTopActivity", "isNetworkAvailable", "()Z") )
return 0;
v1 = _JNIEnv::CallStaticBooleanMethod(v3[0], v3[1], v3[2], v0) != 0;
_JNIEnv::DeleteLocalRef(v3[0]);
return v1;
}