// // SFXBrowser::onUpdateLibrary from 0xb8df64 to 0xb8dfc8 (100 bytes) // // 5 xrefs: // > SFXBrowser::setupSFXBrowser @ 0xb93198 // > SFXBrowser::musicActionFinished @ 0xb9673c // > @ 0x7e778 // > sub_B947C8 @ 0xb94f70 // > @ 0x1543458 // // 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:35 +0000 // __int64 __fastcall SFXBrowser::onUpdateLibrary(SFXBrowser *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 + 1128) = 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 + 1108) = 0; v7 = (MusicDownloadManager *)MusicDownloadManager::sharedState(v5); return MusicDownloadManager::tryUpdateSFXLibrary(v7); } else { *((_BYTE *)this + 1108) = (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