//
// GJWriteMessagePopup::uploadMessageFinished from 0xa29048 to 0xa29114 (204 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'GJWriteMessagePopup::uploadMessageFinished @ 0xa29118
// > ??> @ 0xd3210
// > ??> @ 0x147fb48
//
// 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:43 +0000
//
__int64 __fastcall GJWriteMessagePopup::uploadMessageFinished(GJWriteMessagePopup *this, int a2)
{
__int64 v4; // x0
char v5; // [xsp+20h] [xbp+20h] BYREF
char v6[15]; // [xsp+21h] [xbp+21h] BYREF
void *v7; // [xsp+30h] [xbp+30h]
if ( *((_DWORD *)this + 173) == a2 )
{
v4 = *((_QWORD *)this + 98);
if ( v4 )
{
v6[14] = 0;
v7 = nullptr;
v5 = 26;
strcpy(v6, "Message sent!");
UploadActionPopup::showSuccessMessage(v4, (__int64)&v5);
if ( (v5 & 1) != 0 )
operator delete(v7);
*((_BYTE *)this + 792) = 1;
}
}
return _stack_chk_guard;
}