// // EndLevelLayer::onRestartCheckpoint from 0x4276e0 to 0x4277d2 (242 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 EndLevelLayer::onRestartCheckpoint(EndLevelLayer *a1, cocos2d::CCObject *a2) { GameManager *v3; // r0 FMODAudioEngine *v4; // r0 FMODAudioEngine *v5; // r7 cocos2d::CCSequence *v6; // r7 cocos2d::CCFiniteTimeAction *v7; // r0 cocos2d::CCAction *v8; // r5 _DWORD v9[2]; // [sp+Ch] [bp-10h] 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)v9, "playSound_01.ogg"); FMODAudioEngine::playEffect(v5, (int)v9, 1.0, 0, 1050253722); sub_774008(v9); a1->exitLayer(a1, nullptr); a1->setTouchEnabled(a1, 0); a1->setKeyboardEnabled(a1, 0); a1->setKeypadEnabled(a1, 0); v6 = (cocos2d::CCSequence *)cocos2d::CCDelayTime::create(0.5); v9[0] = 780; v9[1] = 1; v7 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCCallFunc::create(a1->m_playLayer, 780, 1); v8 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v6, v7, 0); v8->setTag(v8, 16); cocos2d::CCNode::runAction(a1->m_playLayer, v8); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source