//
// GameToolbox::doWeHaveInternet from 0x2ebcf0 to 0x2ebd70 (128 bytes)
//
// 9 xrefs:
// > MenuLayer::onTrailer @ 0x30a51e
// > GameManager::rateGame @ 0x3221dc
// > GameManager::likeFacebook @ 0x3221f8
// > GameManager::followTwitter @ 0x322224
// > GameManager::subYouTube @ 0x322250
// > GameManager::followTwitch @ 0x32227c
// > GameManager::joinDiscord @ 0x3222a8
// > GameManager::joinReddit @ 0x3222d4
// > SupportLayer::onEmail @ 0x42cae0
//
// 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 GameToolbox::doWeHaveInternet()
{
FLAlertLayer *v0; // r7
char *v2; // [sp+Ch] [bp-10h] BYREF
_BYTE v3[4]; // [sp+10h] [bp-Ch] BYREF
if ( PlatformToolbox::isNetworkAvailable() )
return 1;
sub_776584((int)&v2, "No Internet Connection.");
sub_776584((int)v3, v2);
v0 = FLAlertLayer::create(0, (int)"Error", (int)v3, (int)"OK", 0);
sub_774008(v3);
v0->show(v0);
sub_774008(&v2);
return 0;
}