//
// CreatorLayer::onEventLevel from 0x1002835f0 to 0x10028363c (76 bytes)
//
// 1 xrefs:
// > CreatorLayer::init @ 0x10028246f
//
// This function is hookable on this platform (idp: pc, 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:27:44 +0000
//
__int64 __fastcall CreatorLayer::onEventLevel(__int64 a1, double a2)
{
__int64 v2; // rax
__int64 v3; // rdi
void *v4; // rax
v2 = GameLevelManager::sharedState(a2);
GameLevelManager::markTimedLevelSeen(v2, 2);
v3 = *(_QWORD *)(a1 + 464);
if ( v3 )
(*(void (__fastcall **)(__int64))(*(_QWORD *)v3 + 576LL))(v3);
v4 = DailyLevelPage::create(2u);
return (*(__int64 (__fastcall **)(void *))(*(_QWORD *)v4 + 1312LL))(v4);
}