//
// sub_100257190 from 0x100257190 to 0x100257225 (149 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008e8210
//
// 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
//
__int64 __fastcall sub_100257190(__int64 a1, int a2)
{
__int64 result; // rax
__int64 v3; // rbx
_QWORD v4[2]; // [rsp+8h] [rbp-28h] BYREF
void *__p; // [rsp+18h] [rbp-18h]
result = *(_QWORD *)(a1 + 8);
if ( *(_DWORD *)(result + 376) == a2 )
{
v3 = *(_QWORD *)(a1 + 16);
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);
result = *(_QWORD *)(a1 + 16);
*(_QWORD *)(result + 632) = 0;
*(_QWORD *)(a1 + 16) = 0;
}
}
return result;
}