// // EditLevelLayer::scene from 0x1400d52b0 to 0x1400d5432 (386 bytes) // // 7 xrefs: // > EditLevelLayer::FLAlert_Clicked @ 0x1400d8e10 // > GameLevelManager::gotoLevelPage @ 0x140149529 // > GameManager::returnToLastScene @ 0x14018a0b5 // > LevelBrowserLayer::onNew @ 0x1402cdf20 // > LevelInfoLayer::FLAlert_Clicked @ 0x1403004ed // > UploadPopup::onReturnToLevel @ 0x140490fbb // > @ 0x1406c8760 // // 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 // // Hidden C++ exception states: #wind=1 cocos2d::CCScene *EditLevelLayer::scene(GJGameLevel *a1) { cocos2d::CCScene *v2; // rsi __int64 v3; // rdx __int64 v4; // rcx char *v5; // rdi v2 = (cocos2d::CCScene *)cocos2d::CCScene::create(a1); *(_QWORD *)(cocos2d::CCApplication::sharedApplication(v4, v3) + 224) = v2; v5 = (char *)operator new(0x210u); cocos2d::CCLayer::CCLayer((cocos2d::CCLayer *)v5); *(_QWORD *)v5 = &EditLevelLayer::`vftable'; *((_QWORD *)v5 + 40) = &EditLevelLayer::`vftable'; *((_QWORD *)v5 + 41) = &EditLevelLayer::`vftable'; *((_QWORD *)v5 + 42) = &EditLevelLayer::`vftable'; *((_QWORD *)v5 + 43) = &EditLevelLayer::`vftable'; *((_QWORD *)v5 + 44) = &EditLevelLayer::`vftable'; *((_QWORD *)v5 + 51) = &EditLevelLayer::`vftable'; *((_QWORD *)v5 + 52) = &EditLevelLayer::`vftable'; *((_QWORD *)v5 + 53) = &EditLevelLayer::`vftable'; *((_QWORD *)v5 + 54) = &EditLevelLayer::`vftable'; *((_QWORD *)v5 + 55) = &EditLevelLayer::`vftable'; *((_QWORD *)v5 + 56) = 0; *((_QWORD *)v5 + 57) = 0; *((_QWORD *)v5 + 58) = 0; *((_QWORD *)v5 + 59) = 0; v5[480] = 0; *((_DWORD *)v5 + 121) = 0; *(_OWORD *)(v5 + 488) = 0; *((_QWORD *)v5 + 63) = 0; *((_QWORD *)v5 + 64) = 15; v5[488] = 0; *((_QWORD *)v5 + 65) = 0; if ( EditLevelLayer::init((EditLevelLayer *)v5, a1) ) { cocos2d::CCObject::autorelease((cocos2d::CCObject *)v5); } else { (*(void (__fastcall **)(char *, __int64))(*(_QWORD *)v5 + 8LL))(v5, 1); v5 = nullptr; } v2->addChild_1(v2, (cocos2d::CCNode *)v5); return v2; }