//
// DailyLevelPage::downloadAndCreateNode from 0x4d3dd0 to 0x4d3e24 (84 bytes)
//
// 2 xrefs:
// > DailyLevelPage::claimLevelReward @ 0x4d57a4
// > DailyLevelPage::dailyStatusFinished @ 0x4d5ad4
//
// 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 DailyLevelPage::downloadAndCreateNode(DailyLevelPage *a1)
{
GameLevelManager *v2; // r0
cocos2d::CCSequence *v3; // r6
cocos2d::CCFiniteTimeAction *v4; // r0
int v5; // r3
cocos2d::CCAction *v6; // r0
a1->m_downloadStarted = 1;
v2 = GameLevelManager::sharedState();
GameLevelManager::downloadLevel(v2, a1->m_downloadLevelID, 0, 0);
v3 = (cocos2d::CCSequence *)cocos2d::CCDelayTime::create(0.5);
v4 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCCallFunc::create(a1, DailyLevelPage::createNodeIfLoaded, 0);
v6 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v3, v4, 0, v5, DailyLevelPage::createNodeIfLoaded, 0);
cocos2d::CCNode::runAction(a1, v6);
}