//
// DailyLevelPage::skipDailyLevel from 0x607030 to 0x6070d4 (164 bytes)
//
// 1 xrefs:
// > DailyLevelNode::FLAlert_Clicked @ 0x6070ea
//
// 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
//
DailyLevelNode **__fastcall DailyLevelPage::skipDailyLevel(DailyLevelNode **this, DailyLevelNode *a2, GJGameLevel *a3)
{
int v3; // r4
int v5; // r5
_DWORD *v6; // r0
_DWORD *v7; // r0
GameLevelManager *ActiveDailyID; // r5
_DWORD *v9; // r0
int v10; // r3
GameLevelManager *v11; // r0
GameLevelManager *v12; // r0
float v13; // r1
cocos2d::CCSequence *v14; // r6
cocos2d::CCFiniteTimeAction *v15; // r0
int v16; // r3
cocos2d::CCAction *v17; // r0
v3 = (int)this;
if ( a2 == *(this + 137) )
{
v5 = *((_DWORD *)a3 + 186) - *((_DWORD *)a3 + 187);
v6 = (_DWORD *)GameLevelManager::sharedState((GameLevelManager *)this);
this = (DailyLevelNode **)GameLevelManager::getActiveDailyID(v6, *(_DWORD *)(v3 + 556));
if ( (DailyLevelNode **)v5 == this )
{
v7 = (_DWORD *)GameLevelManager::sharedState((GameLevelManager *)this);
ActiveDailyID = (GameLevelManager *)GameLevelManager::getActiveDailyID(v7, *(_DWORD *)(v3 + 556));
v9 = (_DWORD *)GameLevelManager::sharedState(ActiveDailyID);
this = (DailyLevelNode **)GameLevelManager::getDailyID(v9, *(_DWORD *)(v3 + 556));
if ( (int)ActiveDailyID < (int)this )
{
v11 = (GameLevelManager *)DailyLevelPage::exitDailyNode(v3, a2, nullptr, v10);
*(_BYTE *)(v3 + 552) = 1;
v12 = (GameLevelManager *)GameLevelManager::sharedState(v11);
GameLevelManager::downloadLevel(v12, *(const char **)(v3 + 560), 0, nullptr);
v14 = (cocos2d::CCSequence *)cocos2d::CCDelayTime::create((cocos2d::CCDelayTime *)0x3F000000, v13);
v15 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCCallFunc::create(v3, DailyLevelPage::createNodeIfLoaded, 0);
v17 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v14, v15, 0, v16, DailyLevelPage::createNodeIfLoaded, 0);
return (DailyLevelNode **)cocos2d::CCNode::runAction((cocos2d::CCNode *)v3, v17);
}
}
}
return this;
}