// // sub_140481B80 from 0x140481b80 to 0x140481c30 (176 bytes) // // 3 xrefs: // > MusicDownloadManager::getAllMusicObjectsSorted @ 0x14048ee61 // > MusicSearchResult::updateObjects @ 0x140498a46 // > @ 0x140928940 // // 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:45 +0000 // void __fastcall sub_140481B80(cocos2d::CCArray *a1, int a2) { __int64 v2; // rbx int (__cdecl *v4)(const void *, const void *); // r9 v2 = a2; if ( cocos2d::CCArray::count(a1) >= 2 ) { switch ( v2 ) { case 1LL: v4 = (int (__cdecl *)(const void *, const void *))sub_140481B10; break; case 2LL: v4 = (int (__cdecl *)(const void *, const void *))sub_140481B40; break; case 3LL: v4 = (int (__cdecl *)(const void *, const void *))sub_140481B60; break; case 4LL: v4 = (int (__cdecl *)(const void *, const void *))sub_140481A70; break; case 5LL: v4 = (int (__cdecl *)(const void *, const void *))sub_140481A90; break; case 6LL: v4 = (int (__cdecl *)(const void *, const void *))sub_140481AB0; break; default: v4 = (int (__cdecl *)(const void *, const void *))sub_140481AE0; break; } qsort(*(void **)(*((_QWORD *)a1 + 7) + 16LL), **((unsigned int **)a1 + 7), 8u, v4); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source