//
// MusicBrowser::onSorting from 0x6bd214 to 0x6bd23a (38 bytes)
//
// 0 xrefs:
//
// 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:56:47 +0000
//
int __fastcall MusicBrowser::onSorting(int this, cocos2d::CCObject *a2)
{
int v2; // r4
int v3; // r3
int *v4; // r0
int v5; // r3
v2 = this;
v3 = *(_DWORD *)(this + 544);
if ( v3 )
{
v4 = (int *)SelectSFXSortLayer::create(*(_DWORD *)(v3 + 92), a2);
v5 = *v4;
v4[131] = v2 + 536;
return (*(int (**)(void))(v5 + 656))();
}
return this;
}