//
// GJRateLevelListLayer::uploadActionFailed from 0x950b6c to 0x950c7c (272 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'GJRateLevelListLayer::uploadActionFailed @ 0x950c80
// > ??> @ 0xffe98
// > ??> @ 0x146bda8
//
// 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 12:57:22 +0000
//
__int64 __fastcall GJRateLevelListLayer::uploadActionFailed(GJRateLevelListLayer *this, int a2)
{
__int64 v4; // x21
_QWORD v5[2]; // [xsp+30h] [xbp+30h] BYREF
void *v6; // [xsp+40h] [xbp+40h]
if ( *(_DWORD *)(*((_QWORD *)this + 130) + 344LL) == a2 )
{
v4 = *((_QWORD *)this + 132);
if ( v4 )
{
v6 = (void *)operator new(0x20u);
v5[0] = 33;
v5[1] = 31;
strcpy((char *)v6, "Failed. Please try again later.");
UploadActionPopup::showFailMessage(v4, v5);
if ( (v5[0] & 1) != 0 )
operator delete(v6);
*(_QWORD *)(*((_QWORD *)this + 132) + 664LL) = 0;
*((_QWORD *)this + 132) = 0;
}
}
return _stack_chk_guard;
}