// // AudioAssetsBrowser::trySetupAudioBrowser from 0x1007b4d60 to 0x1007b4df7 (151 bytes) // // 2 xrefs: // > AudioAssetsBrowser::musicActionFinished @ 0x1007b4e05 // > sub_1007B4E10 @ 0x1007b4e1c // // 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 __fastcall AudioAssetsBrowser::trySetupAudioBrowser(AudioAssetsBrowser *a1) { cocos2d::CCDictionary *m_sfxObjects; // r14 MusicDownloadManager *v2; // rax unsigned int sizex2; // ecx __int64 v4; // rbx MusicDownloadManager *v5; // rdi MusicDownloadManager *v6; // rax std::size_t size; // rbx m_sfxObjects = MusicDownloadManager::sharedState()->m_sfxObjects; v2 = MusicDownloadManager::sharedState(); sizex2 = v2->m_customContentURL.m_data.m_short.sizex2; if ( m_sfxObjects ) { if ( (sizex2 & 1) != 0 ) { if ( !v2->m_customContentURL.m_data.m_long.size ) { LABEL_9: v6 = MusicDownloadManager::sharedState(); MusicDownloadManager::getCustomContentURL(v6); } } else if ( !(sizex2 >> 1) ) { goto LABEL_9; } AudioAssetsBrowser::setupList(a1); return; } if ( (sizex2 & 1) != 0 ) { size = v2->m_customContentURL.m_data.m_long.size; v5 = MusicDownloadManager::sharedState(); if ( size ) goto LABEL_7; } else { v4 = (unsigned __int8)sizex2 >> 1; v5 = MusicDownloadManager::sharedState(); if ( v4 ) { LABEL_7: MusicDownloadManager::downloadSFXLibrary(v5); return; } } MusicDownloadManager::getCustomContentURL(v5); }
GD Web Decomp Icon

GD Web Decomp

Raw Source