//
// SFXBrowser::onClearSearch from 0x10043f940 to 0x10043f99b (91 bytes)
//
// 1 xrefs:
// > SFXBrowser::init @ 0x10043f2b0
//
// 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::onClearSearch(SFXBrowser *a1, cocos2d::CCObject *a2)
{
SFXSearchResult *m_searchResult; // rdi
SFXSearchResult *v4; // rdi
m_searchResult = a1->m_searchResult;
if ( m_searchResult )
{
std::string::assign((std::string *)&m_searchResult->m_searchQuery, "");
v4 = a1->m_searchResult;
v4->m_startIndex = 0;
((void (__fastcall *)(SFXSearchResult *, _QWORD))v4->updateObjects)(v4, (unsigned int)a1->m_sortType);
SFXBrowser::setupList(a1, a1->m_searchResult);
}
}