//
// MusicBrowser::onSorting from 0xb83814 to 0xb83854 (64 bytes)
//
// 3 xrefs:
// > ??> @ 0xfae58
// > sub_B85DD0 @ 0xb86d40
// > ??> @ 0x1547a30
//
// This function is hookable on this platform (idp: arm, 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 13:02:29 +0000
//
__int64 __fastcall MusicBrowser::onSorting(__int64 this, cocos2d::CCObject *a2)
{
__int64 v2; // x1
__int64 v3; // x19
__int64 *v4; // x0
__int64 v5; // x2
v2 = *(_QWORD *)(this + 712);
if ( v2 )
{
v3 = this;
v4 = (__int64 *)SelectSFXSortLayer::create(*(unsigned int *)(v2 + 128));
v5 = *v4;
v4[83] = v3 + 696;
return (*(__int64 (**)(void))(v5 + 1312))();
}
return this;
}