//
// FriendRequestPopup::onClosePopup from 0x4acde8 to 0x4ace14 (44 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'FriendRequestPopup::onClosePopup @ 0x4ace18
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void FriendRequestPopup::onClosePopup(FriendRequestPopup *a1, UploadActionPopup *a2)
{
int m_unk_low; // r3
UploadActionPopup::closePopup(a2);
if ( a2 == a1->m_popup )
{
m_unk_low = LOBYTE(a1->m_unk);
a1->m_popup = nullptr;
if ( m_unk_low )
FriendRequestPopup::onClose(a1, nullptr);
}
}