//
// MPLobbyLayer::onBtn1 from 0x100493d50 to 0x100493e2d (221 bytes)
//
// 0 xrefs:
//
// 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 __fastcall MPLobbyLayer::onBtn1(MPLobbyLayer *a1, cocos2d::CCObject *a2)
{
ButtonSprite **v2; // rbx
_QWORD v3[2]; // [rsp+0h] [rbp-20h] BYREF
void *__p; // [rsp+10h] [rbp-10h]
__p = operator new(0x40u);
v3[0] = 65;
v3[1] = 61;
strcpy((char *)__p, "Do you want to leave the lobby and exit the multiplayer game?");
v2 = (ButtonSprite **)FLAlertLayer::create(
&a1->FLAlertLayerProtocol,
"Exit Game",
v3,
"Cancel",
"Exit",
0,
380.0,
0.0,
1.0);
if ( (v3[0] & 1) != 0 )
operator delete(__p);
ButtonSprite::updateBGImage(v2[75], "GJ_button_06.png");
(*(void (__fastcall **)(ButtonSprite **, __int64))&(*v2)->m_fVertexZ)(v2, 1);
(*(void (__fastcall **)(ButtonSprite **))&(*v2)[1].m_fTextureTop)(v2);
}