//
// DailyLevelPage::downloadAndCreateNode from 0x606eb8 to 0x606f0c (84 bytes)
//
// 2 xrefs:
// > DailyLevelPage::claimLevelReward @ 0x607cc0
// > DailyLevelPage::dailyStatusFinished @ 0x609062
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:54:45 +0000
//
int __fastcall DailyLevelPage::downloadAndCreateNode(DailyLevelPage *this)
{
GameLevelManager *v2; // r0
float v3; // r1
cocos2d::CCSequence *v4; // r6
cocos2d::CCFiniteTimeAction *v5; // r0
int v6; // r3
cocos2d::CCAction *v7; // r0
*((_BYTE *)this + 552) = 1;
v2 = (GameLevelManager *)GameLevelManager::sharedState(this);
GameLevelManager::downloadLevel(v2, *((const char **)this + 140), 0, nullptr);
v4 = (cocos2d::CCSequence *)cocos2d::CCDelayTime::create((cocos2d::CCDelayTime *)0x3F000000, v3);
v5 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCCallFunc::create(this, DailyLevelPage::createNodeIfLoaded, 0);
v7 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v4, v5, 0, v6, DailyLevelPage::createNodeIfLoaded, 0);
return cocos2d::CCNode::runAction(this, v7);
}