//
// GauntletLayer::scene from 0xa79d44 to 0xa79d90 (76 bytes)
//
// 3 xrefs:
// > LevelInfoLayer::onBack @ 0x7e5614
// > GauntletSelectLayer::onPlay @ 0xa7384c
// > ??> @ 0xcecb0
//
// 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 13:00:28 +0000
//
AppDelegate *__fastcall GauntletLayer::scene(cocos2d::CCScene *a1)
{
int v1; // w20
AppDelegate *v2; // x19
_QWORD *v3; // x0
v1 = (int)a1;
v2 = (AppDelegate *)cocos2d::CCScene::create(a1);
*(_QWORD *)(AppDelegate::get(v2) + 24) = v2;
v3 = GauntletLayer::create(v1);
(*(void (__fastcall **)(AppDelegate *, _QWORD *))(*(_QWORD *)v2 + 456LL))(v2, v3);
return v2;
}