// // LevelAreaLayer::scene from 0x100277720 to 0x1002777f9 (217 bytes) // // 4 xrefs: // > LevelAreaInnerLayer::onBack @ 0x10027ab33 // > LevelAreaInnerLayer::keyBackClicked @ 0x10027bba3 // > sub_10027BBD0 @ 0x10027bbfb // > LevelPage::onTheTower @ 0x100436003 // // 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 // cocos2d::CCScene *__fastcall LevelAreaLayer::scene() { cocos2d::CCScene *v0; // rbx LevelAreaLayer *v1; // r14 v0 = cocos2d::CCScene::create(); AppDelegate::get()->m_runningScene = v0; v1 = (LevelAreaLayer *)operator new(0x1B8u); cocos2d::CCLayer::CCLayer(v1); v1->cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (LevelAreaLayer_vtbl *)off_1008EF788; v1->cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)off_1008EFC10; v1->cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_1008EFC80; v1->cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)off_1008EFC98; v1->cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)off_1008EFCB8; v1->cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)off_1008EFCD8; v1->DialogDelegate::__vftable = (DialogDelegate_vtbl *)&off_1008EFD00; *(_OWORD *)&v1->m_towerSprite = 0; *(_WORD *)&v1->m_enteringTower = 0; if ( LevelAreaLayer::init(v1) ) { cocos2d::CCObject::autorelease(v1); } else { ((void (__fastcall *)(LevelAreaLayer *))v1->~LevelAreaLayer_0)(v1); v1 = nullptr; } ((void (__fastcall *)(cocos2d::CCScene *, LevelAreaLayer *))v0->addChild)(v0, v1); return v0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source