//
// EditLevelLayer::uploadActionFinished from 0x1000ec500 to 0x1000ec5b8 (184 bytes)
//
// 2 xrefs:
// > sub_1000EC5EC @ 0x1000ec5f0
// > ??> @ 0x1007824b0
//
// 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 EditLevelLayer::uploadActionFinished(EditLevelLayer *a1, int a2, int a3)
{
GJGameLevel *m_level; // x8
UploadActionPopup *m_descriptionPopup; // x20
char *v6; // x1
void *__p[2]; // [xsp+0h] [xbp-50h] BYREF
char v8; // [xsp+17h] [xbp-39h]
void *v9[2]; // [xsp+18h] [xbp-38h] BYREF
char v10; // [xsp+2Fh] [xbp-21h]
m_level = a1->m_level;
if ( m_level && m_level->m_levelID.random - m_level->m_levelID.seed == a2 && a1->m_descriptionPopup )
{
sub_100009900(v9, "Description updated!");
m_descriptionPopup = a1->m_descriptionPopup;
if ( v10 >= 0 )
v6 = (char *)v9;
else
v6 = (char *)v9[0];
sub_100009900(__p, v6);
UploadActionPopup::showSuccessMessage(m_descriptionPopup, __p);
if ( v8 < 0 )
operator delete(__p[0]);
a1->m_descriptionPopup->m_delegate = nullptr;
a1->m_descriptionPopup = nullptr;
if ( v10 < 0 )
operator delete(v9[0]);
}
}