//
// LevelAreaInnerLayer::scene from 0x6a5c90 to 0x6a5cb6 (38 bytes)
//
// 3 xrefs:
// > GameManager::returnToLastScene @ 0x4169de
// > LevelAreaLayer::onEnterTower @ 0x6a5cf6
// > SecretLayer5::onBack @ 0x6e2854
//
// 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:56:30 +0000
//
AppDelegate *__fastcall LevelAreaInnerLayer::scene(LevelAreaInnerLayer *this, bool a2)
{
AppDelegate *v3; // r4
bool v4; // r1
cocos2d::CCLayer *v5; // r0
v3 = (AppDelegate *)cocos2d::CCScene::create(this);
*(_DWORD *)(AppDelegate::get(v3) + 12) = v3;
v5 = LevelAreaInnerLayer::create(this, v4);
(*(void (__fastcall **)(AppDelegate *, cocos2d::CCLayer *))(*(_DWORD *)v3 + 228))(v3, v5);
return v3;
}