//
// SetupSFXPopup::overridePlaySFX from 0x1004b36a0 to 0x1004b36e9 (73 bytes)
//
// 1 xrefs:
// > ??> @ 0x100b572a8
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// 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 12:30:59 +0000
//
char __fastcall SetupSFXPopup::overridePlaySFX(__int64 a1, double a2, __m128 a3)
{
__int64 v3; // rbx
__int64 v4; // rax
__int64 v5; // rax
v3 = *(_QWORD *)(a1 + 680);
if ( v3 )
{
if ( *(_BYTE *)(v3 + 1972) == 1 )
{
v4 = FMODAudioEngine::sharedEngine();
FMODAudioEngine::updateReverb(v4, *(_DWORD *)(v3 + 1968), 0);
}
v5 = GameManager::sharedState();
GameManager::playSFXTrigger(v5, v3, a2, a3);
}
return 1;
}