//
// PlatformToolbox::isNetworkAvailable from 0x3942f4 to 0x394342 (78 bytes)
//
// 12 xrefs:
// > GameToolbox::doWeHaveInternet @ 0x3cf7b4
// > PlayLayer::levelComplete @ 0x4081e8
// > LevelInfoLayer::init @ 0x49ed54
// > LevelInfoLayer::onEnterTransitionDidFinish @ 0x49f298
// > LevelBrowserLayer::loadLevelsFailed @ 0x4a53e0
// > ParentalPrivacyPopup::checkPending @ 0x5303b8
// > InfoLayer::init @ 0x53ff0e
// > InfoLayer::init @ 0x53ffe4
// > LeaderboardsLayer::updateUserScoreFailed @ 0x562fda
// > LeaderboardsLayer::loadLeaderboardFailed @ 0x56454a
// > LevelLeaderboard::updateUserScoreFailed @ 0x61472e
// > LevelLeaderboard::loadLeaderboardFailed @ 0x614f92
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:46:17 +0000
//
bool __fastcall PlatformToolbox::isNetworkAvailable(PlatformToolbox *this)
{
int v1; // r3
_BOOL4 v2; // r5
int v4[3]; // [sp+0h] [bp-14h] BYREF
if ( !cocos2d::JniHelper::getStaticMethodInfo(v4, "com/customRobTop/BaseRobTopActivity", "isNetworkAvailable", "()Z") )
return 0;
v2 = _JNIEnv::CallStaticBooleanMethod(v4[0], v4[1], v4[2], v1) != 0;
_JNIEnv::DeleteLocalRef(v4[0]);
return v2;
}