//
// MusicBrowser::setTextPopupClosed from 0x1003c29f4 to 0x1003c2a3c (72 bytes)
//
// 2 xrefs:
// > sub_1003C2A3C @ 0x1003c2a40
// > ??> @ 0x100812258
//
// 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, int a2, std::string *__str)
{
std::string *m_searchResult; // x8
MusicSearchResult *v5; // x0
m_searchResult = (std::string *)a1->m_searchResult;
if ( m_searchResult )
{
std::string::operator=(m_searchResult + 4, __str);
v5 = a1->m_searchResult;
v5->m_startIndex = 0;
MusicSearchResult::updateObjects(v5);
MusicBrowser::setupList(a1, a1->m_searchResult);
}
}