//
// GauntletSelectLayer::create from 0x4d9c0c to 0x4d9cc8 (188 bytes)
//
// 1 xrefs:
// > GauntletSelectLayer::scene @ 0x4d9cde
//
// 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
//
GauntletSelectLayer *GauntletSelectLayer::create(int a1)
{
GauntletSelectLayer *v2; // r4
GauntletSelectLayer_vtbl *v3; // r3
GauntletSelectLayer *v4; // r0
v2 = (GauntletSelectLayer *)operator new(0x178u);
cocos2d::CCLayer::CCLayer(v2);
v2->cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (GauntletSelectLayer_vtbl *)&off_A772B0;
v2->cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)&off_A77504;
v2->cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_A7753C;
v2->cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&off_A77548;
v2->cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&off_A77558;
v2->cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)&off_A77568;
v2->BoomScrollLayerDelegate::__vftable = (BoomScrollLayerDelegate_vtbl *)&off_A7757C;
v2->LevelManagerDelegate::__vftable = (LevelManagerDelegate_vtbl *)&off_A77594;
v2->RewardedVideoDelegate::__vftable = (RewardedVideoDelegate_vtbl *)&off_A775B0;
v2->m_backgroundSprite = nullptr;
v2->m_scrollLayer = nullptr;
v2->m_refreshButton = nullptr;
v2->m_exiting = 0;
v2->m_playing = 0;
v2->m_tryAgainText = nullptr;
v2->m_loadingCircle = nullptr;
v2->m_gauntlets = nullptr;
v2->m_playBlocked = 0;
v2->m_gauntletID = 0;
v2->m_videoPlaying = 0;
v2->m_locked = 0;
if ( GauntletSelectLayer::init(v2, a1) )
{
cocos2d::CCObject::autorelease(v2);
}
else
{
v3 = v2->cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;
v4 = v2;
v2 = nullptr;
v3->~GauntletSelectLayer_0(v4);
}
return v2;
}