//
// MusicBrowser::onSorting from 0x14047dee0 to 0x14047df32 (82 bytes)
//
// 2 xrefs:
// > MusicBrowser::init @ 0x14047b5c8
// > ??> @ 0x140928748
//
// 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:43 +0000
//
void __fastcall MusicBrowser::onSorting(__int64 a1)
{
__int64 v2; // rcx
__int64 *v3; // rax
__int64 v4; // rdx
__int64 v5; // rcx
v2 = *(_QWORD *)(a1 + 712);
if ( v2 )
{
v3 = (__int64 *)SelectSFXSortLayer::create(*(unsigned int *)(v2 + 136));
v4 = a1 + 696;
if ( !a1 )
v4 = 0;
v5 = *v3;
v3[84] = v4;
(*(void (__fastcall **)(__int64 *))(v5 + 1064))(v3);
}
}