// // MusicBrowser::onUpdateLibrary from 0xb83b3c to 0xb83ba0 (100 bytes) // // 5 xrefs: // > MusicBrowser::setupMusicBrowser @ 0xb85a54 // > MusicBrowser::musicActionFinished @ 0xb87320 // > @ 0xd4170 // > sub_B85DD0 @ 0xb862c8 // > @ 0x15464d8 // // 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 13:02:29 +0000 // __int64 __fastcall MusicBrowser::onUpdateLibrary(MusicBrowser *this, cocos2d::CCObject *a2) { _BOOL8 v3; // x0 unsigned __int8 *v4; // x2 MusicDownloadManager *v5; // x0 __int64 v6; // x1 MusicDownloadManager *v7; // x0 MusicDownloadManager *v9; // x0 v3 = a2 == nullptr; *((_BYTE *)this + 912) = v3; v4 = (unsigned __int8 *)(MusicDownloadManager::sharedState((MusicDownloadManager *)v3) + 368); v5 = (MusicDownloadManager *)*v4; v6 = (unsigned __int8)v5 >> 1; if ( ((unsigned __int8)v5 & 1) != 0 ) v6 = *((_QWORD *)v4 + 1); if ( v6 ) { *((_BYTE *)this + 872) = 0; v7 = (MusicDownloadManager *)MusicDownloadManager::sharedState(v5); return MusicDownloadManager::tryUpdateMusicLibrary(v7); } else { *((_BYTE *)this + 872) = (unsigned __int8)&dword_0 + 1; v9 = (MusicDownloadManager *)MusicDownloadManager::sharedState((MusicDownloadManager *)((char *)&dword_0 + 1)); return MusicDownloadManager::getCustomContentURL(v9); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source