//
// SetupSFXPopup::overridePlaySFX from 0x574efa to 0x574f24 (42 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'SetupSFXPopup::overridePlaySFX @ 0x574f28
//
// 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; // r4
FMODAudioEngine *v3; // r0
GameManager *v4; // r0
m_gameObject = (SFXTriggerGameObject *)a1->m_gameObject;
if ( m_gameObject )
{
if ( m_gameObject->m_reverbEnabled )
{
v3 = FMODAudioEngine::sharedEngine();
FMODAudioEngine::updateReverb(v3, m_gameObject->m_reverbPreset, 0);
}
v4 = GameManager::sharedState();
GameManager::playSFXTrigger(v4, m_gameObject);
}
return 1;
}