//
// sub_10008FD20 from 0x10008fd20 to 0x10008fd62 (66 bytes)
//
// 14 xrefs:
// > sub_10005A190 @ 0x10005a2c1
// > sub_10008FD20 @ 0x10008fd35
// > sub_10008FD20 @ 0x10008fd41
// > GJAccountSettingsLayer::dGJAccountSettingsLayer @ 0x10029f0f5
// > GameStatsManager::setupIconCredits @ 0x10032b796
// > SelectEventLayer::dSelectEventLayer @ 0x100577fda
// > sub_100578000 @ 0x1005780ca
// > sub_1005780F0 @ 0x1005781b6
// > sub_1005781D0 @ 0x10057829a
// > sub_10058AD50 @ 0x10058ae9a
// > MusicDownloadManager::parseMusicLibrary @ 0x10059210c
// > sub_10066A490 @ 0x10066a4b1
// > sub_10066A4D0 @ 0x10066a4f1
// > sub_10066A510 @ 0x10066a531
//
// 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
//
void __fastcall sub_10008FD20(__int64 a1, _QWORD *a2)
{
if ( a2 )
{
sub_10008FD20(a1, *a2);
sub_10008FD20(a1, a2[1]);
if ( (a2[5] & 1) != 0 )
operator delete((void *)a2[7]);
operator delete(a2);
}
}