//
// MPLobbyLayer::uploadActionFinished from 0x5359cc to 0x535a7a (174 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'MPLobbyLayer::uploadActionFinished @ 0x535a8c
//
// 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::uploadActionFinished(MPLobbyLayer *a1, int a2, int a3)
{
UploadActionPopup *m_uploadPopup; // r8
int v6; // r2
int v7; // r3
char *v8; // [sp+4h] [bp-Ch] BYREF
char *v9; // [sp+8h] [bp-8h] BYREF
v8 = (char *)a2;
v9 = (char *)a3;
if ( a2 == a1->m_lobbyID && a1->m_uploadPopup )
{
sub_776584((int)&v8, "Unknown action finished");
if ( a3 == 58 )
{
sub_7753D4((int)&v8, "Did exit game");
a1->m_lobbyJoined = 1;
}
m_uploadPopup = a1->m_uploadPopup;
sub_776584((int)&v9, v8);
UploadActionPopup::showSuccessMessage((int)m_uploadPopup, &v9, v6, v7);
sub_774008(&v9);
if ( a1->m_lobbyJoined )
{
a1->m_uploadPopup->m_delegate = nullptr;
a1->m_uploadPopup = nullptr;
MPLobbyLayer::onBack(a1, nullptr);
}
sub_774008(&v8);
}
}