//
// SFXFolderPickerPopup::onConfirm from 0xc3ab2c to 0xc3ab78 (76 bytes)
//
// 3 xrefs:
// > ??> @ 0xacd20
// > SFXFolderPickerPopup::init @ 0xc3cd8c
// > ??> @ 0x1544e70
//
// 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 13:04:54 +0000
//
int *__fastcall SFXFolderPickerPopup::onConfirm(int *this, cocos2d::CCObject *a2)
{
int *v2; // x19
MusicDownloadManager *v3; // x0
if ( *(this + 182) > 0 )
{
v2 = this;
v3 = (MusicDownloadManager *)MusicDownloadManager::sharedState((MusicDownloadManager *)this);
this = (int *)MusicDownloadManager::getCustomSFXFolderForID(v3, v2[182]);
if ( this )
return (int *)SFXFolderPickerPopup::pickFolder((SFXFolderPickerPopup *)v2, v2[182]);
}
return this;
}