// // SetupReverbPopup::onPlay from 0x1004b84c0 to 0x1004b8514 (84 bytes) // // 1 xrefs: // > SetupReverbPopup::init @ 0x1004b8260 // // 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 SetupReverbPopup::onPlay(SetupReverbPopup *a1, cocos2d::CCObject *a2) { FMODAudioEngine *v2; // rax SFXTriggerGameObject *m_gameObject; // rbx FMODAudioEngine *v4; // rax GameManager *v5; // rax v2 = FMODAudioEngine::sharedEngine(); FMODAudioEngine::stopAllEffects(v2); m_gameObject = (SFXTriggerGameObject *)a1->m_gameObject; if ( m_gameObject ) { v4 = FMODAudioEngine::sharedEngine(); FMODAudioEngine::updateReverb(v4, m_gameObject->m_reverbPreset, 0); v5 = GameManager::sharedState(); GameManager::playSFXTrigger(v5, m_gameObject); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source