//
// MessagesProfilePage::uploadActionFinished from 0x5f0198 to 0x5f0246 (174 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'MessagesProfilePage::uploadActionFinished @ 0x5f0258
//
// 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:27 +0000
//
int __fastcall MessagesProfilePage::uploadActionFinished(int this, int a2, int a3)
{
int v4; // r5
int v5; // r8
const char *v6; // r7
size_t v7; // r0
int v8; // r2
int v9; // r3
char v10[4]; // [sp+4h] [bp-1Ch] BYREF
int v11; // [sp+8h] [bp-18h]
const char *v12; // [sp+Ch] [bp-14h]
int v13[3]; // [sp+10h] [bp-10h] BYREF
v4 = this;
if ( *(_DWORD *)(this + 568) )
{
*(_DWORD *)v10 = 0;
v11 = 0;
v12 = nullptr;
std::string::__init((int *)v10, "Unknown action finished", 0x17u);
if ( a3 == 45 )
std::string::assign(v10, "Messages removed", 0x10u);
v5 = *(_DWORD *)(v4 + 568);
if ( (v10[0] & 1) != 0 )
v6 = v12;
else
v6 = &v10[1];
memset(v13, 0, sizeof(v13));
v7 = strlen(v6);
std::string::__init(v13, v6, v7);
UploadActionPopup::showSuccessMessage(v5, (const char *)v13, v8, v9);
std::string::~string((int)v13);
return std::string::~string((int)v10);
}
return this;
}