//
// SoundPackDescPopup::onClose from 0x14019a5c0 to 0x14019a625 (101 bytes)
//
// 2 xrefs:
// > ??> @ 0x14074dd58
// > ??> @ 0x1409196a0
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:27:46 +0000
//
__int64 __fastcall SoundPackDescPopup::onClose(__int64 a1, __int64 a2)
{
__int64 v4; // rcx
__int64 v5; // rax
v4 = *(_QWORD *)(a1 + 1080);
if ( v4 )
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v4 + 1104LL))(v4, 0);
v5 = *(_QWORD *)(a1 + 1016);
if ( v5 )
{
*(_QWORD *)(v5 + 600) = 0;
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 1016) + 1032LL))(*(_QWORD *)(a1 + 1016), 0);
}
return SetupTriggerPopup::onClose(a1, a2);
}