//
// LevelInfoLayer::create from 0x1000242c4 to 0x100024334 (112 bytes)
//
// 1 xrefs:
// > LevelInfoLayer::scene @ 0x100024298
//
// 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)
{
LevelInfoLayer *v4; // x19
v4 = (LevelInfoLayer *)operator new(0x2D8u);
LevelInfoLayer::LevelInfoLayer(v4);
if ( LevelInfoLayer::init(v4, a1, a2) )
{
cocos2d::CCObject::autorelease(v4);
}
else
{
((void (__fastcall *)(LevelInfoLayer *))v4->~LevelInfoLayer_0)(v4);
return nullptr;
}
return v4;
}