//
// CreatorLayer::onFeaturedLevels from 0x7dba44 to 0x7dba9c (88 bytes)
//
// 3 xrefs:
// > ??> @ 0xf50f8
// > CreatorLayer::init @ 0x7dd3e0
// > ??> @ 0x15476d0
//
// 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::onFeaturedLevels(CreatorLayer *this, cocos2d::CCObject *a2)
{
__int64 result; // x0
cocos2d::CCDirector *v3; // x19
LevelBrowserLayer *v4; // x0
GJSearchObject *v5; // x1
cocos2d::CCTransitionFade *v6; // x0
cocos2d::CCScene *v7; // x1
cocos2d::CCScene *v8; // x0
GameManager *v9; // x0
result = (unsigned __int8)CreatorLayer::canPlayOnlineLevels(this);
if ( (_BYTE)result )
{
v3 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector((cocos2d::CCDirector *)result);
v4 = (LevelBrowserLayer *)GJSearchObject::create(6);
v6 = (cocos2d::CCTransitionFade *)LevelBrowserLayer::scene(v4, v5);
v8 = (cocos2d::CCScene *)cocos2d::CCTransitionFade::create(v6, 0.5, v7);
v9 = (GameManager *)cocos2d::CCDirector::pushScene(v3, v8);
result = GameManager::sharedState(v9);
*(_DWORD *)(result + 708) = 1;
}
return result;
}