//
// SecretLayer5::playWinSFX from 0x100471fc0 to 0x100472022 (98 bytes)
//
// 1 xrefs:
// > SecretLayer5::showSuccessAnimation @ 0x100471914
//
// 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:33 +0000
//
void __fastcall SecretLayer5::playWinSFX(__int64 a1)
{
__int64 v1; // rbx
std::string v2; // [rsp+8h] [rbp-28h] BYREF
v1 = FMODAudioEngine::sharedEngine();
MusicDownloadManager::sharedState(a1);
MusicDownloadManager::pathForSFX(&v2);
FMODAudioEngine::playEffect(v1, (__int64)&v2, (__m128)0x3F800000u, 0.0, 0.69999999);
if ( (*(_BYTE *)&v2.__r_.__value_.__s.0 & 1) != 0 )
operator delete(v2.__r_.__value_.__l.__data_);
}