//
// CreatorLayer::onEventLevel from 0x49388e to 0x4938c0 (50 bytes)
//
// 0 xrefs:
//
// 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:49:39 +0000
//
GameLevelManager *__fastcall CreatorLayer::onEventLevel(CreatorLayer *this, cocos2d::CCObject *a2)
{
GameLevelManager *result; // r0
int v4; // r0
int v5; // r0
result = (GameLevelManager *)CreatorLayer::canPlayOnlineLevels(this);
if ( result )
{
v4 = GameLevelManager::sharedState(result);
GameLevelManager::markTimedLevelSeen(v4, 2);
sub_4933A8(*((_DWORD *)this + 86), 0);
v5 = DailyLevelPage::create(2);
return (GameLevelManager *)(*(int (__fastcall **)(int))(*(_DWORD *)v5 + 656))(v5);
}
return result;
}