//
// PlayLayer::scene from 0x71450c to 0x714570 (100 bytes)
//
// 9 xrefs:
// > LevelInfoLayer::playStep3 @ 0x7e5048
// > EditLevelLayer::playStep3 @ 0x7ed634
// > EditLevelLayer::onTest @ 0x7ee07c
// > LevelPage::playStep3 @ 0x8c8624
// > GJGameLoadingLayer::loadLevel @ 0x998cc4
// > SecretLayer2::onSecretLevel @ 0xa8c15c
// > GJWorldNode::playStep3 @ 0xaa5dac
// > LevelAreaInnerLayer::playStep1 @ 0xb5b8f4
// > ??> @ 0xdec88
//
// 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:52:15 +0000
//
AppDelegate *__fastcall PlayLayer::scene(PlayLayer *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 = PlayLayer::create(this, (GJGameLevel *)v3);
(*(void (__fastcall **)(AppDelegate *, __int64))(*(_QWORD *)v4 + 456LL))(v4, v5);
*((_DWORD *)v4 + 7) = 5;
return v4;
}