//
// RateStarsLayer::uploadActionFailed from 0x455954 to 0x4559ba (102 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'RateStarsLayer::uploadActionFailed @ 0x4559c8
//
// 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 RateStarsLayer::uploadActionFailed(RateStarsLayer *a1, int a2, int a3)
{
UploadActionPopup *m_popup; // r7
_BYTE v5[4]; // [sp+8h] [bp-Ch] BYREF
if ( a2 == a1->m_levelID )
{
m_popup = a1->m_popup;
if ( m_popup )
{
sub_776584((int)v5, "Failed. Please try again later.");
UploadActionPopup::showFailMessage(m_popup, (std::string)v5);
sub_774008(v5);
a1->m_popup->m_delegate = nullptr;
a1->m_popup = nullptr;
}
}
}