//
// MPLobbyLayer::joinLobbyFailed from 0x66a500 to 0x66a52e (46 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'MPLobbyLayer::joinLobbyFailed @ 0x66a538
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:55:45 +0000
//
int __fastcall MPLobbyLayer::joinLobbyFailed(int a1, const char *a2)
{
int v3; // r5
void (__fastcall *v4)(int, int); // r6
cocos2d::CCString *v5; // r0
int CString; // r0
v3 = *(_DWORD *)(a1 + 340);
v4 = *(void (__fastcall **)(int, int))(*(_DWORD *)v3 + 464);
v5 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(
(cocos2d::CCString *)"MPLobbyLayer::joinLobbyFailed: %i - %i",
a2);
CString = cocos2d::CCString::getCString(v5);
v4(v3, CString);
return MPLobbyLayer::updateLobby((MPLobbyLayer *)a1, *(cocos2d::CCDelayTime **)(a1 + 356));
}