//
// MusicDownloadManager::newsImageFailed from 0x140494130 to 0x1404941db (171 bytes)
//
// 4 xrefs:
// > MusicDownloadManager::onDownloadNewsImageCompleted @ 0x140493bba
// > MusicDownloadManager::onDownloadNewsImageCompleted @ 0x140493c0b
// > MusicDownloadManager::onDownloadNewsImageCompleted @ 0x140493dab
// > ??> @ 0x140928f58
//
// This function is hookable on this platform (idp: pc, 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 11:32:52 +0000
//
// Hidden C++ exception states: #wind=1
void __fastcall MusicDownloadManager::newsImageFailed(__int64 a1, __int64 a2)
{
unsigned int i; // edi
__int64 v5; // rbx
__int64 v6; // rax
_BYTE v7[32]; // [rsp+28h] [rbp-50h] BYREF
__int64 v8; // [rsp+48h] [rbp-30h]
v8 = a2;
for ( i = 0; i < cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 336)); ++i )
{
v5 = *((_QWORD *)cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(a1 + 336), i) + 40);
v6 = sub_14003F4F0((__int64)v7, a2);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v5 + 88LL))(v5, v6);
}
sub_14003D310(a2);
}