//
// RateStarsModLayer::uploadActionFailed from 0x79e8cc to 0x79e93a (110 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'RateStarsModLayer::uploadActionFailed @ 0x79e948
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:59:52 +0000
//
int __fastcall RateStarsModLayer::uploadActionFailed(int this, int a2, int a3)
{
int v3; // r6
int v4; // r7
int v5[3]; // [sp+0h] [bp-14h] BYREF
v3 = this;
if ( a2 == *(_DWORD *)(this + 544) )
{
v4 = *(_DWORD *)(this + 560);
if ( v4 )
{
memset(v5, 0, sizeof(v5));
std::string::__init(v5, "Failed. Please try again later.", 0x1Fu);
UploadActionPopup::showFailMessage(v4, (const char *)v5);
this = std::string::~string((int)v5);
*(_DWORD *)(*(_DWORD *)(v3 + 560) + 520) = 0;
*(_DWORD *)(v3 + 560) = 0;
}
}
return this;
}