//
// SecretLayer5::playWinSFX from 0x10047d660 to 0x10047d6c2 (98 bytes)
//
// 1 xrefs:
// > SecretLayer5::showSuccessAnimation @ 0x10047cfb4
//
// 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
//
void __fastcall SecretLayer5::playWinSFX(SecretLayer5 *a1)
{
FMODAudioEngine *v1; // rbx
std::string v2; // [rsp+8h] [rbp-28h] BYREF
v1 = FMODAudioEngine::sharedEngine();
MusicDownloadManager::sharedState();
MusicDownloadManager::pathForSFX(&v2);
FMODAudioEngine::playEffect((__int64)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_);
}