//
// FriendsProfilePage::FLAlert_Clicked from 0x1002738b8 to 0x1002739e4 (300 bytes)
//
// 2 xrefs:
// > sub_100273A00 @ 0x100273a04
// > ??> @ 0x100918338
//
// This function is hookable on this platform (idp: arm, 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:01:48 +0000
//
__int64 __fastcall FriendsProfilePage::FLAlert_Clicked(__int64 result, __int64 a2, int a3)
{
__int64 v3; // x19
__int64 v5; // x0
__int64 v6; // x0
__int64 v7; // x8
__int64 v8; // x0
__int64 v9; // x0
void *__p[2]; // [xsp+8h] [xbp-28h] BYREF
char v11; // [xsp+1Fh] [xbp-11h]
if ( a3 )
{
v3 = result;
if ( *(_QWORD *)(result + 840) )
{
if ( (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2) == 1 )
{
v5 = GameLevelManager::sharedState();
return sub_1000C7640(v5, *(_DWORD *)(*(_QWORD *)(v3 + 840) + 376LL), 0);
}
else if ( (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2) == 2 )
{
v6 = GameLevelManager::sharedState();
result = sub_1000CAEA4(v6, *(_DWORD *)(*(_QWORD *)(v3 + 840) + 376LL));
if ( (_DWORD)result )
{
*(_QWORD *)(GameLevelManager::sharedState() + 1360) = v3 + 792;
v7 = *(_QWORD *)(v3 + 848);
if ( v7 )
*(_QWORD *)(v7 + 664) = 0;
sub_100009900(__p, "Unblocking user...");
v8 = UploadActionPopup::create(v3 + 800, __p);
*(_QWORD *)(v3 + 848) = v8;
if ( v11 < 0 )
{
operator delete(__p[0]);
v8 = *(_QWORD *)(v3 + 848);
}
return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v8 + 1312LL))(v8);
}
}
else
{
result = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2);
if ( (_DWORD)result == 3 )
{
v9 = GameLevelManager::sharedState();
return sub_1000C7350(v9, *(_DWORD *)(*(_QWORD *)(v3 + 840) + 376LL), 0);
}
}
}
}
return result;
}