//
// FMODAudioEngine::playEffect from 0x14005fa00 to 0x14005fae8 (232 bytes)
//
// 30 xrefs:
// > AchievementNotifier::showNextAchievement @ 0x14003d80f
// > CCMenuItemSpriteExtra::activate @ 0x140048b90
// > CCMenuItemSpriteExtra::selected @ 0x140048c90
// > FMODAudioEngine::playEffect_1 @ 0x14005f9c5
// > EditLevelLayer::onPlay @ 0x14017b3d8
// > EndLevelLayer::onReplay @ 0x14020631c
// > EndLevelLayer::onMenu @ 0x14020652c
// > EndLevelLayer::onRestartCheckpoint @ 0x14020698a
// > GauntletSelectLayer::playUnlockAnimation @ 0x140300200
// > GJPathPage::playUnlockAnimation @ 0x140395c00
// > GJShopLayer::dialogClosed @ 0x1403b4a91
// > AnimatedShopKeeper::playReactAnimation @ 0x1403b613e
// > LevelAreaInnerLayer::onDoor @ 0x1403e15c9
// > LevelInfoLayer::onPlay @ 0x140421e9b
// > LevelPage::onPlay @ 0x140447093
// > MenuGameLayer::destroyPlayer @ 0x140471786
// > PauseLayer::onQuit @ 0x1404db897
// > PlayLayer::destroyPlayer @ 0x140512f72
// > RetryLevelLayer::onMenu @ 0x1405617ba
// > SecretLayer::onSubmit @ 0x140574140
// > SecretLayer5::animateHead @ 0x14058ab60
// > SecretLayer5::showFailAnimation @ 0x14058b24f
// > SecretLayer5::showFailAnimation @ 0x14058b341
// > SecretLayer5::showSuccessAnimation @ 0x14058bb4c
// > SecretLayer5::showSuccessAnimation @ 0x14058bc1b
// > SecretLayer5::showSuccessAnimation @ 0x14058bce0
// > SecretLayer5::showSuccessAnimation @ 0x14058bda3
// > SecretLayer5::playWinSFX @ 0x14058c05b
// > SecretLayer5::onSubmit @ 0x14058c72f
// > ??> @ 0x140910a48
//
// 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 11:25:43 +0000
//
// Hidden C++ exception states: #wind=1
__int64 __fastcall FMODAudioEngine::playEffect(int a1, __int64 a2, __int64 a3, __int64 a4, int a5)
{
int v7; // eax
int v8; // r8d
int v9; // r9d
unsigned int v10; // ebx
_QWORD v12[5]; // [rsp+A8h] [rbp-70h] BYREF
v12[4] = a2;
v7 = sub_14003F4F0((__int64)v12, a2);
v10 = FMODAudioEngine::playEffectAdvanced(a1, v7, v8, v9, a5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
sub_14003D310(a2);
return v10;
}