//
// LevelEditorLayer::scene from 0x1003f65dc to 0x1003f6640 (100 bytes)
//
// 3 xrefs:
// > sub_10002A588 @ 0x10002a660
// > EditLevelLayer::onEdit @ 0x1001102e0
// > sub_1002A65BC @ 0x1002a65ec
//
// 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 11:04:33 +0000
//
_DWORD *__fastcall LevelEditorLayer::scene(__int64 a1, __int64 a2)
{
_DWORD *v4; // x21
__int64 v5; // x1
__int64 v6; // x0
v4 = cocos2d::CCScene::create();
*(_QWORD *)(AppDelegate::get((__int64)v4, v5) + 24) = v4;
v6 = LevelEditorLayer::create(a1, a2);
(*(void (__fastcall **)(_DWORD *, __int64))(*(_QWORD *)v4 + 456LL))(v4, v6);
v4[7] = 6;
return v4;
}