//
// CreatorLayer::onDailyLevel from 0x7dbb08 to 0x7dbb70 (104 bytes)
//
// 3 xrefs:
// > ??> @ 0xa83e8
// > CreatorLayer::init @ 0x7dd470
// > ??> @ 0x1544bd0
//
// 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 12:54:23 +0000
//
__int64 __fastcall CreatorLayer::onDailyLevel(CreatorLayer *this, cocos2d::CCObject *a2)
{
__int64 result; // x0
__int64 v4; // x0
__int64 v5; // x0
__int64 v6; // x0
result = (unsigned __int8)CreatorLayer::canPlayOnlineLevels(this);
if ( (_BYTE)result )
{
v4 = GameLevelManager::sharedState((GameLevelManager *)result);
GameLevelManager::markTimedLevelSeen(v4, 0);
v5 = *((_QWORD *)this + 56);
if ( v5 )
(*(void (__fastcall **)(__int64))(*(_QWORD *)v5 + 576LL))(v5);
v6 = DailyLevelPage::create(0);
return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v6 + 1312LL))(v6);
}
return result;
}