//
// DailyLevelNode::create from 0xa6ea94 to 0xa6eb78 (228 bytes)
//
// 2 xrefs:
// > DailyLevelPage::createDailyNode @ 0xa6ec10
// > ??> @ 0x87550
//
// 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:22 +0000
//
__int64 __fastcall DailyLevelNode::create(DailyLevelNode *this, GJGameLevel *a2, DailyLevelPage *a3)
{
unsigned __int8 v5; // w20
__int64 v6; // x19
v5 = (unsigned __int8)a3;
v6 = operator new(0x178u);
cocos2d::CCNode::CCNode((cocos2d::CCNode *)v6);
*(_QWORD *)(v6 + 328) = 0;
*(_QWORD *)(v6 + 336) = 0;
*(_QWORD *)v6 = &off_1492670;
*(_QWORD *)(v6 + 320) = &off_1492A08;
*(_QWORD *)(v6 + 344) = 0;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v6 + 352));
*(_BYTE *)(v6 + 368) = 0;
*(_BYTE *)(v6 + 369) = 0;
if ( (unsigned __int8)DailyLevelNode::init((DailyLevelNode *)v6, this, a2, v5) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v6);
return v6;
}
else
{
(*(void (__fastcall **)(__int64))(*(_QWORD *)v6 + 16LL))(v6);
return 0;
}
}