//
// CreatorSettingsPopup::uploadActionFailed from 0x765f9c to 0x76601a (126 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'CreatorSettingsPopup::uploadActionFailed @ 0x766028
//
// 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:07 +0000
//
int __fastcall CreatorSettingsPopup::uploadActionFailed(CreatorSettingsPopup *this, int a2, int a3)
{
int result; // r0
int v5; // r2
int v6; // r7
int v7[3]; // [sp+0h] [bp-14h] BYREF
result = _stack_chk_guard;
if ( a3 == 27 )
{
v5 = *((_DWORD *)this + 181);
if ( v5 )
{
if ( *(_DWORD *)(v5 + 268) - *(_DWORD *)(v5 + 272) == a2 )
{
v6 = *((_DWORD *)this + 183);
if ( v6 )
{
memset(v7, 0, sizeof(v7));
std::string::__init(v7, "Failed. Please try again later.", 0x1Fu);
UploadActionPopup::showFailMessage(v6, (const char *)v7);
result = std::string::~string((int)v7);
*(_DWORD *)(*((_DWORD *)this + 183) + 520) = 0;
*((_DWORD *)this + 183) = 0;
}
}
}
}
return result;
}