//
// ShareCommentLayer::uploadActionFailed from 0x90e0dc to 0x90e1e8 (268 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'ShareCommentLayer::uploadActionFailed @ 0x90e1ec
// > ??> @ 0x5fb78
// > ??> @ 0x1466dc8
//
// 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 12:57:14 +0000
//
__int64 __fastcall ShareCommentLayer::uploadActionFailed(ShareCommentLayer *this, int a2)
{
__int64 v4; // x21
int v5; // w21
_QWORD v6[2]; // [xsp+30h] [xbp+30h] BYREF
void *v7; // [xsp+40h] [xbp+40h]
if ( *((_DWORD *)this + 173) == a2 )
{
v4 = *((_QWORD *)this + 99);
if ( v4 )
{
v7 = (void *)operator new(0x20u);
v6[0] = 33;
v6[1] = 31;
strcpy((char *)v7, "Failed. Please try again later.");
v5 = (unsigned __int8)UploadActionPopup::showFailMessageOrDismiss(v4, v6);
if ( (v6[0] & 1) != 0 )
operator delete(v7);
if ( v5 )
*((_QWORD *)this + 99) = 0;
}
}
return _stack_chk_guard;
}