// // EditLevelLayer::onPlay from 0x3b7d74 to 0x3b7e3c (200 bytes) // // 1 xrefs: // > EditLevelLayer::keyDown @ 0x3b822c // // 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 EditLevelLayer::onPlay(EditLevelLayer *a1, cocos2d::CCObject *a2) { _BOOL4 m_exiting; // r5 FMODAudioEngine *v4; // r0 FMODAudioEngine *v5; // r7 cocos2d::CCDelayTime *v6; // r0 cocos2d::CCSequence *v7; // r8 cocos2d::CCFiniteTimeAction *v8; // r0 cocos2d::CCAction *v9; // r0 _DWORD v10[2]; // [sp+Ch] [bp-Ch] BYREF if ( !cocos2d::CCDirector::sharedDirector()->m_bIsTransitioning ) { m_exiting = a1->m_exiting; if ( !a1->m_exiting ) { EditLevelLayer::closeTextInputs(a1); a1->setKeypadEnabled(a1, m_exiting); a1->m_exiting = 1; v4 = FMODAudioEngine::sharedEngine(); FMODAudioEngine::stopAllMusic(v4, 1); v5 = FMODAudioEngine::sharedEngine(); sub_776584((int)v10, "playSound_01.ogg"); FMODAudioEngine::playEffect(v5, (int)v10, 1.0, 0, 1050253722); sub_774008(v10); EditLevelLayer::verifyLevelName(a1); v6 = cocos2d::CCDelayTime::create(0.0); v10[1] = 0; v10[0] = EditLevelLayer::playStep2; v7 = (cocos2d::CCSequence *)v6; v8 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCCallFunc::create(a1, EditLevelLayer::playStep2, 0); v9 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v7, v8, 0); cocos2d::CCNode::runAction(a1, v9); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source