//
// DailyLevelPage::downloadAndCreateNode from 0xa6cf98 to 0xa6d008 (112 bytes)
//
// 3 xrefs:
// > DailyLevelPage::dailyStatusFinished @ 0xa6dee8
// > DailyLevelPage::claimLevelReward @ 0xa6efa8
// > ??> @ 0xa70e0
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 13:00:21 +0000
//
__int64 __fastcall DailyLevelPage::downloadAndCreateNode(DailyLevelPage *this)
{
GameLevelManager *v2; // x0
cocos2d::CCDelayTime *v3; // x0
cocos2d::CCSequence *v4; // x20
cocos2d::CCFiniteTimeAction *v5; // x0
cocos2d::CCAction *v6; // x0
*((_BYTE *)this + 728) = (unsigned __int8)&dword_0 + 1;
v2 = (GameLevelManager *)GameLevelManager::sharedState((GameLevelManager *)((char *)&dword_0 + 1));
v3 = (cocos2d::CCDelayTime *)GameLevelManager::downloadLevel(v2, (const char *)*((unsigned int *)this + 184), 0, 0);
v4 = (cocos2d::CCSequence *)cocos2d::CCDelayTime::create(v3, 0.5);
v5 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCCallFunc::create(this, DailyLevelPage::createNodeIfLoaded, 0);
v6 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v4, v5, 0);
return cocos2d::CCNode::runAction(this, v6);
}