//
// DailyLevelNode::create from 0x100216620 to 0x1002166c5 (165 bytes)
//
// 1 xrefs:
// > DailyLevelPage::createDailyNode @ 0x100215c2f
//
// 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:00 +0000
//
char *__fastcall DailyLevelNode::create(__int64 a1, __int64 a2, unsigned __int8 a3)
{
char *v4; // rbx
v4 = (char *)operator new(0x178u);
cocos2d::CCNode::CCNode(v4);
*(_QWORD *)v4 = off_100AE6868;
*((_QWORD *)v4 + 40) = &off_100AE6C00;
*(_OWORD *)(v4 + 328) = 0;
*((_QWORD *)v4 + 43) = 0;
sub_1002782A0(v4 + 352);
*((_WORD *)v4 + 184) = 0;
if ( (unsigned __int8)DailyLevelNode::init(v4, a1, a2, a3) )
{
cocos2d::CCObject::autorelease(v4);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v4 + 16LL))(v4);
return nullptr;
}
return v4;
}