// // MusicBrowser::onUpdateLibrary from 0x6bd41e to 0x6bd464 (70 bytes) // // 2 xrefs: // > MusicBrowser::setupMusicBrowser @ 0x6be974 // > MusicBrowser::musicActionFinished @ 0x6bfa02 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:56:47 +0000 // int __fastcall MusicBrowser::onUpdateLibrary(MusicBrowser *this, cocos2d::CCObject *a2) { int v3; // r0 int v4; // r3 int v5; // r3 MusicDownloadManager *v6; // r0 int v8; // r0 *((_BYTE *)this + 648) = a2 == nullptr; v3 = MusicDownloadManager::sharedState(this); v4 = *(unsigned __int8 *)(v3 + 288); if ( (v4 & 1) != 0 ) v5 = *(_DWORD *)(v3 + 292); else v5 = v4 >> 1; if ( v5 ) { *((_BYTE *)this + 628) = 0; v8 = MusicDownloadManager::sharedState((MusicDownloadManager *)v3); return MusicDownloadManager::tryUpdateMusicLibrary(v8); } else { *((_BYTE *)this + 628) = 1; v6 = (MusicDownloadManager *)MusicDownloadManager::sharedState((MusicDownloadManager *)v3); return MusicDownloadManager::getCustomContentURL(v6); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source