//
// GameManager::joinDiscord from 0x5eb4f0 to 0x5eb58c (156 bytes)
//
// 2 xrefs:
// > FollowRewardPage::FLAlert_Clicked @ 0x962d28
// > ??> @ 0x3e058
//
// 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
//
void GameManager::joinDiscord(GameManager *a1)
{
cocos2d::CCApplication *v2; // x0
__int64 v3; // [xsp+28h] [xbp+28h] BYREF
__int64 v4; // [xsp+30h] [xbp+30h]
if ( GameToolbox::doWeHaveInternet() )
{
v2 = cocos2d::CCApplication::sharedApplication();
v2->openURL(v2, "https://discord.com/invite/geometrydash");
a1->m_clickedDiscord = 1;
clock_gettime(0, (struct timespec *)&v3);
a1->m_socialsDuration = (double)v3 + (double)v4 / 1000000000.0;
}
}