//
// EndLevelLayer::create from 0x1004bfc30 to 0x1004bfc93 (99 bytes)
//
// 1 xrefs:
// > PlayLayer::showEndLayer @ 0x1000b529f
//
// 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
//
EndLevelLayer *__fastcall EndLevelLayer::create(PlayLayer *a1)
{
EndLevelLayer *v1; // rbx
v1 = (EndLevelLayer *)operator new(0x2B0u);
EndLevelLayer::EndLevelLayer(v1);
v1->m_playLayer = a1;
if ( GJDropDownLayer::init(v1, " ", 230.0, 1) )
{
cocos2d::CCObject::autorelease(v1);
}
else
{
((void (__fastcall *)(EndLevelLayer *))v1->~EndLevelLayer_0)(v1);
return nullptr;
}
return v1;
}