//
// MPLobbyLayer::onBtn1 from 0x66a5c0 to 0x66a650 (144 bytes)
//
// 0 xrefs:
//
// 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::onBtn1(MPLobbyLayer *this, cocos2d::CCObject *a2)
{
char **v3; // r4
int v5[3]; // [sp+18h] [bp-14h] BYREF
memset(v5, 0, sizeof(v5));
std::string::__init(v5, "Do you want to leave the lobby and exit the multiplayer game?", 0x3Du);
v3 = (char **)FLAlertLayer::create(
(int)this + 328,
(cocos2d::CCLabelBMFont *)"Exit Game",
(int)v5,
(ButtonSprite *)"Cancel",
(ButtonSprite *)"Exit",
380.0,
0,
0,
1.0);
std::string::~string((int)v5);
ButtonSprite::updateBGImage(v3[121], "GJ_button_06.png");
(*((void (__fastcall **)(char **, int))*v3 + 9))(v3, 1);
return (*((int (__fastcall **)(char **))*v3 + 164))(v3);
}