//
// ProfilePage::onClosePopup from 0x5f58e2 to 0x5f58fe (28 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'ProfilePage::onClosePopup @ 0x5f5902
//
// 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:31 +0000
//
int __fastcall ProfilePage::onClosePopup(ProfilePage *this, UploadActionPopup *a2)
{
int result; // r0
result = UploadActionPopup::closePopup(a2);
if ( a2 == *((UploadActionPopup **)this + 159) )
*((_DWORD *)this + 159) = 0;
return result;
}