//
// FMODAudioEngine::playEffect from 0x140056e40 to 0x140056f28 (232 bytes)
//
// 30 xrefs:
// > AchievementNotifier::showNextAchievement @ 0x14003adb0
// > CCMenuItemSpriteExtra::activate @ 0x140044e9d
// > CCMenuItemSpriteExtra::selected @ 0x140044f9d
// > FMODAudioEngine::playEffect_1 @ 0x140056e05
// > EditLevelLayer::onPlay @ 0x1400d7fbc
// > EndLevelLayer::onReplay @ 0x140134fe9
// > EndLevelLayer::onMenu @ 0x1401351f5
// > EndLevelLayer::onRestartCheckpoint @ 0x140135629
// > GauntletSelectLayer::playUnlockAnimation @ 0x1401fb296
// > GJPathPage::playUnlockAnimation @ 0x140287e7c
// > GJShopLayer::dialogClosed @ 0x1402ae6ee
// > AnimatedShopKeeper::playReactAnimation @ 0x1402afd7b
// > LevelAreaInnerLayer::onDoor @ 0x1402c82ac
// > LevelInfoLayer::onPlay @ 0x1402fcc50
// > LevelPage::onPlay @ 0x14031dbaf
// > MenuGameLayer::destroyPlayer @ 0x140333460
// > PauseLayer::onQuit @ 0x14037ecf7
// > PlayLayer::destroyPlayer @ 0x1403b40df
// > RetryLevelLayer::onMenu @ 0x1403cbf9a
// > SecretLayer::onSubmit @ 0x1403de519
// > SecretLayer5::animateHead @ 0x1403f5474
// > SecretLayer5::showFailAnimation @ 0x1403f5b10
// > SecretLayer5::showFailAnimation @ 0x1403f5bca
// > SecretLayer5::showSuccessAnimation @ 0x1403f6390
// > SecretLayer5::showSuccessAnimation @ 0x1403f6429
// > SecretLayer5::showSuccessAnimation @ 0x1403f64b6
// > SecretLayer5::showSuccessAnimation @ 0x1403f6543
// > SecretLayer5::playWinSFX @ 0x1403f67f2
// > SecretLayer5::onSubmit @ 0x1403f6e37
// > ??> @ 0x1406c50e8
//
// 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
//
// 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_14003BDB0((__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_14003A830(a2);
return v10;
}