//
// LevelInfoLayer::create from 0x1002a9ca0 to 0x1002a9e63 (451 bytes)
//
// 1 xrefs:
// > LevelInfoLayer::scene @ 0x1002a9c75
//
// 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:57 +0000
//
char *__fastcall LevelInfoLayer::create(__int64 a1, unsigned __int8 a2)
{
char *v2; // rbx
v2 = (char *)operator new(0x2F0u);
cocos2d::CCLayer::CCLayer(v2);
*(_QWORD *)v2 = off_100B0DE50;
*((_QWORD *)v2 + 40) = off_100B0E348;
*((_QWORD *)v2 + 41) = &off_100B0E3B8;
*((_QWORD *)v2 + 42) = off_100B0E3D0;
*((_QWORD *)v2 + 43) = off_100B0E3F0;
*((_QWORD *)v2 + 44) = off_100B0E418;
*((_QWORD *)v2 + 51) = off_100B0E448;
*((_QWORD *)v2 + 52) = off_100B0E468;
*((_QWORD *)v2 + 53) = &off_100B0E488;
*((_QWORD *)v2 + 54) = &off_100B0E4A0;
*((_QWORD *)v2 + 55) = &off_100B0E4B8;
*((_QWORD *)v2 + 56) = off_100B0E4D0;
*((_QWORD *)v2 + 57) = &off_100B0E4F0;
*((_QWORD *)v2 + 58) = &off_100B0E508;
*((_QWORD *)v2 + 59) = off_100B0E520;
*((_QWORD *)v2 + 60) = &off_100B0E578;
v2[488] = 0;
*((_OWORD *)v2 + 31) = 0;
*((_OWORD *)v2 + 32) = 0;
*((_OWORD *)v2 + 33) = 0;
*((_OWORD *)v2 + 34) = 0;
*((_OWORD *)v2 + 35) = 0;
*((_OWORD *)v2 + 36) = 0;
*(_OWORD *)(v2 + 630) = 0;
*(_OWORD *)(v2 + 616) = 0;
*(_OWORD *)(v2 + 600) = 0;
*(_OWORD *)(v2 + 676) = 0;
*(_OWORD *)(v2 + 664) = 0;
*(_OWORD *)(v2 + 648) = 0;
sub_1002782A0(v2 + 692);
v2[704] = 0;
*(_OWORD *)(v2 + 712) = 0;
*(_OWORD *)(v2 + 728) = 0;
v2[744] = 0;
if ( (unsigned __int8)LevelInfoLayer::init(v2, a1, a2) )
{
cocos2d::CCObject::autorelease(v2);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v2 + 16LL))(v2);
return nullptr;
}
return v2;
}