//
// GauntletLayer::loadLevelsFailed from 0x4d9f88 to 0x4da00c (132 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'GauntletLayer::loadLevelsFailed @ 0x4da014
//
// 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 GauntletLayer::loadLevelsFailed(GauntletLayer *a1, const char *a2, int a3)
{
GameLevelManager *v5; // r0
int v6; // r8
const char *v7; // [sp+4h] [bp-4h] BYREF
int v8; // [sp+8h] [bp+0h] BYREF
v7 = a2;
v8 = a3;
v5 = GameLevelManager::sharedState();
GameLevelManager::getGauntletSearchKey((GameLevelManager *)&v7, (int)v5, (const char *)a1->m_gauntletType);
sub_776584((int)&v8, (char *)a2);
v6 = sub_774DBC(&v7, &v8);
sub_774008(&v8);
if ( !v6 )
{
a1->m_loadingCircle->setVisible(a1->m_loadingCircle, 0);
a1->m_tryAgainText->setVisible(a1->m_tryAgainText, 1);
}
sub_774008(&v7);
}