//
// GJMessagePopup::downloadMessageFailed from 0x1403a4ba0 to 0x1403a4bdf (63 bytes)
//
// 3 xrefs:
// > ??> @ 0x14077b4a8
// > ??> @ 0x1409236f0
// > ??> @ 0x1409236fc
//
// 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 11:31:18 +0000
//
__int64 __fastcall GJMessagePopup::downloadMessageFailed(__int64 a1, int a2)
{
__int64 result; // rax
__int64 v4; // rdx
result = *(_QWORD *)(a1 + 24);
if ( *(_DWORD *)(result + 320) == a2 )
{
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 32) + 336LL))(*(_QWORD *)(a1 + 32), 0);
LOBYTE(v4) = 1;
return (*(__int64 (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 16) + 336LL))(*(_QWORD *)(a1 + 16), v4);
}
return result;
}