//
// MusicBrowser::onSearch from 0x581294 to 0x58136e (218 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 MusicBrowser::onSearch(MusicBrowser *a1, cocos2d::CCObject *a2)
{
SetTextPopup *v3; // r8
int v4; // r0
void (__fastcall *show)(SetTextPopup *__hidden); // r3
_BYTE v6[4]; // [sp+24h] [bp-14h] BYREF
_BYTE v7[4]; // [sp+28h] [bp-10h] BYREF
_BYTE v8[4]; // [sp+2Ch] [bp-Ch] BYREF
_BYTE v9[4]; // [sp+30h] [bp-8h] BYREF
sub_776584((int)v6, (char *)&unk_939830);
sub_776584((int)v7, "Search");
sub_776584((int)v8, "Find Song");
sub_776584((int)v9, "OK");
v3 = SetTextPopup::create((int)v6, (int)v7, 20, (int)v8, (int)v9, 1, 60.0);
sub_774008(v9);
sub_774008(v8);
sub_774008(v7);
sub_774008(v6);
v3->m_delegate = &a1->SetTextPopupDelegate;
v4 = a1->getZOrder(a1);
show = v3->show;
v3->m_ZOrder = v4 + 1;
show(v3);
}