//
// SetupReverbPopup::onPlay from 0x10017f998 to 0x10017f9e8 (80 bytes)
//
// 1 xrefs:
// > SetupReverbPopup::init @ 0x10017f730
//
// 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 *v3; // x0
SFXTriggerGameObject *m_gameObject; // x19
FMODAudioEngine *v5; // x0
GameManager *v6; // x0
v3 = FMODAudioEngine::sharedEngine();
FMODAudioEngine::stopAllEffects(v3);
m_gameObject = (SFXTriggerGameObject *)a1->m_gameObject;
if ( m_gameObject )
{
v5 = FMODAudioEngine::sharedEngine();
FMODAudioEngine::updateReverb(v5, m_gameObject->m_reverbPreset, 0);
v6 = GameManager::sharedState();
GameManager::playSFXTrigger(v6, m_gameObject);
}
}