//
// DailyLevelPage::create from 0xa6fd90 to 0xa6ff60 (464 bytes)
//
// 4 xrefs:
// > CreatorLayer::onDailyLevel @ 0x7dbb54
// > CreatorLayer::onWeeklyLevel @ 0x7dbbbc
// > CreatorLayer::onEventLevel @ 0x7dbc24
// > ??> @ 0xc5710
//
// 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 13:00:23 +0000
//
__int64 __fastcall DailyLevelPage::create(int a1)
{
__int64 v2; // x19
v2 = operator new(0x2E8u);
cocos2d::CCLayerColor::CCLayerColor((cocos2d::CCLayerColor *)v2);
*(_QWORD *)(v2 + 552) = 0;
*(_QWORD *)v2 = &off_1419A40;
*(_QWORD *)(v2 + 320) = off_1419F90;
*(_QWORD *)(v2 + 328) = &off_141A000;
*(_QWORD *)(v2 + 336) = off_141A018;
*(_QWORD *)(v2 + 344) = off_141A038;
*(_QWORD *)(v2 + 352) = off_141A060;
*(_QWORD *)(v2 + 408) = &off_141A090;
*(_QWORD *)(v2 + 432) = &off_141A110;
*(_QWORD *)(v2 + 544) = off_141A130;
*(_QWORD *)(v2 + 560) = 0;
*(_QWORD *)(v2 + 568) = 0;
*(_BYTE *)(v2 + 576) = 0;
*(_QWORD *)(v2 + 584) = 0;
*(_DWORD *)(v2 + 592) = 0;
*(_BYTE *)(v2 + 596) = 0;
*(_BYTE *)(v2 + 597) = 0;
*(_BYTE *)(v2 + 598) = 0;
*(_BYTE *)(v2 + 599) = 0;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v2 + 600));
*(_DWORD *)(v2 + 632) = -1;
*(_DWORD *)(v2 + 640) = -1;
*(_QWORD *)(v2 + 608) = 0;
*(_QWORD *)(v2 + 616) = 0;
*(_QWORD *)(v2 + 624) = 0;
*(_BYTE *)(v2 + 636) = 0;
*(_BYTE *)(v2 + 637) = 0;
*(_BYTE *)(v2 + 644) = 0;
*(_BYTE *)(v2 + 656) = 0;
*(_DWORD *)(v2 + 648) = 0;
*(_DWORD *)(v2 + 652) = 0;
*(_QWORD *)(v2 + 696) = 0;
*(_QWORD *)v2 = &off_1491EB0;
*(_QWORD *)(v2 + 320) = off_1492428;
*(_QWORD *)(v2 + 328) = &off_1492498;
*(_QWORD *)(v2 + 336) = off_14924B0;
*(_QWORD *)(v2 + 344) = off_14924D0;
*(_QWORD *)(v2 + 352) = off_14924F8;
*(_QWORD *)(v2 + 408) = &off_1492528;
*(_QWORD *)(v2 + 432) = &off_14925A8;
*(_QWORD *)(v2 + 544) = off_14925C8;
*(_QWORD *)(v2 + 664) = &off_1492610;
*(_QWORD *)(v2 + 672) = off_1492628;
*(_QWORD *)(v2 + 680) = &off_1492648;
*(_QWORD *)(v2 + 704) = 0;
*(_BYTE *)(v2 + 712) = 0;
*(_BYTE *)(v2 + 713) = 0;
*(_QWORD *)(v2 + 720) = 0;
*(_BYTE *)(v2 + 728) = 0;
*(_DWORD *)(v2 + 732) = 0;
*(_DWORD *)(v2 + 736) = 0;
if ( (unsigned __int8)DailyLevelPage::init(v2, a1) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v2);
return v2;
}
else
{
(*(void (__fastcall **)(__int64))(*(_QWORD *)v2 + 16LL))(v2);
return 0;
}
}