//
// GJMessagePopup::downloadMessageFailed from 0x140298b60 to 0x140298b9f (63 bytes)
//
// 3 xrefs:
// > ??> @ 0x140577c98
// > ??> @ 0x1406d1c94
// > ??> @ 0x1406d1ca0
//
// 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 GJMessagePopup::downloadMessageFailed(GJMessagePopup *a1, int a2)
{
__int64 v3; // rdx
if ( *(_DWORD *)(*(_QWORD *)&a1->m_uAutoReleaseCount + 320LL) == a2 )
{
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)&a1->m_uIndexInArray + 320LL))(
*(_QWORD *)&a1->m_uIndexInArray,
0);
LOBYTE(v3) = 1;
(*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)&a1->m_nTag + 320LL))(*(_QWORD *)&a1->m_nTag, v3);
}
}