//
// SetupReverbPopup::onPlay from 0x6af806 to 0x6af836 (48 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:56:38 +0000
//
FMODAudioEngine *__fastcall SetupReverbPopup::onPlay(int **this, cocos2d::CCObject *a2)
{
FMOD::ChannelControl **v3; // r0
FMODAudioEngine *result; // r0
int *v5; // r4
int v6; // r0
GameManager *updated; // r0
GameManager *v8; // r0
v3 = (FMOD::ChannelControl **)FMODAudioEngine::sharedEngine((FMODAudioEngine *)this);
result = (FMODAudioEngine *)FMODAudioEngine::stopAllEffects(v3);
v5 = *(this + 132);
if ( v5 )
{
v6 = FMODAudioEngine::sharedEngine(result);
updated = (GameManager *)FMODAudioEngine::updateReverb(v6, v5[441], 0);
v8 = (GameManager *)GameManager::sharedState(updated);
return GameManager::playSFXTrigger(v8, (SFXTriggerGameObject *)v5);
}
return result;
}