//
// DailyLevelPage::downloadAndCreateNode from 0x100216120 to 0x100216187 (103 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: pc, 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 12:27:00 +0000
//
__int64 __fastcall DailyLevelPage::downloadAndCreateNode(__int64 a1, double a2)
{
__int64 v2; // rax
int v3; // r14d
int v4; // eax
int v5; // ecx
int v6; // r8d
int v7; // r9d
__int64 v8; // rax
*(_BYTE *)(a1 + 728) = 1;
v2 = GameLevelManager::sharedState(a2);
GameLevelManager::downloadLevel(v2, *(unsigned int *)(a1 + 736), 0, 0);
v3 = cocos2d::CCDelayTime::create(0.5);
v4 = cocos2d::CCCallFunc::create(a1, DailyLevelPage::createNodeIfLoaded, 0);
v8 = sub_10039EB60(v3, v4, 0, v5, v6, v7);
return cocos2d::CCNode::runAction(a1, v8);
}