//
// SFXBrowser::sortSelectClosed from 0x140480400 to 0x140480452 (82 bytes)
//
// 2 xrefs:
// > ??> @ 0x1406050f0
// > ??> @ 0x1406db9d8
//
// 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 SFXBrowser::sortSelectClosed(SFXBrowser *a1, SelectSFXSortLayer *a2)
{
__int64 v3; // rcx
float v4; // edx
v3 = *(_QWORD *)&a1->m_uID;
if ( v3 )
{
v4 = *(float *)&a2->m_sortType;
if ( LODWORD(a1->m_sAdditionalTransform.ty) != LODWORD(v4) )
{
a1->m_sAdditionalTransform.ty = v4;
(*(void (__fastcall **)(__int64))(*(_QWORD *)v3 + 72LL))(v3);
*(_DWORD *)(*(_QWORD *)&a1->m_uID + 88LL) = 0;
SFXBrowser::setupList((SFXBrowser *)((char *)a1 - 656), *(SFXSearchResult **)&a1->m_uID);
}
}
}