//
// SFXBrowser::sortSelectClosed from 0x100440920 to 0x10044096f (79 bytes)
//
// 1 xrefs:
// > ??> @ 0x100938678
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall SFXBrowser::sortSelectClosed(SFXBrowser *a1, SelectSFXSortLayer *a2)
{
SFXSearchResult *m_searchResult; // rax
AudioSortType m_sortType; // esi
SFXSearchResult *v4; // rsi
m_searchResult = a1->m_searchResult;
if ( m_searchResult )
{
m_sortType = a2->m_sortType;
if ( a1->m_sortType != m_sortType )
{
a1->m_sortType = m_sortType;
((void (__fastcall *)(SFXSearchResult *))m_searchResult->updateObjects)(m_searchResult);
v4 = a1->m_searchResult;
v4->m_startIndex = 0;
SFXBrowser::setupList(a1, v4);
}
}
}