//
// sub_1403471C0 from 0x1403471c0 to 0x14034724a (138 bytes)
//
// 3 xrefs:
// > MusicDownloadManager::parseSFXLibrary @ 0x140343379
// > MusicDownloadManager::parseSFXLibrary @ 0x1403434f5
// > ??> @ 0x1406d5900
//
// 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
//
// Hidden C++ exception states: #wind=1
char __fastcall sub_1403471C0(__int64 a1, int a2, void **a3, int a4, int a5, int a6)
{
void **v9; // rcx
void *v10; // rdx
*(_DWORD *)(a1 + 56) = a2;
v9 = (void **)(a1 + 80);
if ( v9 != a3 )
{
v10 = a3;
if ( (unsigned __int64)a3[3] > 0xF )
v10 = *a3;
sub_14003CCE0(v9, v10, (size_t)a3[2]);
}
*(_DWORD *)(a1 + 60) = a4;
*(_DWORD *)(a1 + 64) = a5;
*(_DWORD *)(a1 + 68) = a6;
*(_BYTE *)(a1 + 72) = 0;
sub_14003A830((__int64)a3);
return 1;
}