//
// LevelEditorLayer::scene from 0x7b1480 to 0x7b14e4 (100 bytes)
//
// 4 xrefs:
// > LevelInfoLayer::onEdit @ 0x7e7658
// > EditLevelLayer::onEdit @ 0x7ef088
// > GJGameLoadingLayer::loadLevel @ 0x998cf4
// > ??> @ 0xd37f8
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 12:53:51 +0000
//
AppDelegate *__fastcall LevelEditorLayer::scene(LevelEditorLayer *this, GJGameLevel *a2)
{
unsigned int v3; // w21
AppDelegate *v4; // x19
__int64 v5; // x0
v3 = (unsigned __int8)a2;
v4 = (AppDelegate *)cocos2d::CCScene::create(this);
*(_QWORD *)(AppDelegate::get(v4) + 24) = v4;
v5 = LevelEditorLayer::create(this, (GJGameLevel *)v3);
(*(void (__fastcall **)(AppDelegate *, __int64))(*(_QWORD *)v4 + 456LL))(v4, v5);
*((_DWORD *)v4 + 7) = 6;
return v4;
}