//
// GJWriteMessagePopup::onClosePopup from 0x5e106c to 0x5e109a (46 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'GJWriteMessagePopup::onClosePopup @ 0x5e109e
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:54:16 +0000
//
int __fastcall GJWriteMessagePopup::onClosePopup(GJWriteMessagePopup *this, UploadActionPopup *a2)
{
int result; // r0
result = UploadActionPopup::closePopup(a2);
if ( a2 == *((UploadActionPopup **)this + 146) )
*((_DWORD *)this + 146) = 0;
if ( *((_BYTE *)this + 588) )
return GJWriteMessagePopup::closeMessagePopup(this, 1);
return result;
}