//
// FriendRequestPopup::onAccept from 0x4ac6a4 to 0x4ac712 (110 bytes)
//
// 0 xrefs:
//
// 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::onAccept(FriendRequestPopup *a1, cocos2d::CCObject *a2)
{
GameLevelManager *v3; // r0
char v4[4]; // [sp+8h] [bp-8h] BYREF
v3 = GameLevelManager::sharedState();
if ( GameLevelManager::acceptFriendRequest(v3, a1->m_request->m_accountID, a1->m_request->m_requestID) )
{
sub_776584((int)v4, "Accepting Friend Request...");
a1->m_popup = (UploadActionPopup *)UploadActionPopup::create((char *)&a1->UploadPopupDelegate, v4);
sub_774008(v4);
a1->m_popup->show(a1->m_popup);
}
}