//
// MusicDownloadManager::getCustomSFXFolderForID from 0x95c634 to 0x95c680 (76 bytes)
//
// 19 xrefs:
// > MusicDownloadManager::moveCustomSFXObject @ 0x95c784
// > MusicDownloadManager::deleteCustomSFXObject @ 0x960d74
// > MusicDownloadManager::createCustomSFXPlacement @ 0x963f2c
// > MusicDownloadManager::createCustomSFXFolder @ 0x9641d8
// > MusicDownloadManager::getCustomSFXFolderPath @ 0x9667c0
// > MusicDownloadManager::getCustomSFXFolderPath @ 0x9667fc
// > MusicDownloadManager::getCustomSFXFolderPath @ 0x96685c
// > SFXBrowser::executeBatchDelete @ 0xb90398
// > SFXBrowser::sfxFolderPicked @ 0xb91030
// > SFXBrowser::sfxFolderPicked @ 0xb911cc
// > SFXBrowser::setupSFXBrowser @ 0xb93124
// > SFXBrowser::setupSFXBrowser @ 0xb9334c
// > SFXBrowser::setupSFXBrowser @ 0xb93710
// > SFXBrowser::switchToView @ 0xb96898
// > SFXBrowser::onExitFolder @ 0xb9717c
// > SFXFolderPickerPopup::onConfirm @ 0xc3ab50
// > SFXFolderPickerPopup::init @ 0xc3c844
// > SFXFolderPickerPopup::init @ 0xc3ce68
// > ??> @ 0xcb548
//
// This function is hookable on this platform (idp: arm, 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 12:57:29 +0000
//
__int64 __fastcall MusicDownloadManager::getCustomSFXFolderForID(MusicDownloadManager *this, int a2)
{
__int64 result; // x0
result = MusicDownloadManager::getCustomSFXObject(this, a2);
if ( !result )
return 0;
if ( !*(_BYTE *)(result + 72) )
{
result = MusicDownloadManager::getCustomSFXObject(this, *(_DWORD *)(result + 60));
if ( !result || !*(_BYTE *)(result + 72) )
return 0;
}
return result;
}