//
// FriendRequestPopup::FLAlert_Clicked from 0x1002a68a0 to 0x1002a6919 (121 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008fa7f8
//
// 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::FLAlert_Clicked(FriendRequestPopup *a1, FLAlertLayer *a2, bool a3)
{
GameLevelManager *v3; // rax
char *v4; // rax
__int128 v5[2]; // [rsp-28h] [rbp-28h] BYREF
if ( a3 && ((unsigned int (__fastcall *)(FLAlertLayer *))a2->getTag)(a2) == 1 )
{
v3 = GameLevelManager::sharedState();
if ( GameLevelManager::blockUser(v3, a1->m_request->m_accountID) )
{
strcpy((char *)v5, " Blocking user...");
v4 = UploadActionPopup::create((__int64)&a1->UploadPopupDelegate, v5);
a1->m_popup = (UploadActionPopup *)v4;
(*(void (__fastcall **)(char *))(*(_QWORD *)v4 + 1288LL))(v4);
}
}
}