//
// PlayLayer::scene from 0x31d318 to 0x31d34a (50 bytes)
//
// 9 xrefs:
// > LevelInfoLayer::playStep3 @ 0x3b1044
// > LevelInfoLayer::onPlayReplay @ 0x3b282e
// > EditLevelLayer::playStep3 @ 0x3b6000
// > EditLevelLayer::onTest @ 0x3b7c10
// > LevelPage::playStep3 @ 0x40903e
// > GJGameLoadingLayer::loadLevel @ 0x46c35e
// > SecretLayer2::onSecretLevel @ 0x4eab80
// > GJWorldNode::playStep3 @ 0x4fc93e
// > LevelAreaInnerLayer::playStep1 @ 0x56be04
//
// 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 *PlayLayer::scene(GJGameLevel *a1, bool a2, bool a3)
{
cocos2d::CCSceneDelegate_vtbl *v6; // r4
PlayLayer *v7; // r0
v6 = (cocos2d::CCSceneDelegate_vtbl *)cocos2d::CCScene::create();
AppDelegate::get()->cocos2d::CCSceneDelegate::__vftable = v6;
v7 = PlayLayer::create(a1, a2, a3);
(*((void (__fastcall **)(cocos2d::CCSceneDelegate_vtbl *, PlayLayer *))v6->willSwitchToScene + 55))(v6, v7);
v6[6].willSwitchToScene = (void (__fastcall *)(cocos2d::CCSceneDelegate *__hidden, cocos2d::CCScene *))&byte_5;
return (cocos2d::CCScene *)v6;
}