//
// GJWriteMessagePopup::uploadMessageFailed from 0x100297310 to 0x10029738e (126 bytes)
//
// 1 xrefs:
// > ??> @ 0x100b02ac8
//
// This function is hookable on this platform (idp: pc, 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 12:27:51 +0000
//
void __fastcall GJWriteMessagePopup::uploadMessageFailed(__int64 a1, int a2)
{
__int64 v2; // r14
char *v3; // rbx
_QWORD v4[5]; // [rsp+8h] [rbp-28h] BYREF
if ( *(_DWORD *)(a1 + 692) == a2 )
{
v2 = *(_QWORD *)(a1 + 784);
if ( v2 )
{
v3 = (char *)operator new(0x20u);
v4[2] = v3;
v4[0] = 33;
v4[1] = 31;
strcpy(v3, "Failed. Please try again later.");
UploadActionPopup::showFailMessage(v2, (__int64)v4, 1.133375894043806e-153);
operator delete(v3);
}
}
}