//
// FriendRequestPopup::onClosePopup from 0x8cc9b0 to 0x8cca08 (88 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'FriendRequestPopup::onClosePopup @ 0x8cca0c
// > ??> @ 0x8a228
// > ??> @ 0x1198c40
//
// 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; // w0
UploadActionPopup::closePopup(a2);
if ( a1->m_popup == a2 )
{
m_unk_low = LOBYTE(a1->m_unk);
a1->m_popup = nullptr;
if ( m_unk_low )
FriendRequestPopup::onClose(a1, nullptr);
}
}