// // GameToolbox::doWeHaveInternet from 0x69f61c to 0x69f76c (336 bytes) // // 11 xrefs: // > MenuLayer::onTrailer @ 0x6ead18 // > GameManager::rateGame @ 0x715e00 // > GameManager::likeFacebook @ 0x715e48 // > GameManager::followTwitter @ 0x715ef0 // > GameManager::subYouTube @ 0x715f98 // > GameManager::followTwitch @ 0x716040 // > GameManager::joinDiscord @ 0x7160e8 // > GameManager::joinReddit @ 0x716190 // > GameManager::subSpotlight @ 0x716238 // > SupportLayer::onEmail @ 0x9012e4 // > @ 0xe89f0 // // 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:41 +0000 // __int64 __fastcall GameToolbox::doWeHaveInternet(GameToolbox *this) { _BOOL4 isNetworkAvailable; // w1 __int64 result; // x0 char *v3; // x20 size_t v4; // x0 __int64 v5; // x20 __int64 v6[2]; // [xsp+38h] [xbp+38h] BYREF void *v7; // [xsp+48h] [xbp+48h] __int64 v8[2]; // [xsp+50h] [xbp+50h] BYREF void *v9; // [xsp+60h] [xbp+60h] isNetworkAvailable = PlatformToolbox::isNetworkAvailable(_stack_chk_guard); result = 1; if ( !isNetworkAvailable ) { v3 = (char *)v6 + 1; v6[0] = 0; v6[1] = 0; v7 = nullptr; std::string::__init(v6, "No Internet Connection.", 0x17u); if ( (v6[0] & 1) != 0 ) v3 = (char *)v7; v8[0] = 0; v8[1] = 0; v9 = nullptr; v4 = strlen(v3); std::string::__init(v8, v3, v4); v5 = FLAlertLayer::create(0, (cocos2d::CCLabelBMFont *)"Error", (char *)v8, (ButtonSprite *)"OK", nullptr); if ( (v8[0] & 1) != 0 ) operator delete(v9); (*(void (__fastcall **)(__int64))(*(_QWORD *)v5 + 1312LL))(v5); if ( (v6[0] & 1) != 0 ) operator delete(v7); return 0; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source