//
// FMODAudioEngine::playEffect from 0x3f1880 to 0x3f18f6 (118 bytes)
//
// 30 xrefs:
// > AchievementNotifier::showNextAchievement @ 0x395dcc
// > CCMenuItemSpriteExtra::activate @ 0x3c69b2
// > CCMenuItemSpriteExtra::selected @ 0x3c6a5e
// > FMODAudioEngine::playEffect @ 0x3f1920
// > PlayLayer::destroyPlayer @ 0x405d30
// > PauseLayer::onQuit @ 0x48fb3c
// > MenuGameLayer::destroyPlayer @ 0x492ce6
// > LevelInfoLayer::onPlay @ 0x49b72c
// > EditLevelLayer::onPlay @ 0x4a0374
// > LevelPage::onPlay @ 0x514000
// > EndLevelLayer::onReplay @ 0x535274
// > EndLevelLayer::onMenu @ 0x535370
// > EndLevelLayer::onRestartCheckpoint @ 0x53547e
// > RetryLevelLayer::onMenu @ 0x5475da
// > GauntletSelectLayer::playUnlockAnimation @ 0x60b116
// > GJShopLayer::dialogClosed @ 0x611596
// > AnimatedShopKeeper::playReactAnimation @ 0x611760
// > GJWorldNode::playStep1 @ 0x62d70a
// > MapSelectLayer::checkTouchMonster @ 0x63fa34
// > LevelAreaInnerLayer::onDoor @ 0x6a43fa
// > GJPathPage::playUnlockAnimation @ 0x6d267c
// > SecretLayer5::animateHead @ 0x6e340c
// > SecretLayer5::showFailAnimation @ 0x6e379c
// > SecretLayer5::showFailAnimation @ 0x6e3802
// > SecretLayer5::showSuccessAnimation @ 0x6e3d1c
// > SecretLayer5::showSuccessAnimation @ 0x6e3dcc
// > SecretLayer5::showSuccessAnimation @ 0x6e3e16
// > SecretLayer5::showSuccessAnimation @ 0x6e3e58
// > SecretLayer5::playWinSFX @ 0x6e4068
// > SecretLayer5::onSubmit @ 0x6e59d6
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:47:14 +0000
//
int __fastcall FMODAudioEngine::playEffect(FMODAudioEngine *a1, int a2, int a3, int a4, int a5)
{
int v8; // r6
int v10[3]; // [sp+40h] [bp-10h] BYREF
std::string::basic_string(v10, a2);
v8 = FMODAudioEngine::playEffectAdvanced(
a1,
(unsigned __int8 *)v10,
a3,
a4,
a5,
0.0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
nullptr,
0,
0.0,
0);
std::string::~string((int)v10);
return v8;
}