//
// ProfilePage::uploadActionFinished from 0x5fb33c to 0x5fb420 (228 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'ProfilePage::uploadActionFinished @ 0x5fb43c
//
// 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:35 +0000
//
GameLevelManager *__fastcall ProfilePage::uploadActionFinished(GameLevelManager *this, int a2, int a3)
{
GameLevelManager *v4; // r8
char *v5; // r1
int v6; // r10
const char *v7; // r9
size_t v8; // r0
int v9; // r2
int v10; // r3
char v11[4]; // [sp+4h] [bp-1Ch] BYREF
int v12; // [sp+8h] [bp-18h]
const char *v13; // [sp+Ch] [bp-14h]
int v14[3]; // [sp+10h] [bp-10h] BYREF
v4 = this;
if ( a2 == *((_DWORD *)this + 139) )
{
if ( !*((_DWORD *)this + 159) )
{
LABEL_16:
if ( a3 == 41 )
return ProfilePage::onUpdate((const char **)v4, nullptr);
return this;
}
*(_DWORD *)v11 = 0;
v12 = 0;
v13 = nullptr;
std::string::__init((int *)v11, "Unknown action finished", 0x17u);
switch ( a3 )
{
case '$':
v5 = "Request removed";
break;
case '\'':
v5 = "Friend removed";
break;
case '(':
v5 = "User blocked";
break;
case ')':
v5 = "User unblocked";
break;
default:
goto LABEL_6;
}
std::string::assign((int *)v11, v5);
LABEL_6:
v6 = *((_DWORD *)v4 + 159);
if ( (v11[0] & 1) != 0 )
v7 = v13;
else
v7 = &v11[1];
memset(v14, 0, sizeof(v14));
v8 = strlen(v7);
std::string::__init(v14, v7, v8);
UploadActionPopup::showSuccessMessage(v6, (const char *)v14, v9, v10);
std::string::~string((int)v14);
this = (GameLevelManager *)std::string::~string((int)v11);
goto LABEL_16;
}
return this;
}