//
// GJMessagePopup::onClosePopup from 0x5d4a50 to 0x5d4a7c (44 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'GJMessagePopup::onClosePopup @ 0x5d4a80
//
// 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:08 +0000
//
int __fastcall GJMessagePopup::onClosePopup(GJMessagePopup *this, UploadActionPopup *a2)
{
int result; // r0
int v5; // r3
result = UploadActionPopup::closePopup(a2);
if ( a2 == *((UploadActionPopup **)this + 139) )
{
v5 = *((unsigned __int8 *)this + 536);
*((_DWORD *)this + 139) = 0;
if ( v5 )
return GJMessagePopup::onClose(this, nullptr);
}
return result;
}