//
// LevelSelectLayer::create from 0x10041f270 to 0x10041f354 (228 bytes)
//
// 0 xrefs:
//
// 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:14 +0000
//
_QWORD *__fastcall LevelSelectLayer::create(unsigned int a1)
{
_QWORD *v1; // rbx
v1 = operator new(0x1E0u);
cocos2d::CCLayer::CCLayer(v1);
*v1 = off_100B41038;
v1[40] = off_100B414D8;
v1[41] = &off_100B41548;
v1[42] = off_100B41560;
v1[43] = off_100B41580;
v1[44] = off_100B415A8;
v1[51] = off_100B415D8;
v1[52] = &off_100B41608;
*((_DWORD *)v1 + 106) = 0;
v1[59] = 0;
*((_OWORD *)v1 + 27) = 0;
*((_OWORD *)v1 + 28) = 0;
*((_BYTE *)v1 + 464) = 0;
if ( (unsigned __int8)LevelSelectLayer::init(v1, a1) )
{
cocos2d::CCObject::autorelease(v1);
}
else
{
(*(void (__fastcall **)(_QWORD *))(*v1 + 16LL))(v1);
return nullptr;
}
return v1;
}