// // sub_56AC60 from 0x56ac60 to 0x56acb0 (80 bytes) // // 2 xrefs: // > MusicDownloadManager::getAllMusicObjectsSorted @ 0x574eb0 // > MusicSearchResult::updateObjects @ 0x575408 // // 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:52:31 +0000 // void __fastcall sub_56AC60(size_t **a1, int a2) { int (**v4)(const void *, const void *); // r3 if ( cocos2d::CCArray::count((cocos2d::CCArray *)a1) > 1u ) { switch ( a2 ) { case 1: v4 = (int (**)(const void *, const void *))&songNameCompareDesc; break; case 2: v4 = (int (**)(const void *, const void *))&songLengthCompare; break; case 3: v4 = (int (**)(const void *, const void *))&songLengthCompareDesc; break; case 4: v4 = (int (**)(const void *, const void *))&songIDCompare; break; case 5: v4 = (int (**)(const void *, const void *))&songIDCompareDesc; break; case 6: v4 = (int (**)(const void *, const void *))&songOrderCompare; break; default: v4 = (int (**)(const void *, const void *))&songNameCompare; break; } j_qsort((void *)a1[13][3], *a1[13], 4u, *v4); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source