// // LevelInfoLayer::onPlayReplay from 0x3b27b8 to 0x3b2860 (168 bytes) // // 0 xrefs: // // 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 LevelInfoLayer::onPlayReplay(LevelInfoLayer *a1, cocos2d::CCObject *a2) { FMODAudioEngine *v3; // r0 FMODAudioEngine *v4; // r7 cocos2d::CCDirector *v5; // r4 cocos2d::CCScene *v6; // r0 cocos2d::CCTransitionFade *v7; // r0 _BYTE v8[4]; // [sp+10h] [bp-Ch] BYREF if ( !a1->m_isBusy ) { if ( LevelInfoLayer::shouldDownloadLevel(a1) ) { LevelInfoLayer::downloadLevel(a1); } else { v3 = FMODAudioEngine::sharedEngine(); FMODAudioEngine::stopAllMusic(v3, (bool)&dword_0 + 1); v4 = FMODAudioEngine::sharedEngine(); sub_776584((int)v8, "playSound_01.ogg"); FMODAudioEngine::playEffect(v4, (int)v8, 1.0, 0, 1050253722); sub_774008(v8); GameManager::sharedState()->m_sceneEnum = 3; v5 = cocos2d::CCDirector::sharedDirector(); v6 = PlayLayer::scene(a1->m_level, (bool)&dword_0 + 1, 0); v7 = cocos2d::CCTransitionFade::create(0.5, v6); cocos2d::CCDirector::replaceScene(v5, v7); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source