//
// DailyLevelPage::create from 0x14016f2e0 to 0x14016f42a (330 bytes)
//
// 4 xrefs:
// > CreatorLayer::onDailyLevel @ 0x14013831a
// > CreatorLayer::onWeeklyLevel @ 0x1401383ad
// > CreatorLayer::onEventLevel @ 0x14013843d
// > ??> @ 0x1409182e4
//
// 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 11:27:30 +0000
//
// Hidden C++ exception states: #wind=1
_QWORD *__fastcall DailyLevelPage::create(unsigned int a1)
{
_QWORD *v2; // rdi
v2 = operator new(0x2E8u);
FLAlertLayer::FLAlertLayer((__int64)v2);
*v2 = &DailyLevelPage::`vftable';
v2[40] = &DailyLevelPage::`vftable';
v2[41] = &DailyLevelPage::`vftable';
v2[42] = &DailyLevelPage::`vftable';
v2[43] = &DailyLevelPage::`vftable';
v2[44] = &DailyLevelPage::`vftable';
v2[51] = &DailyLevelPage::`vftable';
v2[54] = &DailyLevelPage::`vftable';
v2[68] = &DailyLevelPage::`vftable';
v2[83] = &DailyLevelPage::`vftable';
v2[84] = &DailyLevelPage::`vftable';
v2[85] = &DailyLevelPage::`vftable';
v2[87] = 0;
v2[88] = 0;
*((_WORD *)v2 + 356) = 0;
v2[90] = 0;
*((_BYTE *)v2 + 728) = 0;
*(_QWORD *)((char *)v2 + 732) = 0;
if ( (unsigned __int8)DailyLevelPage::init(v2, a1) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v2);
return v2;
}
else
{
(*(void (__fastcall **)(_QWORD *, __int64))(*v2 + 8LL))(v2, 1);
return nullptr;
}
}