//
// SoundPackDescPopup::onClose from 0x1004d5510 to 0x1004d556c (92 bytes)
//
// 1 xrefs:
// > ??> @ 0x1009899b8
//
// This function is hookable on this platform (idp: arm, 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:06:30 +0000
//
__int64 __fastcall SoundPackDescPopup::onClose(__int64 a1)
{
__int64 v2; // x0
_QWORD *v3; // x0
v2 = *(_QWORD *)(a1 + 1088);
if ( v2 )
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v2 + 1368LL))(v2, 0);
v3 = *(_QWORD **)(a1 + 1032);
if ( v3 )
{
v3[73] = 0;
(*(void (__fastcall **)(_QWORD *, _QWORD))(*v3 + 1160LL))(v3, 0);
}
return SetupTriggerPopup::onClose(a1);
}