// // LevelAreaInnerLayer::scene from 0x100279920 to 0x100279a1a (250 bytes) // // 5 xrefs: // > LevelAreaLayer::onEnterTower @ 0x1002798ef // > GameManager::returnToLastScene @ 0x10038c083 // > SecretLayer5::onBack @ 0x10047b423 // > SecretLayer5::keyBackClicked @ 0x10047e863 // > sub_10047E890 @ 0x10047e8de // // 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 LevelAreaInnerLayer::scene(bool a1) { cocos2d::CCScene *v1; // rbx LevelAreaInnerLayer *v2; // r14 v1 = cocos2d::CCScene::create(); AppDelegate::get()->m_runningScene = v1; v2 = (LevelAreaInnerLayer *)operator new(0x1B8u); cocos2d::CCLayer::CCLayer(v2); v2->cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (LevelAreaInnerLayer_vtbl *)off_1008EFD50; v2->cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)off_1008F01D8; v2->cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_1008F0248; v2->cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)off_1008F0260; v2->cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)off_1008F0280; v2->cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)off_1008F02A0; v2->DialogDelegate::__vftable = (DialogDelegate_vtbl *)&off_1008F02C8; v2->m_nextFloorButton = nullptr; v2->m_enteringLevel = 0; v2->m_levelID = 0; v2->m_exiting = 0; if ( LevelAreaInnerLayer::init(v2, a1) ) { cocos2d::CCObject::autorelease(v2); } else { ((void (__fastcall *)(LevelAreaInnerLayer *))v2->~LevelAreaInnerLayer_0)(v2); v2 = nullptr; } ((void (__fastcall *)(cocos2d::CCScene *, LevelAreaInnerLayer *))v1->addChild)(v1, v2); return v1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source