//
// MPLobbyLayer::onClosePopup from 0x535984 to 0x5359c2 (62 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'MPLobbyLayer::onClosePopup @ 0x5359c6
//
// 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 MPLobbyLayer::onClosePopup(MPLobbyLayer *a1, UploadActionPopup *a2)
{
UploadActionPopup::closePopup(a2);
if ( a2 == a1->m_uploadPopup )
{
if ( a2->m_succeeded && a2->getTag(a2) == 1 )
MPLobbyLayer::onBack(a1, nullptr);
a1->m_uploadPopup->m_delegate = nullptr;
a1->m_uploadPopup = nullptr;
}
}