//
// FriendRequestPopup::FLAlert_Clicked from 0x140297290 to 0x14029736e (222 bytes)
//
// 2 xrefs:
// > ??> @ 0x140574450
// > ??> @ 0x1406d1c40
//
// 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
//
// Hidden C++ exception states: #wind=1
void FriendRequestPopup::FLAlert_Clicked(FriendRequestPopup *a1, FLAlertLayer *a2, bool a3)
{
GameLevelManager *v4; // rcx
FLAlertLayer *v5; // rax
__int128 v6; // [rsp+20h] [rbp-28h] BYREF
__int64 v7; // [rsp+30h] [rbp-18h]
__int64 v8; // [rsp+38h] [rbp-10h]
void *v9; // [rsp+68h] [rbp+20h]
if ( a3 && a2->getTag(a2) == 1 )
{
v4 = (GameLevelManager *)qword_1406C2EC0;
if ( !qword_1406C2EC0 )
{
v9 = operator new(0x3D0u);
qword_1406C2EC0 = sub_140141280((__int64)v9);
(*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2EC0 + 72LL))(qword_1406C2EC0);
v4 = (GameLevelManager *)qword_1406C2EC0;
}
if ( GameLevelManager::blockUser(v4, *(_DWORD *)(*(_QWORD *)&a1->m_nTag + 324LL)) )
{
v6 = 0;
*(_QWORD *)&v6 = sub_14003AA10(0x20u);
v7 = 16;
v8 = 31;
strcpy((char *)v6, "Blocking user...");
v5 = UploadActionPopup::create((__int64)&a1[-1].m_popup, (__int64)&v6);
*(_QWORD *)&a1->m_unknown2 = v5;
v5->show(v5);
}
}
}