//
// SetupReverbPopup::onClose from 0x1404470b0 to 0x140447115 (101 bytes)
//
// 2 xrefs:
// > ??> @ 0x1405f0a30
// > ??> @ 0x1406da628
//
// 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
//
// Hidden C++ exception states: #wind=1
void SetupReverbPopup::onClose(SetupReverbPopup *a1, cocos2d::CCObject *a2)
{
FMODAudioEngine *v4; // rcx
FMODAudioEngine *v5; // [rsp+40h] [rbp+18h]
v4 = (FMODAudioEngine *)qword_1406C2E88;
if ( !qword_1406C2E88 )
{
v5 = (FMODAudioEngine *)operator new(0x888u);
qword_1406C2E88 = (__int64)FMODAudioEngine::FMODAudioEngine(v5);
(*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2E88 + 72LL))(qword_1406C2E88);
v4 = (FMODAudioEngine *)qword_1406C2E88;
}
FMODAudioEngine::stopAllEffects(v4);
SetupTriggerPopup::onClose(a1, a2);
}