//
// GJMessagePopup::downloadMessageFinished from 0xa34580 to 0xa345e8 (104 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'GJMessagePopup::downloadMessageFinished @ 0xa345ec
// > ??> @ 0xae1d8
// > ??> @ 0x147f350
//
// This function is hookable on this platform (idp: arm, 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:59:49 +0000
//
_QWORD *__fastcall GJMessagePopup::downloadMessageFinished(_QWORD *this, GJUserMessage *a2)
{
_QWORD *v2; // x19
if ( a2 )
{
if ( *(_DWORD *)(*(this + 89) + 316LL) == *((_DWORD *)a2 + 79) )
{
v2 = this;
GJMessagePopup::loadFromGJMessage((GJMessagePopup *)this, a2);
(*(void (__fastcall **)(_QWORD, _QWORD))(*(_QWORD *)v2[90] + 344LL))(v2[90], 0);
return (_QWORD *)(*(__int64 (__fastcall **)(_QWORD, _QWORD))(*(_QWORD *)v2[88] + 344LL))(v2[88], 0);
}
}
return this;
}