//
// DailyLevelPage::skipDailyLevel from 0xa6d180 to 0xa6d268 (232 bytes)
//
// 2 xrefs:
// > DailyLevelNode::FLAlert_Clicked @ 0xa6d28c
// > ??> @ 0xd3438
//
// 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
//
_QWORD *__fastcall DailyLevelPage::skipDailyLevel(_QWORD *this, DailyLevelNode *a2, GJGameLevel *a3)
{
DailyLevelNode *v3; // x20
_QWORD *v4; // x19
GameLevelManager *v5; // x0
int v6; // w21
unsigned int *v7; // x0
unsigned int *v8; // x0
GameLevelManager *ActiveDailyID; // x0
int v10; // w21
unsigned int *v11; // x0
GameLevelManager *v12; // x0
cocos2d::CCDelayTime *v13; // x0
cocos2d::CCSequence *v14; // x20
cocos2d::CCFiniteTimeAction *v15; // x0
cocos2d::CCAction *v16; // x0
v3 = (DailyLevelNode *)*(this + 90);
if ( v3 == a2 )
{
v4 = this;
v5 = (GameLevelManager *)*((unsigned int *)a3 + 230);
v6 = (_DWORD)v5 - *((_DWORD *)a3 + 231);
v7 = (unsigned int *)GameLevelManager::sharedState(v5);
this = (_QWORD *)GameLevelManager::getActiveDailyID(v7, *((_DWORD *)v4 + 183));
if ( (_DWORD)this == v6 )
{
v8 = (unsigned int *)GameLevelManager::sharedState((GameLevelManager *)this);
ActiveDailyID = (GameLevelManager *)GameLevelManager::getActiveDailyID(v8, *((_DWORD *)v4 + 183));
v10 = (int)ActiveDailyID;
v11 = (unsigned int *)GameLevelManager::sharedState(ActiveDailyID);
this = (_QWORD *)GameLevelManager::getDailyID(v11, *((_DWORD *)v4 + 183));
if ( v10 < (int)this )
{
DailyLevelPage::exitDailyNode((DailyLevelPage *)v4, v3, 0.0);
*((_BYTE *)v4 + 728) = (unsigned __int8)&dword_0 + 1;
v12 = (GameLevelManager *)GameLevelManager::sharedState((GameLevelManager *)((char *)&dword_0 + 1));
v13 = (cocos2d::CCDelayTime *)GameLevelManager::downloadLevel(
v12,
(const char *)*((unsigned int *)v4 + 184),
0,
0);
v14 = (cocos2d::CCSequence *)cocos2d::CCDelayTime::create(v13, 0.5);
v15 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCCallFunc::create(v4, DailyLevelPage::createNodeIfLoaded, 0);
v16 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v14, v15, 0);
return (_QWORD *)cocos2d::CCNode::runAction((cocos2d::CCNode *)v4, v16);
}
}
}
return this;
}