//
// sub_1006E7160 from 0x1006e7160 to 0x1006e7251 (241 bytes)
//
// 1 xrefs:
// > ??> @ 0x100b945b8
//
// 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 12:35:47 +0000
//
__int64 __fastcall sub_1006E7160(_QWORD *a1)
{
__int64 v2; // rax
_DWORD *v3; // rdi
*(a1 - 40) = off_100B94028;
*a1 = off_100B945B8;
a1[1] = &off_100B94628;
a1[2] = off_100B94640;
a1[3] = off_100B94660;
a1[4] = off_100B94688;
a1[11] = off_100B946B8;
a1[14] = off_100B94738;
a1[28] = off_100B94758;
a1[43] = off_100B947A0;
a1[44] = off_100B94810;
a1[45] = &off_100B94868;
a1[46] = off_100B94880;
a1[47] = &off_100B948A0;
v2 = MusicDownloadManager::sharedState();
MusicDownloadManager::removeMusicDownloadDelegate(v2, (__int64)(a1 + 43));
v3 = (_DWORD *)a1[49];
if ( v3 )
cocos2d::CCObject::release(v3);
return sub_1004936F0((__int64)(a1 - 40));
}