// // SFXBrowser::onUpdateLibrary from 0x6c384a to 0x6c3890 (70 bytes) // // 2 xrefs: // > SFXBrowser::setupSFXBrowser @ 0x6c6a78 // > SFXBrowser::musicActionFinished @ 0x6c8372 // // 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:52 +0000 // int __fastcall SFXBrowser::onUpdateLibrary(SFXBrowser *this, cocos2d::CCObject *a2) { int v3; // r0 int v4; // r3 int v5; // r3 MusicDownloadManager *v6; // r0 int v8; // r0 *((_BYTE *)this + 784) = 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 + 768) = 0; v8 = MusicDownloadManager::sharedState((MusicDownloadManager *)v3); return MusicDownloadManager::tryUpdateSFXLibrary(v8); } else { *((_BYTE *)this + 768) = 1; v6 = (MusicDownloadManager *)MusicDownloadManager::sharedState((MusicDownloadManager *)v3); return MusicDownloadManager::getCustomContentURL(v6); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source