//
// GauntletSelectLayer::scene from 0x10059e520 to 0x10059e558 (56 bytes)
//
// 4 xrefs:
// > CreatorLayer::onGauntlets @ 0x100283692
// > GauntletLayer::onBack @ 0x10037e08b
// > GauntletLayer::keyBackClicked @ 0x10037fbab
// > sub_10037FBE0 @ 0x10037fc06
//
// This function is hookable on this platform (idp: pc, 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:32:32 +0000
//
_BYTE *__fastcall GauntletSelectLayer::scene(__int64 a1, __int64 a2)
{
_BYTE *v2; // r14
__int64 v3; // rax
v2 = cocos2d::CCScene::create();
*(_QWORD *)(AppDelegate::get(a1, a2) + 72) = v2;
v3 = GauntletSelectLayer::create((unsigned int)a1);
(*(void (__fastcall **)(_BYTE *, __int64))(*(_QWORD *)v2 + 456LL))(v2, v3);
return v2;
}