//
// DailyLevelPage::downloadAndCreateNode from 0x1001ba3f8 to 0x1001ba46c (116 bytes)
//
// 2 xrefs:
// > DailyLevelPage::dailyStatusFinished @ 0x1001ba2c0
// > DailyLevelPage::claimLevelReward @ 0x1001babe8
//
// 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 DailyLevelPage::downloadAndCreateNode(DailyLevelPage *a1)
{
GameLevelManager *v2; // x0
cocos2d::CCDelayTime *v3; // x20
char v4; // w0
__int64 v5; // x1
__int64 v6; // x2
__int64 v7; // x3
__int64 v8; // x4
__int64 v9; // x5
__int64 v10; // x6
__int64 v11; // x7
cocos2d::CCSequence *v12; // x1
cocos2d::SEL_CallFunc v13; // 0:x1.16
a1->m_downloadStarted = 1;
v2 = GameLevelManager::sharedState();
GameLevelManager::downloadLevel(v2, a1->m_downloadLevelID, 0, 0);
v3 = cocos2d::CCDelayTime::create(0.5);
v13.ptr = (void (*)(void))DailyLevelPage::createNodeIfLoaded;
v13.adj = 0;
v4 = (unsigned __int8)cocos2d::CCCallFunc::create(a1, v13);
v12 = sub_10018A494(v3, v5, v6, v7, v8, v9, v10, v11, v4);
cocos2d::CCNode::runAction(a1, v12);
}