// // MusicSearchResult::updateObjects from 0x140498950 to 0x140498a85 (309 bytes) // // 2 xrefs: // > @ 0x1407b8be0 // > @ 0x14092909c // // This function is hookable on this platform (idp: pc, 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 11:32:53 +0000 // // Hidden C++ exception states: #wind=1 void __fastcall MusicSearchResult::updateObjects(__int64 a1, int a2) { __int64 v4; // rcx cocos2d::CCArray *AllMusicObjectsSorted; // rbp __int64 v6; // rax cocos2d::CCArray *v7; // rbx cocos2d::CCArray *v8; // rsi cocos2d::CCObject *v9; // rcx _BYTE v10[56]; // [rsp+20h] [rbp-38h] BYREF void *v11; // [rsp+60h] [rbp+8h] *(_DWORD *)(a1 + 136) = a2; v4 = qword_14090C070; if ( !qword_14090C070 ) { v11 = operator new(0x3D0u); qword_14090C070 = MusicDownloadManager::MusicDownloadManager((__int64)v11); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090C070 + 72LL))(qword_14090C070); v4 = qword_14090C070; } AllMusicObjectsSorted = MusicDownloadManager::getAllMusicObjectsSorted(v4, *(_DWORD *)(a1 + 144), a2); MusicSearchResult::createTagFilterObjects(a1); MusicSearchResult::createArtistFilterObjects(a1); if ( *(_DWORD *)(a1 + 148) ) AllMusicObjectsSorted = MusicSearchResult::applyViewFilter(a1, (__int64)AllMusicObjectsSorted); if ( *(_QWORD *)(a1 + 120) ) { v6 = sub_14003F4F0((__int64)v10, a1 + 104); AllMusicObjectsSorted = (cocos2d::CCArray *)MusicSearchResult::getFilesMatchingSearch(a1, AllMusicObjectsSorted, v6); } v7 = MusicSearchResult::applyArtistFilters(a1, AllMusicObjectsSorted); v8 = MusicSearchResult::applyTagFilters(a1, v7); MusicSearchResult::updateFutureCount(a1, v8, v7, AllMusicObjectsSorted); if ( *(_DWORD *)(a1 + 148) == 3 ) sub_140481B80(v8, a2); if ( *(cocos2d::CCArray **)(a1 + 64) != v8 ) { if ( v8 ) cocos2d::CCObject::retain(v8); v9 = *(cocos2d::CCObject **)(a1 + 64); if ( v9 ) cocos2d::CCObject::release(v9); *(_QWORD *)(a1 + 64) = v8; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source