//
// EditLevelLayer::uploadActionFailed from 0x1400d9c60 to 0x1400d9d39 (217 bytes)
//
// 2 xrefs:
// > ??> @ 0x140551718
// > ??> @ 0x1406c88b0
//
// 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 EditLevelLayer::uploadActionFailed(EditLevelLayer *a1, int a2, int a3)
{
__int64 v3; // r8
__int128 v5; // [rsp+20h] [rbp-28h] BYREF
__int64 v6; // [rsp+30h] [rbp-18h]
__int64 v7; // [rsp+38h] [rbp-10h]
v3 = *(_QWORD *)&a1->m_uIndexInArray;
if ( v3 && *(_DWORD *)(v3 + 328) - *(_DWORD *)(v3 + 332) == a2 )
{
if ( *(_QWORD *)&a1->m_obAnchorPointInPoints.y )
{
v5 = 0;
*(_QWORD *)&v5 = sub_14003AA10(0x20u);
v6 = 31;
v7 = 31;
strcpy((char *)v5, "Failed. Please try again later.");
UploadActionPopup::showFailMessage(*(_QWORD *)&a1->m_obAnchorPointInPoints.y, &v5);
*(_QWORD *)(*(_QWORD *)&a1->m_obAnchorPointInPoints.y + 632LL) = 0;
*(_QWORD *)&a1->m_obAnchorPointInPoints.y = 0;
}
}
}