// // MusicDownloadManager::onTryUpdateMusicLibraryCompleted from 0x82dae4 to 0x82dc14 (304 bytes) // // 3 xrefs: // > @ 0x999d8 // > MusicDownloadManager::tryUpdateMusicLibrary @ 0x82c024 // > @ 0x122d408 // // 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::onTryUpdateMusicLibraryCompleted( MusicDownloadManager *a1, cocos2d::extension::CCHttpClient *a2, cocos2d::extension::CCHttpResponse *a3) { char *v4; // x0 unsigned int *v5; // x2 int v6; // w1 char *v8; // [xsp+40h] [xbp+40h] BYREF MusicDownloadManager::removeDLFromActive(a1, "v_music_l"); if ( a3 && a3->_succeed ) { GameToolbox::getResponse((GameToolbox *)a3, &v8); if ( atoi(v8) > a1->m_musicLibraryVersion ) MusicDownloadManager::downloadMusicLibrary(a1); else MusicDownloadManager::musicActionFailed(a1, UpdateMusicLibrary); v4 = v8 - 24; if ( v8 - 24 != (char *)&qword_124B6B0 ) { if ( &pthread_create ) { v5 = (unsigned int *)(v8 - 8); do v6 = __ldaxr(v5); while ( __stlxr(v6 - 1, v5) ); } else { v6 = *((_DWORD *)v8 - 2); *((_DWORD *)v8 - 2) = v6 - 1; } if ( v6 <= 0 ) operator delete(v4); } } else { MusicDownloadManager::musicActionFailed(a1, (GJMusicAction)5); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source