//
// LevelEditorLayer::scene from 0x377268 to 0x377296 (46 bytes)
//
// 2 xrefs:
// > EditLevelLayer::onEdit @ 0x3b7eda
// > GJGameLoadingLayer::loadLevel @ 0x46c33e
//
// 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
//
cocos2d::CCScene *LevelEditorLayer::scene(GJGameLevel *a1, bool a2)
{
cocos2d::CCSceneDelegate_vtbl *v4; // r4
LevelEditorLayer *v5; // r0
v4 = (cocos2d::CCSceneDelegate_vtbl *)cocos2d::CCScene::create();
AppDelegate::get()->cocos2d::CCSceneDelegate::__vftable = v4;
v5 = LevelEditorLayer::create(a1, a2);
(*((void (__fastcall **)(cocos2d::CCSceneDelegate_vtbl *, LevelEditorLayer *))v4->willSwitchToScene + 55))(v4, v5);
v4[6].willSwitchToScene = (void (__fastcall *)(cocos2d::CCSceneDelegate *__hidden, cocos2d::CCScene *))&byte_6;
return (cocos2d::CCScene *)v4;
}