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