// // MPLobbyLayer::joinLobbyFinished from 0x5355c8 to 0x535750 (392 bytes) // // 1 xrefs: // > `non-virtual thunk to'MPLobbyLayer::joinLobbyFinished @ 0x535774 // // 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 MPLobbyLayer::joinLobbyFinished(MPLobbyLayer *a1, int a2) { GJMultiplayerManager *v4; // r0 cocos2d::CCArray *v5; // r8 cocos2d::CCString *v6; // r0 unsigned int v7; // r6 char *CString; // r0 int v9; // r9 int v10; // r3 cocos2d::CCString *v11; // r0 char *v12; // r0 cocos2d::CCLabelBMFont *m_lobbyLabel; // r5 void (__fastcall *setString)(cocos2d::CCLabelBMFont *__hidden, const unsigned __int8 *); // r7 cocos2d::CCString *v15; // r0 const char *v16; // r0 float v17; // s15 char *v18; // [sp+Ch] [bp-28h] int v19; // [sp+10h] [bp-24h] const unsigned __int8 *v20; // [sp+1Ch] [bp-18h] BYREF int v21; // [sp+20h] [bp-14h] BYREF int v22; // [sp+24h] [bp-10h] BYREF int v23; // [sp+28h] [bp-Ch] a1->m_lobbyID = a2; v4 = GJMultiplayerManager::sharedState(); v5 = (cocos2d::CCArray *)cocos2d::CCDictionary::objectForKey(v4->m_scoreArrays, a1->m_lobbyID); if ( v5 ) { v6 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"Game: %i", (const char *)a1->m_lobbyID); v7 = 0; CString = (char *)cocos2d::CCString::getCString(v6); sub_776584((int)&v20, CString); while ( v7 < cocos2d::CCArray::count(v5) ) { v9 = cocos2d::CCArray::objectAtIndex(v5, v7); v18 = *(char **)(v9 + 280); sub_775C20(&v21); v19 = v21; clock_gettime(0, (struct timespec *)&v22); v11 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"\n%i: %s - Last Action: %f", v18, v19, v10, ((double)v22 + (double)v23 / 1000000000.0 - *(double *)(v9 + 464)) / 1000.0); v12 = (char *)cocos2d::CCString::getCString(v11); sub_774544((int)&v20, v12); ++v7; sub_774008(&v21); } a1->m_lobbyLabel->setString(a1->m_lobbyLabel, v20); sub_774008(&v20); } else { m_lobbyLabel = a1->m_lobbyLabel; setString = m_lobbyLabel->setString; v15 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"MPLobbyLayer::joinLobbyFinished: %i", (const char *)a2); v16 = cocos2d::CCString::getCString(v15); setString(m_lobbyLabel, (const unsigned __int8 *)v16); } a1->m_awaitingLobby = 0; a1->updateComments(a1); if ( a1->m_awaitingLobby ) { a1->m_lobbyDelay = 2.0; } else { v17 = a1->m_lobbyDelay + 0.5; if ( v17 > 10.0 ) v17 = 10.0; a1->m_lobbyDelay = v17; } MPLobbyLayer::updateLobby(a1, a1->m_lobbyDelay); }
GD Web Decomp Icon

GD Web Decomp

Raw Source