//
// MusicBrowser::setTextPopupClosed from 0xa5c334 to 0xa5c388 (84 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'MusicBrowser::setTextPopupClosed @ 0xa5c38c
// > ??> @ 0x9ebe0
// > ??> @ 0x11eace8
//
// 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 MusicBrowser::setTextPopupClosed(MusicBrowser *a1, __int64 a2, __int64 a3)
{
MusicSearchResult *m_searchResult; // x3
MusicSearchResult *v5; // x0
m_searchResult = a1->m_searchResult;
if ( m_searchResult )
{
sub_D18EA8(&m_searchResult->m_searchQuery, a3);
v5 = a1->m_searchResult;
v5->m_startIndex = 0;
MusicSearchResult::updateObjects(v5);
MusicBrowser::setupList(a1, a1->m_searchResult);
}
}