//
// MusicDownloadManager::pathForSFX from 0x459598 to 0x4595fe (102 bytes)
//
// 19 xrefs:
// > GameManager::playSFXTrigger @ 0x320cce
// > MusicDownloadManager::onDownloadSFXCompleted @ 0x45965e
// > MusicDownloadManager::deleteSFX @ 0x4596da
// > MusicDownloadManager::isSFXDownloaded @ 0x45973a
// > GJBaseGameLayer::processSFXObjects @ 0x4889b2
// > RewardUnlockLayer::playRewardEffect @ 0x4e91a6
// > CustomSFXWidget::onPlayback @ 0x56dc7a
// > CustomSFXWidget::deleteSFX @ 0x56e3b8
// > SetupSFXPopup::onClose @ 0x574f9a
// > SetupSFXPopup::createSFXWidget @ 0x5761a2
// > SecretLayer5::playWinSFX @ 0x59be78
// > SecretLayer5::animateHead @ 0x59bee6
// > SecretLayer5::showFailAnimation @ 0x59cb3c
// > SecretLayer5::showFailAnimation @ 0x59cb6a
// > SecretLayer5::showSuccessAnimation @ 0x59d0b2
// > SecretLayer5::showSuccessAnimation @ 0x59d0ec
// > SecretLayer5::showSuccessAnimation @ 0x59d198
// > SecretLayer5::showSuccessAnimation @ 0x59d1de
// > SecretLayer5::onSubmit @ 0x59eb8e
//
// 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
//
MusicDownloadManager *__fastcall MusicDownloadManager::pathForSFX(
MusicDownloadManager *this,
MusicDownloadManager *a2,
int a3)
{
_DWORD v6[3]; // [sp+0h] [bp-Ch] BYREF
v6[0] = this;
v6[1] = a2;
v6[2] = a3;
MusicDownloadManager::pathForSFXFolder(this, a2, a3, _stack_chk_guard);
sub_774544((int)this, (char *)&aO1i2r3e45s7t89[9]);
GameToolbox::intToString((GameToolbox *)v6, a3);
sub_77441C(this, v6);
sub_774008(v6);
sub_774544((int)this, ".ogg");
return this;
}