// // EndLevelLayer::onReplay from 0x427500 to 0x4275ba (186 bytes) // // 1 xrefs: // > EndLevelLayer::keyDown @ 0x4276c0 // // 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 EndLevelLayer::onReplay(EndLevelLayer *a1, cocos2d::CCObject *a2) { GameManager *v3; // r0 FMODAudioEngine *v4; // r0 FMODAudioEngine *v5; // r7 _BYTE v6[4]; // [sp+10h] [bp-Ch] BYREF if ( !a1->m_exiting ) { a1->m_exiting = 1; v3 = GameManager::sharedState(); if ( !GameManager::getGameVariable(v3, "0024") ) PlatformToolbox::hideCursor(); v4 = FMODAudioEngine::sharedEngine(); FMODAudioEngine::clearAllAudio(v4); v5 = FMODAudioEngine::sharedEngine(); sub_776584((int)v6, "playSound_01.ogg"); FMODAudioEngine::playEffect(v5, (int)v6, 1.0, 0, 1050253722); sub_774008(v6); a1->exitLayer(a1, nullptr); a1->setTouchEnabled(a1, 0); a1->setKeyboardEnabled(a1, 0); a1->setKeypadEnabled(a1, 0); PlayLayer::delayedFullReset(a1->m_playLayer); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source