// // GauntletLayer::scene from 0x1401f5df0 to 0x1401f5f16 (294 bytes) // // 4 xrefs: // > GauntletSelectLayer::onPlay @ 0x1401faf71 // > LevelInfoLayer::onBack @ 0x1403007a2 // > @ 0x1406cc8b8 // > @ 0x1406cc8c4 // // 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 // // local variable allocation has failed, the output may be wrong! // Hidden C++ exception states: #wind=1 cocos2d::CCScene *GauntletLayer::scene(GauntletType a1) { cocos2d::CCScene *v2; // rsi __int64 v3; // rdx __int64 v4; // rcx GauntletLayer *v5; // rdi v2 = (cocos2d::CCScene *)cocos2d::CCScene::create(*(_QWORD *)&a1); *(_QWORD *)(cocos2d::CCApplication::sharedApplication(v4, v3) + 224) = v2; v5 = (GauntletLayer *)operator new(0x1E0u); cocos2d::CCLayer::CCLayer(v5); v5->cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (GauntletLayer_vtbl *)&GauntletLayer::`vftable'; v5->cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)&GauntletLayer::`vftable'; v5->cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&GauntletLayer::`vftable'; v5->cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&GauntletLayer::`vftable'; v5->cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&GauntletLayer::`vftable'; v5->cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)&GauntletLayer::`vftable'; v5->LevelManagerDelegate::__vftable = (LevelManagerDelegate_vtbl *)&GauntletLayer::`vftable'; v5->m_levels = nullptr; v5->m_loadingCircle = nullptr; v5->m_backgroundSprite = nullptr; v5->m_unkPtr = nullptr; v5->m_activeItemButton = nullptr; v5->m_activeObjects = nullptr; v5->m_tryAgainText = nullptr; if ( GauntletLayer::init(v5, a1) ) { cocos2d::CCObject::autorelease(v5); } else { ((void (__fastcall *)(GauntletLayer *, __int64))v5->~GauntletLayer)(v5, 1); v5 = nullptr; } v2->addChild_1(v2, v5); return v2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source