// // GJMultiplayerManager::joinLobby from 0x5108d4 to 0x5109ea (278 bytes) // // 1 xrefs: // > MPLobbyLayer::onUpdateLobby @ 0x535452 // // 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 GJMultiplayerManager::joinLobby(GJMultiplayerManager *a1, int a2) { cocos2d::CCString *v4; // r0 char *CString; // r10 int LastCommentIDForGame; // r6 cocos2d::CCString *v7; // r0 const char *v8; // r0 cocos2d::CCString *v9; // r0 char *v10; // r0 char v12; // [sp+1Ch] [bp-14h] BYREF char *v13; // [sp+20h] [bp-10h] BYREF const char *v14; // [sp+24h] [bp-Ch] BYREF char *v15; // [sp+28h] [bp-8h] BYREF v4 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i_joinLobby", (const char *)a2); CString = (char *)cocos2d::CCString::getCString(v4); if ( GJMultiplayerManager::isDLActive(a1, CString) ) return 0; GJMultiplayerManager::addDLToActive(a1, CString); GJMultiplayerManager::getBasePostString((GJMultiplayerManager *)&v12, (char *)a1); LastCommentIDForGame = GJMultiplayerManager::getLastCommentIDForGame(a1, a2); v7 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"%c%s%s%c%c%s", (const char *)&dword_54 + 3, "mfv", "3899", 103, 99, &aO1i2r3e45s7t89[13]); v8 = cocos2d::CCString::getCString(v7); v9 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"&gameID=%i&lastCommentID=%i&secret=%s", (const char *)a2, LastCommentIDForGame, v8); v10 = (char *)cocos2d::CCString::getCString(v9); sub_774544((int)&v12, v10); sub_776584((int)&v13, "https://www.geometrydash.com/database/joinMPLobby.php"); sub_775C20(&v14); sub_776584((int)&v15, CString); GJMultiplayerManager::ProcessHttpRequest(a1, &v13, &v14, &v15, 57); sub_774008(&v15); sub_774008(&v14); sub_774008(&v13); sub_774008(&v12); return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source