//
// GJWriteMessagePopup::uploadMessageFinished from 0x5da0f4 to 0x5da15a (102 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'GJWriteMessagePopup::uploadMessageFinished @ 0x5da168
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:54:11 +0000
//
int __fastcall GJWriteMessagePopup::uploadMessageFinished(int this, int a2)
{
int v2; // r6
int v3; // r7
int v4; // r2
int v5; // r3
int v6[3]; // [sp+0h] [bp-14h] BYREF
v2 = this;
if ( *(_DWORD *)(this + 536) == a2 )
{
v3 = *(_DWORD *)(this + 584);
if ( v3 )
{
memset(v6, 0, sizeof(v6));
std::string::__init(v6, "Message sent!", 0xDu);
UploadActionPopup::showSuccessMessage(v3, (const char *)v6, v4, v5);
this = std::string::~string((int)v6);
*(_BYTE *)(v2 + 588) = 1;
}
}
return this;
}