//
// LevelPage::create from 0x1004200a0 to 0x10042016d (205 bytes)
//
// 3 xrefs:
// > LevelSelectLayer::init @ 0x10041fa1f
// > LevelSelectLayer::init @ 0x10041fa31
// > LevelSelectLayer::init @ 0x10041fa43
//
// 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:30:15 +0000
//
char *LevelPage::create()
{
char *v0; // rbx
v0 = (char *)operator new(0x240u);
cocos2d::CCLayer::CCLayer(v0);
*(_QWORD *)v0 = off_100B40A88;
*((_QWORD *)v0 + 40) = off_100B40F20;
*((_QWORD *)v0 + 41) = &off_100B40F90;
*((_QWORD *)v0 + 42) = off_100B40FA8;
*((_QWORD *)v0 + 43) = off_100B40FC8;
*((_QWORD *)v0 + 44) = off_100B40FF0;
*((_QWORD *)v0 + 51) = &off_100B41020;
v0[416] = 0;
*(_OWORD *)(v0 + 424) = 0;
sub_100278600((_QWORD *)v0 + 65);
*((_OWORD *)v0 + 35) = 0;
if ( (unsigned __int8)LevelPage::init(v0) )
{
cocos2d::CCObject::autorelease(v0);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v0 + 16LL))(v0);
return nullptr;
}
return v0;
}