//
// GJWriteMessagePopup::onClosePopup from 0xa3451c to 0xa34578 (92 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'GJWriteMessagePopup::onClosePopup @ 0xa3457c
// > ??> @ 0x9b590
// > ??> @ 0x147fb58
//
// 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:49 +0000
//
__int64 __fastcall GJWriteMessagePopup::onClosePopup(GJWriteMessagePopup *this, UploadActionPopup *a2)
{
__int64 result; // x0
UploadActionPopup::closePopup(a2);
if ( *((UploadActionPopup **)this + 98) == a2 )
*((_QWORD *)this + 98) = 0;
result = *((unsigned __int8 *)this + 792);
if ( *((_BYTE *)this + 792) )
return GJWriteMessagePopup::closeMessagePopup(this, 1u);
return result;
}