//
// SFXBrowser::onSearch from 0x5847dc to 0x584846 (106 bytes)
//
// 0 xrefs:
//
// 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::onSearch(SFXBrowser *a1, cocos2d::CCObject *a2)
{
int v3; // r1
int v4; // r2
SetTextPopup *v5; // r5
int v6; // r0
void (__fastcall *show)(SetTextPopup *__hidden); // r3
_DWORD v8[3]; // [sp+0h] [bp-Ch] BYREF
v8[0] = a1;
v8[1] = a2;
if ( a1->m_searchResult )
{
sub_775C20(v8);
v5 = SearchSFXPopup::create((int)v8, v3, v4);
sub_774008(v8);
v5->m_delegate = &a1->SetTextPopupDelegate;
v6 = a1->getZOrder(a1);
show = v5->show;
v5->m_ZOrder = v6 + 1;
show(v5);
}
}