// // GJGameLoadingLayer::loadLevel from 0x140249010 to 0x1402490a4 (148 bytes) // // 2 xrefs: // > GJBaseGameLayer::dGJBaseGameLayer @ 0x140206127 // > @ 0x1406ce7e4 // // 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 // void GJGameLoadingLayer::loadLevel(GJGameLoadingLayer *a1) { GJGameLevel *m_level; // rdi struct cocos2d::CCScene *v2; // rbx __int64 v3; // rdx __int64 v4; // rcx LevelEditorLayer *v5; // rax struct cocos2d::CCScene *v6; // rdx struct cocos2d::CCTransitionFade *v7; // rbx __int64 v8; // rcx cocos2d::CCDirector *v9; // rax m_level = a1->m_level; if ( a1->m_editor ) { v2 = (struct cocos2d::CCScene *)cocos2d::CCScene::create(a1); *(_QWORD *)(cocos2d::CCApplication::sharedApplication(v4, v3) + 224) = v2; v5 = LevelEditorLayer::create(m_level, 0); v2->addChild_1(v2, v5); v6 = v2; v2->m_eObjType = LevelEditorLayerObjectType; } else { v6 = PlayLayer::scene(a1->m_level, 0, 0); } v7 = cocos2d::CCTransitionFade::create(0.40000001, v6); v9 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v8); cocos2d::CCDirector::replaceScene(v9, v7); }
GD Web Decomp Icon

GD Web Decomp

Raw Source