//
// FriendRequestPopup::FLAlert_Clicked from 0x1403a3210 to 0x1403a3326 (278 bytes)
//
// 2 xrefs:
// > ??> @ 0x140778b88
// > ??> @ 0x140923690
//
// 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 11:31:18 +0000
//
// Hidden C++ exception states: #wind=1
void __fastcall FriendRequestPopup::FLAlert_Clicked(__int64 a1, __int64 a2, char a3)
{
__int64 v5; // rcx
cocos2d::CCObject *v6; // rax
__int128 v7; // [rsp+20h] [rbp-28h] BYREF
__int64 v8; // [rsp+30h] [rbp-18h]
__int64 v9; // [rsp+38h] [rbp-10h]
void *v10; // [rsp+68h] [rbp+20h]
if ( a3 )
{
if ( (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)a2 + 56LL))(a2) == 1 )
{
v5 = *(_QWORD *)&qword_14090BFB0;
if ( !*(_QWORD *)&qword_14090BFB0 )
{
v10 = operator new(0x690u);
*(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager((__int64)v10);
(*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0);
v5 = *(_QWORD *)&qword_14090BFB0;
}
if ( GameLevelManager::blockUser(v5, *(_DWORD *)(*(_QWORD *)(a1 + 16) + 324LL)) )
{
v7 = 0;
*(_QWORD *)&v7 = sub_14003D460(0x20u);
v8 = 16;
v9 = 31;
strcpy((char *)v7, "Blocking user...");
v6 = UploadActionPopup::create(a1 - 8, (__int64)&v7);
*(_QWORD *)(a1 + 40) = v6;
(*(void (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)v6 + 1064LL))(v6);
}
}
else if ( (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)a2 + 56LL))(a2) == 2 )
{
FriendRequestPopup::onRemove(a1 - 680);
}
}
}