//
// GameManager::joinDiscord from 0x100317418 to 0x100317494 (124 bytes)
//
// 1 xrefs:
// > FollowRewardPage::FLAlert_Clicked @ 0x100426050
//
// 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 __fastcall GameManager::joinDiscord(GameManager *a1)
{
cocos2d::CCApplication *v2; // x0
timeb v3; // [xsp+0h] [xbp-20h] BYREF
if ( GameToolbox::doWeHaveInternet() )
{
v2 = cocos2d::CCApplication::sharedApplication();
((void (__fastcall *)(cocos2d::CCApplication *, const char *))v2->openURL)(
v2,
"https://discord.com/invite/geometrydash");
a1->m_clickedDiscord = 1;
ftime(&v3);
a1->m_socialsDuration = (double)(v3.millitm + 1000 * (unsigned __int64)(v3.time & 0xFFFFF)) / 1000.0;
}
}