//
// DailyLevelPage::downloadAndCreateNode from 0x912fe0 to 0x913050 (112 bytes)
//
// 3 xrefs:
// > DailyLevelPage::claimLevelReward @ 0x91577c
// > DailyLevelPage::dailyStatusFinished @ 0x915dec
// > ??> @ 0x7d358
//
// 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; // x0
cocos2d::CCSequence *v3; // x20
cocos2d::CCFiniteTimeAction *v4; // x0
cocos2d::CCAction *v5; // x0
a1->m_downloadStarted = (unsigned __int8)&dword_0 + 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);
v5 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v3, v4, 0);
cocos2d::CCNode::runAction(a1, v5);
}