//
// MPLobbyLayer::joinLobbyFailed from 0xb057d8 to 0xb0582c (84 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'MPLobbyLayer::joinLobbyFailed @ 0xb05830
// > ??> @ 0xe6d28
// > ??> @ 0x14b1198
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 13:01:23 +0000
//
__int64 __fastcall MPLobbyLayer::joinLobbyFailed(__int64 a1, const char *a2)
{
__int64 v3; // x20
void (__fastcall *v4)(__int64, __int64); // x21
cocos2d::CCString *v5; // x0
__int64 CString; // x0
v3 = *(_QWORD *)(a1 + 456);
v4 = *(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v3 + 928LL);
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, *(float *)(a1 + 488));
}