//
// SecretLayer5::playWinSFX from 0xbc2ffc to 0xbc30a4 (168 bytes)
//
// 3 xrefs:
// > ??> @ 0x747a0
// > SecretLayer5::showSuccessAnimation @ 0xbc4550
// > ??> @ 0x1542ef0
//
// This function is hookable on this platform (idp: arm, 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 13:03:30 +0000
//
__int64 __fastcall SecretLayer5::playWinSFX(SecretLayer5 *this)
{
MusicDownloadManager *v1; // x21
MusicDownloadManager *v2; // x0
__int64 v4[3]; // [xsp+30h] [xbp+30h] BYREF
v1 = (MusicDownloadManager *)FMODAudioEngine::sharedEngine(_stack_chk_guard);
v2 = (MusicDownloadManager *)MusicDownloadManager::sharedState(v1);
MusicDownloadManager::pathForSFX(v4, v2, 0x51F6u);
FMODAudioEngine::playEffect((__int64)v1, (char *)v4, 1.0, 0.0, 0.7);
if ( (v4[0] & 1) != 0 )
operator delete((void *)v4[2]);
return _stack_chk_guard;
}