//
// CreatorLayer::onWeeklyLevel from 0x7dbb70 to 0x7dbbd8 (104 bytes)
//
// 3 xrefs:
// > ??> @ 0xa2f58
// > CreatorLayer::init @ 0x7dd44c
// > ??> @ 0x15448a0
//
// 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::onWeeklyLevel(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, 1);
v5 = *((_QWORD *)this + 57);
if ( v5 )
(*(void (__fastcall **)(__int64))(*(_QWORD *)v5 + 576LL))(v5);
v6 = DailyLevelPage::create(1);
return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v6 + 1312LL))(v6);
}
return result;
}