//
// FriendsProfilePage::uploadActionFinished from 0xa4fa8c to 0xa4fb68 (220 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'FriendsProfilePage::uploadActionFinished @ 0xa4fb6c
// > ??> @ 0x9e5d8
// > ??> @ 0x148c698
//
// 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 13:00:04 +0000
//
__int64 __fastcall FriendsProfilePage::uploadActionFinished(FriendsProfilePage *this, int a2)
{
__int64 v3; // x0
__int64 v4; // x2
char v6; // [xsp+20h] [xbp+20h] BYREF
_BYTE v7[23]; // [xsp+21h] [xbp+21h] BYREF
v3 = *((_QWORD *)this + 106);
if ( v3 )
{
v4 = *((_QWORD *)this + 105);
if ( v4 )
{
if ( *(_DWORD *)(v4 + 376) == a2 )
{
v7[16] = 0;
*(_WORD *)&v7[17] = 0;
*(_DWORD *)&v7[19] = 0;
v6 = 30;
strcpy(v7, "User unblocked!");
UploadActionPopup::showSuccessMessage(v3, (__int64)&v6);
if ( (v6 & 1) != 0 )
operator delete(*(void **)&v7[15]);
*(_QWORD *)(*((_QWORD *)this + 106) + 664LL) = 0;
*((_QWORD *)this + 106) = 0;
}
}
}
return _stack_chk_guard;
}