//
// GJMessageCell::onClosePopup from 0x1400bc1b0 to 0x1400bc1ef (63 bytes)
//
// 4 xrefs:
// > ??> @ 0x1405495a0
// > ??> @ 0x14054bed0
// > ??> @ 0x14054bf58
// > ??> @ 0x1406c7da0
//
// 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
//
// Merged with: GJMessageCell::onClosePopup, GJRequestCell::onClosePopup, GJUserCell::onClosePopup
__int64 __fastcall GJMessageCell::onClosePopup(__int64 a1, __int64 a2)
{
__int64 v4; // rdx
__int64 result; // rax
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)a2 + 976LL))(a2, 0);
LOBYTE(v4) = 1;
result = (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)a2 + 504LL))(a2, v4);
*(_QWORD *)(a1 + 24) = 0;
return result;
}