//
// LevelEditorLayer::scene from 0x477f10 to 0x477f3e (46 bytes)
//
// 3 xrefs:
// > LevelInfoLayer::onEdit @ 0x49b1e6
// > EditLevelLayer::onEdit @ 0x4a04da
// > GJGameLoadingLayer::loadLevel @ 0x58b7a6
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:49:12 +0000
//
AppDelegate *__fastcall LevelEditorLayer::scene(LevelEditorLayer *this, GJGameLevel *a2, bool a3)
{
AppDelegate *v5; // r4
bool v6; // r2
int *v7; // r0
v5 = (AppDelegate *)cocos2d::CCScene::create(this);
*(_DWORD *)(AppDelegate::get(v5) + 12) = v5;
v7 = LevelEditorLayer::create(this, a2, v6);
(*(void (__fastcall **)(AppDelegate *, int *))(*(_DWORD *)v5 + 228))(v5, v7);
*((_DWORD *)v5 + 6) = 6;
return v5;
}