//
// FriendRequestPopup::blockUser from 0x5d9cb0 to 0x5d9d22 (114 bytes)
//
// 1 xrefs:
// > FriendRequestPopup::FLAlert_Clicked @ 0x5d9d46
//
// 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::blockUser(FriendRequestPopup *this, int a2, int a3, int a4)
{
GameLevelManager *v5; // r0
int result; // r0
int v7; // r2
int v8; // r3
FriendRequestPopup *v9; // [sp+0h] [bp-10h] BYREF
int v10; // [sp+4h] [bp-Ch]
int v11; // [sp+8h] [bp-8h]
int v12; // [sp+Ch] [bp-4h]
v9 = this;
v10 = a2;
v11 = a3;
v12 = a4;
v5 = (GameLevelManager *)GameLevelManager::sharedState(this);
result = GameLevelManager::blockUser(v5, *(const char **)(*((_DWORD *)this + 134) + 268));
if ( result )
{
v9 = nullptr;
v10 = 0;
v11 = 0;
std::string::__init((int *)&v9, "Blocking user...", 0x10u);
*((_DWORD *)this + 137) = UploadActionPopup::create((int)this + 524, (int)&v9, v7, v8);
std::string::~string((int)&v9);
return (*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 137) + 656))(*((_DWORD *)this + 137));
}
return result;
}