//
// FriendRequestPopup::FLAlert_Clicked from 0x100292e70 to 0x100292f14 (164 bytes)
//
// 1 xrefs:
// > ??> @ 0x100b01b40
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:27:50 +0000
//
void __fastcall FriendRequestPopup::FLAlert_Clicked(__int64 a1, __int64 a2, int a3, double a4)
{
__int64 v4; // rax
char *v5; // rax
__int128 v6[2]; // [rsp+8h] [rbp-28h] BYREF
if ( a3 )
{
if ( (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2) == 1 )
{
v4 = GameLevelManager::sharedState(a4);
if ( (unsigned __int8)sub_10057C0D0(v4, *(unsigned int *)(*(_QWORD *)(a1 + 696) + 320LL)) )
{
strcpy((char *)v6, " Blocking user...");
v5 = UploadActionPopup::create(a1 + 672, v6);
*(_QWORD *)(a1 + 720) = v5;
(*(void (__fastcall **)(char *))(*(_QWORD *)v5 + 1312LL))(v5);
}
}
else if ( (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2) == 2 )
{
FriendRequestPopup::onRemove(a1, a4);
}
}
}