//
// LevelInfoLayer::create from 0x1002bd290 to 0x1002bd442 (434 bytes)
//
// 1 xrefs:
// > LevelInfoLayer::scene @ 0x1002bd265
//
// 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
//
LevelInfoLayer *__fastcall LevelInfoLayer::create(GJGameLevel *a1, bool a2)
{
char *v2; // rbx
v2 = (char *)operator new(0x2D8u);
cocos2d::CCLayer::CCLayer(v2);
*(_QWORD *)v2 = off_100906828;
*((_QWORD *)v2 + 40) = off_100906D08;
*((_QWORD *)v2 + 41) = &off_100906D78;
*((_QWORD *)v2 + 42) = off_100906D90;
*((_QWORD *)v2 + 43) = off_100906DB0;
*((_QWORD *)v2 + 44) = off_100906DD0;
*((_QWORD *)v2 + 51) = off_100906DF8;
*((_QWORD *)v2 + 52) = off_100906E18;
*((_QWORD *)v2 + 53) = &off_100906E38;
*((_QWORD *)v2 + 54) = &off_100906E50;
*((_QWORD *)v2 + 55) = &off_100906E68;
*((_QWORD *)v2 + 56) = off_100906E80;
*((_QWORD *)v2 + 57) = &off_100906EA0;
*((_QWORD *)v2 + 58) = &off_100906EB8;
*((_QWORD *)v2 + 59) = off_100906ED0;
v2[480] = 0;
*(_OWORD *)(v2 + 488) = 0;
*(_OWORD *)(v2 + 504) = 0;
*(_OWORD *)(v2 + 520) = 0;
*(_OWORD *)(v2 + 536) = 0;
*(_OWORD *)(v2 + 552) = 0;
*((_QWORD *)v2 + 71) = 0;
*(_OWORD *)(v2 + 614) = 0;
*(_OWORD *)(v2 + 600) = 0;
*(_OWORD *)(v2 + 584) = 0;
*(_OWORD *)(v2 + 660) = 0;
*(_OWORD *)(v2 + 648) = 0;
*(_OWORD *)(v2 + 632) = 0;
sub_10028CC30(v2 + 676);
v2[688] = 0;
*(_OWORD *)(v2 + 696) = 0;
*(_OWORD *)(v2 + 712) = 0;
if ( LevelInfoLayer::init((LevelInfoLayer *)v2, a1, a2) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v2);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v2 + 16LL))(v2);
return nullptr;
}
return (LevelInfoLayer *)v2;
}