// // EditLevelLayer::playStep2 from 0x1000ebf44 to 0x1000ebfec (168 bytes) // // 1 xrefs: // > EditLevelLayer::onPlay @ 0x1000ea3f0 // // 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 __fastcall EditLevelLayer::playStep2(EditLevelLayer *a1) { FMODAudioEngine *v2; // x20 cocos2d::CCDelayTime *v3; // x20 cocos2d::CCAction *v4; // x0 void *__p[2]; // [xsp+18h] [xbp-28h] BYREF char v6; // [xsp+2Fh] [xbp-11h] cocos2d::SEL_CallFunc v7; // 0:x1.16 v2 = FMODAudioEngine::sharedEngine(); GJGameLevel::getAudioFileName((__int64)a1->m_level, __p); FMODAudioEngine::loadMusic(v2, __p, 1, 0, 0, 0, 1.0, 0.0, 1.0); if ( v6 < 0 ) operator delete(__p[0]); v3 = cocos2d::CCDelayTime::create(0.0); v7.ptr = (void (*)(void))EditLevelLayer::playStep3; v7.adj = 0; cocos2d::CCCallFunc::create(a1, v7); v4 = (cocos2d::CCAction *)sub_10018A494(v3); cocos2d::CCNode::runAction(a1, v4); }