//
// SetupSFXPopup::overridePlaySFX from 0xa3da34 to 0xa3da80 (76 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'SetupSFXPopup::overridePlaySFX @ 0xa3da84
// > ??> @ 0x7de98
// > ??> @ 0x11dfcd0
//
// 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
//
bool SetupSFXPopup::overridePlaySFX(SetupSFXPopup *a1, SFXInfoObject *a2)
{
SFXTriggerGameObject *m_gameObject; // x19
GameManager *v3; // x0
FMODAudioEngine *v5; // x0
m_gameObject = (SFXTriggerGameObject *)a1->m_gameObject;
if ( m_gameObject )
{
if ( m_gameObject->m_reverbEnabled )
{
v5 = FMODAudioEngine::sharedEngine();
FMODAudioEngine::updateReverb(v5, m_gameObject->m_reverbPreset, 0);
}
v3 = GameManager::sharedState();
GameManager::playSFXTrigger(v3, m_gameObject);
}
return 1;
}