//
// FriendRequestPopup::onClosePopup from 0xa1fe64 to 0xa1febc (88 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'FriendRequestPopup::onClosePopup @ 0xa1fec0
// > ??> @ 0xb7298
// > ??> @ 0x147ebb0
//
// 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 FriendRequestPopup::onClosePopup(FriendRequestPopup *this, UploadActionPopup *a2)
{
__int64 result; // x0
UploadActionPopup::closePopup(a2);
result = *((_QWORD *)this + 90);
if ( (UploadActionPopup *)result == a2 )
{
result = *((unsigned __int8 *)this + 688);
*((_QWORD *)this + 90) = 0;
if ( (_DWORD)result )
return FriendRequestPopup::onClose(this, nullptr);
}
return result;
}