//
// EditorSoundConfigInfoLayer::onClosePopup from 0x1401964a0 to 0x1401964e2 (66 bytes)
//
// 3 xrefs:
// > ??> @ 0x14074d8a0
// > ??> @ 0x1409194f0
// > ??> @ 0x1409194fc
//
// 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:45 +0000
//
__int64 __fastcall EditorSoundConfigInfoLayer::onClosePopup(__int64 a1, __int64 a2)
{
__int64 v4; // rdx
__int64 result; // rax
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)a2 + 992LL))(a2, 0);
LOBYTE(v4) = 1;
result = (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)a2 + 520LL))(a2, v4);
*(_QWORD *)(a1 + 128) = 0;
return result;
}