// // LevelSelectLayer::create from 0x40a634 to 0x40a6d6 (162 bytes) // // 1 xrefs: // > LevelSelectLayer::scene @ 0x40a6ee // // 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 // LevelSelectLayer *LevelSelectLayer::create(int a1) { LevelSelectLayer *v2; // r4 LevelSelectLayer_vtbl *v3; // r3 int *v4; // r0 v2 = (LevelSelectLayer *)operator new(0x160u); cocos2d::CCLayer::CCLayer(v2); v2->cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (LevelSelectLayer_vtbl *)&off_A5E528; v2->cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)&off_A5E770; v2->cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_A5E7A8; v2->cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&off_A5E7B4; v2->cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&off_A5E7C4; v2->cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)&off_A5E7D4; v2->BoomScrollLayerDelegate::__vftable = (BoomScrollLayerDelegate_vtbl *)&off_A5E7E8; v2->DynamicScrollDelegate::__vftable = (DynamicScrollDelegate_vtbl *)&off_A5E800; v2->m_width = 0.0; v2->m_backgroundSprite = nullptr; v2->m_groundLayer = nullptr; v2->m_scrollLayer = nullptr; v2->m_unknown = 0; v2->m_scrolls = 0; v2->m_masterDetectiveUnlocked = 0; if ( LevelSelectLayer::init(v2, a1) ) { cocos2d::CCObject::autorelease(v2); } else { v3 = v2->cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; v4 = (int *)v2; v2 = nullptr; v3->~LevelSelectLayer_0((LevelSelectLayer *)v4); } return v2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source