//
// RateStarsLayer::uploadActionFailed from 0x14055f180 to 0x14055f23b (187 bytes)
//
// 4 xrefs:
// > ??> @ 0x1407d9ed8
// > ??> @ 0x1408daec4
// > ??> @ 0x1408daed4
// > ??> @ 0x14092c2dc
//
// 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:34:14 +0000
//
void __fastcall RateStarsLayer::uploadActionFailed(__int64 a1, int a2)
{
__int128 v3; // [rsp+20h] [rbp-28h] BYREF
__int64 v4; // [rsp+30h] [rbp-18h]
__int64 v5; // [rsp+38h] [rbp-10h]
if ( a2 == *(_DWORD *)(a1 + 32) )
{
if ( *(_QWORD *)(a1 + 56) )
{
v3 = 0;
*(_QWORD *)&v3 = sub_14003D460(0x20u);
v4 = 31;
v5 = 31;
strcpy((char *)v3, "Failed. Please try again later.");
UploadActionPopup::showFailMessage(*(_QWORD *)(a1 + 56), &v3);
*(_QWORD *)(*(_QWORD *)(a1 + 56) + 664LL) = 0;
*(_QWORD *)(a1 + 56) = 0;
}
}
}