//
// GJMessagePopup::uploadActionFinished from 0x5dbe40 to 0x5dbf14 (212 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'GJMessagePopup::uploadActionFinished @ 0x5dbf28
//
// 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:12 +0000
//
int __fastcall GJMessagePopup::uploadActionFinished(GJMessagePopup *this, int a2, int a3)
{
int v5; // r2
int result; // r0
char *v7; // r1
int v8; // r8
const char *v9; // r7
size_t v10; // r0
int v11; // r2
int v12; // r3
char v13[4]; // [sp+4h] [bp-1Ch] BYREF
int v14; // [sp+8h] [bp-18h]
const char *v15; // [sp+Ch] [bp-14h]
int v16[3]; // [sp+10h] [bp-10h] BYREF
v5 = *((_DWORD *)this + 136);
result = *(_DWORD *)(v5 + 264);
if ( result == a2 || a3 == 40 && a2 == *(_DWORD *)(v5 + 268) )
{
*((_BYTE *)this + 536) = 1;
if ( *((_DWORD *)this + 139) )
{
*(_DWORD *)v13 = 0;
v14 = 0;
v15 = nullptr;
std::string::__init((int *)v13, "Unknown action", 0xEu);
if ( a3 == 45 )
{
v7 = "Message removed";
}
else
{
if ( a3 != 40 )
goto LABEL_8;
v7 = "User blocked!";
}
std::string::assign((int *)v13, v7);
LABEL_8:
v8 = *((_DWORD *)this + 139);
if ( (v13[0] & 1) != 0 )
v9 = v15;
else
v9 = &v13[1];
memset(v16, 0, sizeof(v16));
v10 = strlen(v9);
std::string::__init(v16, v9, v10);
UploadActionPopup::showSuccessMessage(v8, (const char *)v16, v11, v12);
std::string::~string((int)v16);
return std::string::~string((int)v13);
}
}
return result;
}