//
// EditLevelLayer::uploadActionFinished from 0x3b60ac to 0x3b613e (146 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'EditLevelLayer::uploadActionFinished @ 0x3b614c
//
// 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 EditLevelLayer::uploadActionFinished(EditLevelLayer *a1, int a2, int a3)
{
GJGameLevel *m_level; // r2
UploadActionPopup *m_descriptionPopup; // r8
char *v6; // [sp+4h] [bp-Ch] BYREF
int v7; // [sp+8h] [bp-8h] BYREF
v6 = (char *)a2;
v7 = a3;
m_level = a1->m_level;
if ( m_level && m_level->m_levelID.random - m_level->m_levelID.seed == a2 )
{
if ( a1->m_descriptionPopup )
{
sub_776584((int)&v6, "Description updated!");
m_descriptionPopup = a1->m_descriptionPopup;
sub_776584((int)&v7, v6);
UploadActionPopup::showSuccessMessage(m_descriptionPopup, (std::string)&v7);
sub_774008(&v7);
a1->m_descriptionPopup->m_delegate = nullptr;
a1->m_descriptionPopup = nullptr;
sub_774008(&v6);
}
}
}