//
// MusicBrowser::setTextPopupClosed from 0x14033a8d0 to 0x14033a968 (152 bytes)
//
// 2 xrefs:
// > ??> @ 0x1405ab9c0
// > ??> @ 0x1406d53cc
//
// 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
//
// Hidden C++ exception states: #wind=1
void __fastcall MusicBrowser::setTextPopupClosed(__int64 a1, __int64 a2, void **a3)
{
__int64 v5; // rcx
void **v6; // rcx
void *v7; // rdx
v5 = *(_QWORD *)(a1 + 32);
if ( v5 )
{
v6 = (void **)(v5 + 96);
if ( v6 != a3 )
{
v7 = a3;
if ( (unsigned __int64)a3[3] > 0xF )
v7 = *a3;
sub_14003CCE0(v6, v7, (size_t)a3[2]);
}
*(_DWORD *)(*(_QWORD *)(a1 + 32) + 88LL) = 0;
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 32) + 72LL))(
*(_QWORD *)(a1 + 32),
*(unsigned int *)(*(_QWORD *)(a1 + 32) + 128LL));
MusicBrowser::setupList((MusicBrowser *)(a1 - 648), *(MusicSearchResult **)(a1 + 32));
}
sub_14003A830((__int64)a3);
}