//
// DailyLevelPage::tryGetDailyStatus from 0x1400d0040 to 0x1400d00ce (142 bytes)
//
// 3 xrefs:
// > DailyLevelPage::updateTimers @ 0x1400d1a94
// > DailyLevelPage::dailyStatusFailed @ 0x1400cff33
// > ??> @ 0x1406c8550
//
// 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 DailyLevelPage::tryGetDailyStatus(DailyLevelPage *a1)
{
GameLevelManager *v2; // rcx
void *v3; // [rsp+30h] [rbp+8h]
if ( a1->m_gettingDailyStatus )
{
a1->m_timeCircle->setVisible(a1->m_timeCircle, 0);
a1->m_nodeCircle->setVisible(a1->m_nodeCircle, 0);
}
else
{
a1->m_gettingDailyStatus = 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::getGJDailyLevelState(v2, a1->m_type);
}
}