//
// EditLevelLayer::uploadActionFailed from 0x1000ec5f4 to 0x1000ec674 (128 bytes)
//
// 2 xrefs:
// > sub_1000EC690 @ 0x1000ec694
// > ??> @ 0x1007824b8
//
// 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::uploadActionFailed(EditLevelLayer *a1, int a2, int a3)
{
GJGameLevel *m_level; // x8
UploadActionPopup *m_descriptionPopup; // x20
void *__p[2]; // [xsp+8h] [xbp-28h] BYREF
char v7; // [xsp+1Fh] [xbp-11h]
m_level = a1->m_level;
if ( m_level )
{
if ( m_level->m_levelID.random - m_level->m_levelID.seed == a2 )
{
m_descriptionPopup = a1->m_descriptionPopup;
if ( m_descriptionPopup )
{
sub_100009900(__p, "Failed. Please try again later.");
UploadActionPopup::showFailMessage(m_descriptionPopup, __p);
if ( v7 < 0 )
operator delete(__p[0]);
a1->m_descriptionPopup->m_delegate = nullptr;
a1->m_descriptionPopup = nullptr;
}
}
}
}