//
// RateDemonLayer::uploadActionFailed from 0x1004a9108 to 0x1004a9180 (120 bytes)
//
// 2 xrefs:
// > sub_1004A919C @ 0x1004a91a0
// > ??> @ 0x10097f6a8
//
// 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 11:06:06 +0000
//
void __fastcall RateDemonLayer::uploadActionFailed(__int64 a1, int a2, int a3)
{
__int64 v4; // x20
void *__p[2]; // [xsp+8h] [xbp-28h] BYREF
char v6; // [xsp+1Fh] [xbp-11h]
if ( a3 == 56 && *(_DWORD *)(a1 + 712) == a2 )
{
v4 = *(_QWORD *)(a1 + 728);
if ( v4 )
{
sub_100009900(__p, "Failed. Please try again later.");
UploadActionPopup::showFailMessage(v4, (char *)__p);
if ( v6 < 0 )
operator delete(__p[0]);
*(_QWORD *)(*(_QWORD *)(a1 + 728) + 664LL) = 0;
*(_QWORD *)(a1 + 728) = 0;
}
}
}