//
// ChallengesPage::tryGetChallenges from 0x1000329ec to 0x100032a30 (68 bytes)
//
// 2 xrefs:
// > ChallengesPage::updateTimers @ 0x1000324a4
// > ChallengesPage::challengeStatusFailed @ 0x100032980
//
// 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 ChallengesPage::tryGetChallenges(ChallengesPage *a1)
{
LoadingCircle *m_circle; // x0
GameLevelManager *v2; // x0
if ( a1->m_triedToLoad )
{
m_circle = a1->m_circle;
if ( m_circle )
((void (__fastcall *)(LoadingCircle *, _QWORD))m_circle->setVisible)(m_circle, 0);
}
else
{
a1->m_triedToLoad = 1;
v2 = GameLevelManager::sharedState();
GameLevelManager::getGJChallenges(v2);
}
}