//
// PlatformToolbox::isNetworkAvailable from 0x63fd7c to 0x63fe20 (164 bytes)
//
// 13 xrefs:
// > GameToolbox::doWeHaveInternet @ 0x69f63c
// > PlayLayer::levelComplete @ 0x703a44
// > LevelInfoLayer::init @ 0x7ecbb8
// > LevelInfoLayer::onEnterTransitionDidFinish @ 0x7ed000
// > LevelBrowserLayer::loadLevelsFailed @ 0x7f5b2c
// > ParentalPrivacyPopup::checkPending @ 0x8f3e64
// > InfoLayer::init @ 0x90b9fc
// > InfoLayer::init @ 0x90baa0
// > LeaderboardsLayer::updateUserScoreFailed @ 0x94e0b4
// > LeaderboardsLayer::loadLeaderboardFailed @ 0x94ec40
// > LevelLeaderboard::updateUserScoreFailed @ 0xa818d4
// > LevelLeaderboard::loadLeaderboardFailed @ 0xa82944
// > ??> @ 0x753b8
//
// 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 12:50:16 +0000
//
bool __fastcall PlatformToolbox::isNetworkAvailable(PlatformToolbox *this)
{
_BOOL4 v1; // w20
__int64 v3; // [xsp+20h] [xbp+20h] BYREF
__int64 v4; // [xsp+28h] [xbp+28h]
__int64 v5; // [xsp+30h] [xbp+30h]
v1 = 0;
if ( (unsigned __int8)cocos2d::JniHelper::getStaticMethodInfo(
&v3,
"com/customRobTop/BaseRobTopActivity",
"isNetworkAvailable",
"()Z") )
{
v1 = (unsigned __int8)_JNIEnv::CallStaticBooleanMethod(v3, v4, v5) != 0;
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v3 + 184LL))(v3, v4);
}
return v1;
}