//
// FriendRequestPopup::onClosePopup from 0x1002d9fb4 to 0x1002da028 (116 bytes)
//
// 2 xrefs:
// > sub_1002DA028 @ 0x1002da02c
// > ??> @ 0x1007dadb8
//
// 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 __fastcall FriendRequestPopup::onClosePopup(FriendRequestPopup *a1, UploadActionPopup *a2)
{
cocos2d::CCObject *v4; // x1
((void (__fastcall *)(UploadActionPopup *, _QWORD))a2->setKeypadEnabled)(a2, 0);
((void (__fastcall *)(UploadActionPopup *, __int64))a2->removeFromParentAndCleanup)(a2, 1);
if ( a1->m_popup == a2 )
{
a1->m_popup = nullptr;
if ( LOBYTE(a1->m_unk) == 1 )
FriendRequestPopup::onClose(a1, v4);
}
}