// // MusicDownloadManager::removeMusicDownloadDelegate from 0x14033d460 to 0x14033d4e6 (134 bytes) // // 8 xrefs: // > sub_140083690 @ 0x140083743 // > sub_1400C05A0 @ 0x1400c05f1 // > sub_1400C8160 @ 0x1400c81b1 // > sub_1400DEE40 @ 0x1400def1d // > sub_140338500 @ 0x1403385dd // > sub_14045C6F0 @ 0x14045c7cd // > sub_14047E560 @ 0x14047e62f // > @ 0x1406d55d0 // // 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 MusicDownloadManager::removeMusicDownloadDelegate(MusicDownloadManager *a1, MusicDownloadDelegate *a2) { unsigned int v4; // ebx struct cocos2d::CCObject *v5; // rax cocos2d::CCArray *m_musicDownloadDelegates; // rcx v4 = 0; if ( cocos2d::CCArray::count(a1->m_musicDownloadDelegates) ) { while ( 1 ) { v5 = cocos2d::CCArray::objectAtIndex(a1->m_musicDownloadDelegates, v4); m_musicDownloadDelegates = a1->m_musicDownloadDelegates; if ( *(MusicDownloadDelegate **)&v5[5].m_unknown2 == a2 ) break; if ( ++v4 >= cocos2d::CCArray::count(m_musicDownloadDelegates) ) return; } cocos2d::CCArray::removeObjectAtIndex(m_musicDownloadDelegates, v4, 1); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source