//
// MusicDownloadManager::pathForSFX from 0x140484b70 to 0x140484c23 (179 bytes)
//
// 20 xrefs:
// > CustomSFXWidget::deleteSFX @ 0x1401619c7
// > CustomSFXWidget::deleteSFX @ 0x140161a5b
// > CustomSFXWidget::onPlayback @ 0x14016231b
// > GameManager::playSFXTrigger @ 0x140276c02
// > GJBaseGameLayer::processSFXObjects @ 0x14034bc17
// > MusicDownloadManager::isSFXDownloaded @ 0x14048492a
// > MusicDownloadManager::onDownloadSFXCompleted @ 0x14048f33c
// > RewardUnlockLayer::playRewardEffect @ 0x1405648cd
// > SecretLayer5::animateHead @ 0x14058aafb
// > SecretLayer5::showFailAnimation @ 0x14058b1ee
// > SecretLayer5::showFailAnimation @ 0x14058b2a3
// > SecretLayer5::showSuccessAnimation @ 0x14058baef
// > SecretLayer5::showSuccessAnimation @ 0x14058bba0
// > SecretLayer5::showSuccessAnimation @ 0x14058bc71
// > SecretLayer5::showSuccessAnimation @ 0x14058bd34
// > SecretLayer5::playWinSFX @ 0x14058bff9
// > SecretLayer5::onSubmit @ 0x14058c698
// > SetupSFXPopup::createSFXWidget @ 0x1405de223
// > ??> @ 0x140928af0
// > ??> @ 0x140928afc
//
// 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:32:46 +0000
//
// Hidden C++ exception states: #wind=2
_QWORD *__fastcall MusicDownloadManager::pathForSFX(__int64 a1, _QWORD *a2, unsigned int a3)
{
void **v5; // rax
void *v6; // rdx
_QWORD v8[4]; // [rsp+30h] [rbp-38h] BYREF
MusicDownloadManager::pathForSFXFolder(a1, a2, a3);
sub_140044D80(a2, byte_14070D03C, 1u);
v5 = (void **)GameToolbox::intToString(v8, a3);
v6 = v5;
if ( (unsigned __int64)v5[3] > 0xF )
v6 = *v5;
sub_140044D80(a2, v6, (size_t)v5[2]);
sub_14003D310((__int64)v8);
sub_140044D80(a2, ".ogg", 4u);
return a2;
}