//
// ChallengesPage::challengeStatusFailed from 0x4cba10 to 0x4cba70 (96 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'ChallengesPage::challengeStatusFailed @ 0x4cba7c
//
// 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 ChallengesPage::challengeStatusFailed(ChallengesPage *a1)
{
GameStatsManager *v2; // r0
cocos2d::CCSequence *v3; // r6
cocos2d::CCFiniteTimeAction *v4; // r0
int v5; // r3
cocos2d::CCAction *v6; // r0
LoadingCircle *m_circle; // r0
v2 = GameStatsManager::sharedState();
if ( !GameStatsManager::areChallengesLoaded(v2) )
{
v3 = (cocos2d::CCSequence *)cocos2d::CCDelayTime::create(5.0);
v4 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCCallFunc::create(a1, ChallengesPage::tryGetChallenges, 0);
v6 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v3, v4, 0, v5, ChallengesPage::tryGetChallenges, 0);
cocos2d::CCNode::runAction(a1, v6);
}
m_circle = a1->m_circle;
if ( m_circle )
{
if ( a1->m_triedToLoad )
m_circle->setVisible(m_circle, 0);
}
}