//
// SetupReverbPopup::onPlay from 0xa3d9e4 to 0xa3da34 (80 bytes)
//
// 3 xrefs:
// > ??> @ 0x5dd50
// > SetupReverbPopup::init @ 0xa3f848
// > ??> @ 0x122b088
//
// 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 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);
}
}