//
// EditLevelLayer::uploadActionFailed from 0x3b6150 to 0x3b61c2 (114 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'EditLevelLayer::uploadActionFailed @ 0x3b61d0
//
// 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::uploadActionFailed(EditLevelLayer *a1, int a2, int a3)
{
GJGameLevel *m_level; // r2
UploadActionPopup *m_descriptionPopup; // r7
_BYTE v6[4]; // [sp+8h] [bp-Ch] BYREF
m_level = a1->m_level;
if ( m_level && m_level->m_levelID.random - m_level->m_levelID.seed == a2 )
{
m_descriptionPopup = a1->m_descriptionPopup;
if ( m_descriptionPopup )
{
sub_776584((int)v6, "Failed. Please try again later.");
UploadActionPopup::showFailMessage(m_descriptionPopup, (std::string)v6);
sub_774008(v6);
a1->m_descriptionPopup->m_delegate = nullptr;
a1->m_descriptionPopup = nullptr;
}
}
}