//
// MusicBrowser::onSorting from 0x1006e8fa0 to 0x1006e8fe7 (71 bytes)
//
// 1 xrefs:
// > MusicBrowser::init @ 0x1006e843f
//
// 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 12:35:48 +0000
//
__int64 __fastcall MusicBrowser::onSorting(__int64 a1)
{
__int64 result; // rax
char *v2; // rax
result = *(_QWORD *)(a1 + 712);
if ( result )
{
v2 = SelectSFXSortLayer::create(*(_DWORD *)(result + 128));
*((_QWORD *)v2 + 83) = a1 + 696;
return (*(__int64 (__fastcall **)(char *))(*(_QWORD *)v2 + 1312LL))(v2);
}
return result;
}