//
// ChallengesPage::tryGetChallenges from 0x140086060 to 0x1400860d9 (121 bytes)
//
// 2 xrefs:
// > ChallengesPage::challengeStatusFailed @ 0x140085fee
// > ??> @ 0x1406c6c30
//
// 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
//
// Hidden C++ exception states: #wind=1
void ChallengesPage::tryGetChallenges(ChallengesPage *a1)
{
LoadingCircle *m_circle; // rcx
GameLevelManager *v2; // rcx
void *v3; // [rsp+30h] [rbp+8h]
if ( a1->m_triedToLoad )
{
m_circle = a1->m_circle;
if ( m_circle )
m_circle->setVisible(m_circle, 0);
}
else
{
a1->m_triedToLoad = 1;
v2 = (GameLevelManager *)qword_1406C2EC0;
if ( !qword_1406C2EC0 )
{
v3 = operator new(0x3D0u);
qword_1406C2EC0 = sub_140141280(v3);
(*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2EC0 + 72LL))(qword_1406C2EC0);
v2 = (GameLevelManager *)qword_1406C2EC0;
}
GameLevelManager::getGJChallenges(v2);
}
}