//
// MPLobbyLayer::onBtn1 from 0xb05834 to 0xb05978 (324 bytes)
//
// 1 xrefs:
// > ??> @ 0x5f6b0
//
// 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::onBtn1(MPLobbyLayer *this, cocos2d::CCObject *a2)
{
ButtonSprite **v3; // x19
_QWORD v5[2]; // [xsp+20h] [xbp+20h] BYREF
void *v6; // [xsp+30h] [xbp+30h]
v6 = (void *)operator new(0x40u);
v5[1] = 61;
v5[0] = 65;
strcpy((char *)v6, "Do you want to leave the lobby and exit the multiplayer game?");
v3 = (ButtonSprite **)FLAlertLayer::create(
(__int64)this + 432,
(cocos2d::CCLabelBMFont *)"Exit Game",
(char *)v5,
(ButtonSprite *)"Cancel",
(ButtonSprite *)"Exit",
0,
380.0,
0.0,
1.0);
if ( (v5[0] & 1) != 0 )
operator delete(v6);
ButtonSprite::updateBGImage(v3[77], "GJ_button_06.png");
(*((void (__fastcall **)(ButtonSprite **, __int64))*v3 + 9))(v3, 1);
(*((void (__fastcall **)(ButtonSprite **))*v3 + 164))(v3);
return _stack_chk_guard;
}