//
// GJMessagePopup::downloadMessageFinished from 0x140298b10 to 0x140298b60 (80 bytes)
//
// 2 xrefs:
// > ??> @ 0x140577c90
// > ??> @ 0x1406d1c94
//
// 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::downloadMessageFinished(GJMessagePopup *a1, GJUserMessage *a2)
{
if ( a2 )
{
if ( *(_DWORD *)(*(_QWORD *)&a1->m_uAutoReleaseCount + 320LL) == a2->m_messageID )
{
GJMessagePopup::loadFromGJMessage((GJMessagePopup *)((char *)a1 - 656), a2);
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)&a1->m_uIndexInArray + 320LL))(
*(_QWORD *)&a1->m_uIndexInArray,
0);
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)&a1->m_nTag + 320LL))(*(_QWORD *)&a1->m_nTag, 0);
}
}
}