//
// UploadActionPopup::showFailMessageOrDismiss from 0x1403a14b0 to 0x1403a153e (142 bytes)
//
// 3 xrefs:
// > FriendRequestPopup::uploadActionFailed @ 0x1403a3195
// > ShareCommentLayer::uploadActionFailed @ 0x140630193
// > ??> @ 0x1409235e8
//
// 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 11:31:17 +0000
//
// Hidden C++ exception states: #wind=1
char __fastcall UploadActionPopup::showFailMessageOrDismiss(__int64 a1, __int64 a2)
{
_QWORD *v4; // rax
__int64 v6; // rdx
_BYTE v7[32]; // [rsp+28h] [rbp-40h] BYREF
__int64 v8; // [rsp+48h] [rbp-20h]
v8 = a2;
if ( byte_1409097D9 )
{
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)a1 + 992LL))(a1, 0);
LOBYTE(v6) = 1;
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 520LL))(a1, v6);
sub_14003D310(a2);
return 1;
}
else
{
v4 = (_QWORD *)sub_14003F4F0((__int64)v7, a2);
UploadActionPopup::showFailMessage(a1, v4);
sub_14003D310(a2);
return 0;
}
}