//
// FriendsProfilePage::uploadActionFailed from 0x100737b80 to 0x100737c2a (170 bytes)
//
// 2 xrefs:
// > sub_100737C50 @ 0x100737c5c
// > ??> @ 0x100b9a2e8
//
// 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::uploadActionFailed(__int64 a1, int a2)
{
__int64 v2; // rbx
__int64 v3; // rax
_QWORD v4[2]; // [rsp+8h] [rbp-28h] BYREF
void *__p; // [rsp+18h] [rbp-18h]
v2 = *(_QWORD *)(a1 + 848);
if ( v2 )
{
v3 = *(_QWORD *)(a1 + 840);
if ( v3 )
{
if ( *(_DWORD *)(v3 + 376) == a2 )
{
__p = operator new(0x20u);
v4[0] = 33;
v4[1] = 31;
strcpy((char *)__p, "Failed. Please try again later.");
UploadActionPopup::showFailMessage(v2, (__int64)v4, 1.133375894043806e-153);
if ( (v4[0] & 1) != 0 )
operator delete(__p);
*(_QWORD *)(*(_QWORD *)(a1 + 848) + 664LL) = 0;
*(_QWORD *)(a1 + 848) = 0;
}
}
}
}