//
// RateStarsLayer::uploadActionFailed from 0x95755c to 0x957668 (268 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'RateStarsLayer::uploadActionFailed @ 0x95766c
// > ??> @ 0x82438
// > ??> @ 0x146d5b8
//
// 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:25 +0000
//
__int64 __fastcall RateStarsLayer::uploadActionFailed(RateStarsLayer *this, int a2)
{
__int64 v4; // x21
_QWORD v5[2]; // [xsp+30h] [xbp+30h] BYREF
void *v6; // [xsp+40h] [xbp+40h]
if ( *((_DWORD *)this + 176) == a2 )
{
v4 = *((_QWORD *)this + 91);
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 + 91) + 664LL) = 0;
*((_QWORD *)this + 91) = 0;
}
}
return _stack_chk_guard;
}