//
// GJMessagePopup::onClosePopup from 0xa1fec4 to 0xa1ff1c (88 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'GJMessagePopup::onClosePopup @ 0xa1ff20
// > ??> @ 0x4f300
// > ??> @ 0x147f370
//
// 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 12:59:39 +0000
//
__int64 __fastcall GJMessagePopup::onClosePopup(GJMessagePopup *this, UploadActionPopup *a2)
{
__int64 result; // x0
UploadActionPopup::closePopup(a2);
result = *((_QWORD *)this + 92);
if ( (UploadActionPopup *)result == a2 )
{
result = *((unsigned __int8 *)this + 696);
*((_QWORD *)this + 92) = 0;
if ( (_DWORD)result )
return GJMessagePopup::onClose(this, nullptr);
}
return result;
}