//
// sub_1002845B0 from 0x1002845b0 to 0x100284643 (147 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008f2c40
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall sub_1002845B0(__int64 a1, int a2, int a3)
{
__int64 v3; // rbx
_QWORD v4[2]; // [rsp+8h] [rbp-28h] BYREF
void *__p; // [rsp+18h] [rbp-18h]
if ( a3 == 50 && *(_DWORD *)(a1 + 40) == a2 )
{
v3 = *(_QWORD *)(a1 + 56);
if ( v3 )
{
__p = operator new(0x20u);
v4[0] = 33;
v4[1] = 31;
strcpy((char *)__p, "Failed. Please try again later.");
UploadActionPopup::showFailMessage(v3, v4);
if ( (v4[0] & 1) != 0 )
operator delete(__p);
*(_QWORD *)(*(_QWORD *)(a1 + 56) + 632LL) = 0;
*(_QWORD *)(a1 + 56) = 0;
}
}
}