//
// sub_8265A8 from 0x8265a8 to 0x826620 (120 bytes)
//
// 4 xrefs:
// > MusicDownloadManager::generateCustomContentURL @ 0x82b1d4
// > MusicDownloadManager::generateCustomContentURL @ 0x82b23c
// > MusicDownloadManager::generateCustomContentURL @ 0x82b2a0
// > MusicDownloadManager::generateCustomContentURL @ 0x82b300
//
// 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
//
__int64 __fastcall sub_8265A8(__int64 a1, void **a2, _QWORD *a3)
{
__int64 result; // x0
while ( 1 )
{
result = sub_D1641C(a1, *a2);
if ( result == -1 )
break;
sub_D1861C(a1, result, *((_QWORD *)*a2 - 3), *a3, *(_QWORD *)(*a3 - 24LL));
}
return result;
}