// // EditLevelLayer::onEdit from 0x7eef90 to 0x7ef0d0 (320 bytes) // // 4 xrefs: // > EditLevelLayer::FLAlert_Clicked @ 0x7f1cd4 // > @ 0xe24e0 // > EditLevelLayer::init @ 0x7f0a9c // > @ 0x1546cd8 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 12:54:34 +0000 // __int64 __fastcall EditLevelLayer::onEdit(cocos2d::CCArray **this, cocos2d::CCObject *a2) { GameManager *v4; // x0 FMODAudioEngine *v5; // x0 __int64 v6; // x23 cocos2d::CCDirector *v7; // x0 cocos2d::CCDirector *v8; // x21 AppDelegate *v9; // x0 cocos2d::CCScene *v10; // x1 cocos2d::CCScene *v11; // x0 cocos2d::CCDirector *v12[3]; // [xsp+50h] [xbp+50h] BYREF if ( !*(_BYTE *)(cocos2d::CCDirector::sharedDirector(_stack_chk_guard) + 176) && !*((_BYTE *)this + 496) ) { EditLevelLayer::closeTextInputs(this); v4 = (GameManager *)(*((__int64 (__fastcall **)(cocos2d::CCArray **, _QWORD))*this + 134))(this, 0); *((_BYTE *)this + 496) = 1; *(_DWORD *)(GameManager::sharedState(v4) + 708) = 3; v5 = (FMODAudioEngine *)EditLevelLayer::verifyLevelName((EditLevelLayer *)this); v6 = FMODAudioEngine::sharedEngine(v5); GJGameLevel::getAudioFileName((__int64 *)v12, *(this + 59)); FMODAudioEngine::loadMusic(v6, (char *)v12, 1u, 0, 0, 0, 1.0, 0.0, 1.0); v7 = (cocos2d::CCDirector *)LOBYTE(v12[0]); if ( ((__int64)v12[0] & 1) != 0 ) operator delete(v12[2]); v8 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v7); v9 = LevelEditorLayer::scene(*(this + 59), nullptr); v11 = (cocos2d::CCScene *)cocos2d::CCTransitionFade::create(v9, 0.5, v10); cocos2d::CCDirector::replaceScene(v8, v11); } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source