// // LevelEditorLayer::scene from 0x1000dadc0 to 0x1000dae42 (130 bytes) // // 2 xrefs: // > GJGameLoadingLayer::loadLevel @ 0x1001657ac // > EditLevelLayer::onEdit @ 0x1001fbdde // // 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 LevelEditorLayer::scene(GJGameLevel *a1, bool a2) { cocos2d::CCScene *v2; // rbx LevelEditorLayer *v3; // r14 v2 = cocos2d::CCScene::create(); AppDelegate::get()->m_runningScene = v2; v3 = (LevelEditorLayer *)operator new(0x38E8u); LevelEditorLayer::LevelEditorLayer(v3); if ( LevelEditorLayer::init(v3, a1, a2) ) { cocos2d::CCObject::autorelease(v3); } else { ((void (__fastcall *)(LevelEditorLayer *))v3->~LevelEditorLayer_0)(v3); v3 = nullptr; } ((void (__fastcall *)(cocos2d::CCScene *, LevelEditorLayer *))v2->addChild)(v2, v3); v2->m_eObjType = LevelEditorLayerObjectType; return v2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source