//
// GJRateLevelLayer::uploadActionFailed from 0x1402f6d80 to 0x1402f6e51 (209 bytes)
//
// 2 xrefs:
// > ??> @ 0x140586c38
// > ??> @ 0x1406d4094
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void GJRateLevelLayer::uploadActionFailed(GJRateLevelLayer *a1, int a2, int a3)
{
__int128 v4; // [rsp+20h] [rbp-28h] BYREF
__int64 v5; // [rsp+30h] [rbp-18h]
__int64 v6; // [rsp+38h] [rbp-10h]
if ( a2 == *(_DWORD *)(*(_QWORD *)&a1->m_uAutoReleaseCount + 328LL)
- *(_DWORD *)(*(_QWORD *)&a1->m_uAutoReleaseCount + 332LL) )
{
if ( *(_QWORD *)&a1->m_fVertexZ )
{
v4 = 0;
*(_QWORD *)&v4 = sub_14003AA10(0x20u);
v5 = 31;
v6 = 31;
strcpy((char *)v4, "Failed. Please try again later.");
UploadActionPopup::showFailMessage(*(_QWORD *)&a1->m_fVertexZ, &v4);
*(_QWORD *)(*(_QWORD *)&a1->m_fVertexZ + 632LL) = 0;
*(_QWORD *)&a1->m_fVertexZ = 0;
}
}
}