//
// DailyLevelNode::create from 0x100231fd0 to 0x100232075 (165 bytes)
//
// 1 xrefs:
// > DailyLevelPage::createDailyNode @ 0x1002315ef
//
// 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
//
DailyLevelNode *__fastcall DailyLevelNode::create(GJGameLevel *a1, DailyLevelPage *a2, bool a3)
{
char *v4; // rbx
v4 = (char *)operator new(0x178u);
cocos2d::CCNode::CCNode(v4);
*(_QWORD *)v4 = off_1008E2158;
*((_QWORD *)v4 + 40) = &off_1008E24E0;
*(_OWORD *)(v4 + 328) = 0;
*((_QWORD *)v4 + 43) = 0;
sub_10028CC30(v4 + 352);
*((_WORD *)v4 + 184) = 0;
if ( DailyLevelNode::init((DailyLevelNode *)v4, a1, a2, a3) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v4);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v4 + 16LL))(v4);
return nullptr;
}
return (DailyLevelNode *)v4;
}