// // AppDelegate::resumeSound from 0x10065c5b0 to 0x10065c658 (168 bytes) // // 3 xrefs: // > GameManager::resumeAudio @ 0x1003802e6 // > FMODAudioEngine::resumeAudio @ 0x1003dde21 // > FMODAudioEngine::start @ 0x1003dde9b // // 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 AppDelegate::resumeSound(AppDelegate *a1) { cocos2d::CCScene *m_pRunningScene; // rbx GameManager *v2; // rax GameManager *v3; // rax FMODAudioEngine *v4; // rax FMODAudioEngine *v5; // rax if ( !GameManager::sharedState()->m_loadingLevel ) { m_pRunningScene = cocos2d::CCDirector::sharedDirector()->m_pRunningScene; if ( !m_pRunningScene || (!GameManager::sharedState()->m_playLayer || !cocos2d::CCApplication::sharedApplication()[1].m_resourceRootPath.m_data.m_short.shortStorage.__elems_[0] && (v2 = GameManager::sharedState(), PlayLayer::isGameplayActive(v2->m_playLayer))) && m_pRunningScene->m_eObjType != LevelEditorLayerObjectType ) { if ( GameManager::sharedState()->m_playLayer || (v3 = GameManager::sharedState(), !GameManager::getGameVariable(v3, "0122")) ) { v4 = FMODAudioEngine::sharedEngine(); FMODAudioEngine::resumeAllMusic(v4); } v5 = FMODAudioEngine::sharedEngine(); FMODAudioEngine::resumeAllEffects(v5); } } }