//
// FriendsProfilePage::FLAlert_Clicked from 0x1007378b0 to 0x1007379f6 (326 bytes)
//
// 2 xrefs:
// > sub_100737A10 @ 0x100737a1c
// > ??> @ 0x100b9a2d8
//
// 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:36:25 +0000
//
void __fastcall FriendsProfilePage::FLAlert_Clicked(__int64 a1, __int64 a2, int a3)
{
__int64 v3; // rax
__int64 v4; // rax
__int64 v5; // rax
char *v6; // rax
__int64 v7; // rax
__int128 v8[2]; // [rsp+8h] [rbp-28h] BYREF
if ( a3 && *(_QWORD *)(a1 + 840) )
{
if ( (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2) == 1 )
{
v3 = GameLevelManager::sharedState();
sub_100576170(v3, *(unsigned int *)(*(_QWORD *)(a1 + 840) + 376LL), 0);
}
else if ( (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2) == 2 )
{
v4 = GameLevelManager::sharedState();
if ( sub_10057C640(v4, *(_DWORD *)(*(_QWORD *)(a1 + 840) + 376LL)) )
{
*(_QWORD *)(GameLevelManager::sharedState() + 1360) = a1 + 792;
v5 = *(_QWORD *)(a1 + 848);
if ( v5 )
*(_QWORD *)(v5 + 664) = 0;
strcpy((char *)v8, "$Unblocking user...");
v6 = UploadActionPopup::create(a1 + 800, v8);
*(_QWORD *)(a1 + 848) = v6;
if ( (v8[0] & 1) != 0 )
{
operator delete(*(void **)&v8[1]);
v6 = *(char **)(a1 + 848);
}
(*(void (__fastcall **)(char *))(*(_QWORD *)v6 + 1312LL))(v6);
}
}
else if ( (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2) == 3 )
{
v7 = GameLevelManager::sharedState();
sub_100575DD0(v7, *(unsigned int *)(*(_QWORD *)(a1 + 840) + 376LL), 0);
}
}
}