//
// ShareCommentLayer::uploadActionFailed from 0x10026e25c to 0x10026e2d4 (120 bytes)
//
// 2 xrefs:
// > sub_10026E2F0 @ 0x10026e2f4
// > ??> @ 0x100916768
//
// 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 11:01:45 +0000
//
void __fastcall ShareCommentLayer::uploadActionFailed(__int64 a1, int a2)
{
__int64 v3; // x20
int v4; // w0
char v5; // w20
void *__p[2]; // [xsp+8h] [xbp-28h] BYREF
char v7; // [xsp+1Fh] [xbp-11h]
if ( *(_DWORD *)(a1 + 692) == a2 )
{
v3 = *(_QWORD *)(a1 + 792);
if ( v3 )
{
sub_100009900(__p, "Failed. Please try again later.");
v4 = sub_10037785C(v3, __p);
v5 = v4;
if ( v7 < 0 )
{
operator delete(__p[0]);
if ( (v5 & 1) == 0 )
return;
}
else if ( !v4 )
{
return;
}
*(_QWORD *)(a1 + 792) = 0;
}
}
}