//
// DailyLevelPage::create from 0x1400ce400 to 0x1400ce536 (310 bytes)
//
// 4 xrefs:
// > CreatorLayer::onDailyLevel @ 0x14009e3c6
// > CreatorLayer::onWeeklyLevel @ 0x14009e3e9
// > CreatorLayer::onEventLevel @ 0x14009e409
// > ??> @ 0x1406c8514
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
// Hidden C++ exception states: #wind=1
DailyLevelPage *DailyLevelPage::create(GJTimedLevelType a1)
{
char *v2; // rdi
v2 = (char *)operator new(0x2C8u);
FLAlertLayer::FLAlertLayer((FLAlertLayer *)v2);
*(_QWORD *)v2 = &DailyLevelPage::`vftable';
*((_QWORD *)v2 + 40) = &DailyLevelPage::`vftable';
*((_QWORD *)v2 + 41) = &DailyLevelPage::`vftable';
*((_QWORD *)v2 + 42) = &DailyLevelPage::`vftable';
*((_QWORD *)v2 + 43) = &DailyLevelPage::`vftable';
*((_QWORD *)v2 + 44) = &DailyLevelPage::`vftable';
*((_QWORD *)v2 + 51) = &DailyLevelPage::`vftable';
*((_QWORD *)v2 + 54) = &DailyLevelPage::`vftable';
*((_QWORD *)v2 + 79) = &DailyLevelPage::`vftable';
*((_QWORD *)v2 + 80) = &DailyLevelPage::`vftable';
*((_QWORD *)v2 + 81) = &DailyLevelPage::`vftable';
*((_QWORD *)v2 + 83) = 0;
*((_QWORD *)v2 + 84) = 0;
*((_WORD *)v2 + 340) = 0;
*((_QWORD *)v2 + 86) = 0;
v2[696] = 0;
*(_QWORD *)(v2 + 700) = 0;
if ( DailyLevelPage::init((DailyLevelPage *)v2, a1) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v2);
return (DailyLevelPage *)v2;
}
else
{
(*(void (__fastcall **)(char *, __int64))(*(_QWORD *)v2 + 8LL))(v2, 1);
return nullptr;
}
}