//
// sub_10038AD64 from 0x10038ad64 to 0x10038adb4 (80 bytes)
//
// 2 xrefs:
// > CustomSFXWidget::dCustomSFXWidget @ 0x10038adb8
// > sub_10038ADBC @ 0x10038adc4
//
// This function is hookable on this platform (idp: arm, 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:03:34 +0000
//
__int64 __fastcall sub_10038AD64(_QWORD *a1)
{
__int64 v2; // x0
_DWORD *v3; // x0
*a1 = off_10093F020;
a1[40] = off_10093F3D0;
a1[41] = &off_10093F440;
v2 = MusicDownloadManager::sharedState();
MusicDownloadManager::removeMusicDownloadDelegate(v2, (__int64)(a1 + 40));
v3 = (_DWORD *)a1[42];
if ( v3 )
cocos2d::CCObject::release(v3);
return cocos2d::CCNode::dCCNode((__int64)a1);
}