//
// FriendRequestPopup::FLAlert_Clicked from 0x5d9d2c to 0x5d9d64 (56 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'FriendRequestPopup::FLAlert_Clicked @ 0x5d9d68
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:54:11 +0000
//
int __fastcall FriendRequestPopup::FLAlert_Clicked(int this, FLAlertLayer *a2, int a3, int a4)
{
FriendRequestPopup *v4; // r5
int v6; // r1
int v7; // r2
int v8; // r2
v4 = (FriendRequestPopup *)this;
if ( a3 )
{
if ( (*(int (__fastcall **)(FLAlertLayer *))(*(_DWORD *)a2 + 32))(a2) == 1 )
{
return FriendRequestPopup::blockUser(v4, v6, v7, a4);
}
else
{
this = (*(int (__fastcall **)(FLAlertLayer *))(*(_DWORD *)a2 + 32))(a2);
if ( this == 2 )
return FriendRequestPopup::onRemove(v4, nullptr, v8, a4);
}
}
return this;
}