//
// DailyLevelPage::downloadAndCreateNode from 0x100250050 to 0x1002500c4 (116 bytes)
//
// 2 xrefs:
// > DailyLevelPage::dailyStatusFinished @ 0x10024ff18
// > DailyLevelPage::claimLevelReward @ 0x100250880
//
// 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 11:01:31 +0000
//
double __fastcall DailyLevelPage::downloadAndCreateNode(__int64 a1)
{
__int64 v2; // x0
float *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
__int64 v12; // x1
double result; // d0
*(_BYTE *)(a1 + 728) = 1;
v2 = GameLevelManager::sharedState();
GameLevelManager::downloadLevel(v2, *(unsigned int *)(a1 + 736), 0, 0);
v3 = cocos2d::CCDelayTime::create(0.5);
v4 = (unsigned __int8)cocos2d::CCCallFunc::create(a1, (__int64)DailyLevelPage::createNodeIfLoaded, 0);
v12 = sub_10021D420((__int64)v3, v5, v6, v7, v8, v9, v10, v11, v4);
*(_QWORD *)&result = cocos2d::CCNode::runAction(a1, v12).n128_u64[0];
return result;
}