//
// ShareCommentLayer::uploadActionFailed from 0x1006b3940 to 0x1006b39ce (142 bytes)
//
// 1 xrefs:
// > ??> @ 0x100b88d50
//
// 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:35:26 +0000
//
void __fastcall ShareCommentLayer::uploadActionFailed(__int64 a1, int a2)
{
__int64 v2; // rbx
char v3; // bl
_QWORD v4[2]; // [rsp+8h] [rbp-28h] BYREF
void *__p; // [rsp+18h] [rbp-18h]
if ( *(_DWORD *)(a1 + 692) == a2 )
{
v2 = *(_QWORD *)(a1 + 792);
if ( v2 )
{
__p = operator new(0x20u);
v4[0] = 33;
v4[1] = 31;
strcpy((char *)__p, "Failed. Please try again later.");
v3 = sub_100290A70(v2, (__int64)v4, *(__m128 *)"Failed. Please try again later.");
if ( (v4[0] & 1) != 0 )
operator delete(__p);
if ( v3 )
*(_QWORD *)(a1 + 792) = 0;
}
}
}