//
// sub_56ACD0 from 0x56acd0 to 0x56ad1c (76 bytes)
//
// 1 xrefs:
// > SFXSearchResult::updateObjects @ 0x571492
//
// 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_56ACD0(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 *))&sfxNameCompareDesc;
break;
case 2:
v4 = (int (**)(const void *, const void *))&sfxLengthCompare;
break;
case 3:
v4 = (int (**)(const void *, const void *))&sfxLengthCompareDesc;
break;
case 4:
v4 = (int (**)(const void *, const void *))&sfxIDCompare;
break;
case 5:
v4 = (int (**)(const void *, const void *))&sfxIDCompareDesc;
break;
default:
v4 = (int (**)(const void *, const void *))&sfxNameCompare;
break;
}
j_qsort((void *)a1[13][3], *a1[13], 4u, *v4);
}
}