//
// MessagesProfilePage::uploadActionFinished from 0x100264fe8 to 0x100265094 (172 bytes)
//
// 2 xrefs:
// > sub_1002650C8 @ 0x1002650cc
// > ??> @ 0x1009123a0
//
// 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 11:01:40 +0000
//
void __fastcall MessagesProfilePage::uploadActionFinished(__int64 a1, __int64 a2, int a3)
{
__int64 v5; // x19
std::string *v6; // x1
void *__p[2]; // [xsp+0h] [xbp-50h] BYREF
char v8; // [xsp+17h] [xbp-39h]
std::string v9; // [xsp+18h] [xbp-38h] BYREF
if ( *(_QWORD *)(a1 + 760) )
{
sub_100009900(&v9, "Unknown action finished");
if ( a3 == 45 )
std::string::assign(&v9, "Messages removed");
v5 = *(_QWORD *)(a1 + 760);
if ( (v9.__r_.__value_.__r.__words[2] & 0x8000000000000000LL) == 0LL )
v6 = &v9;
else
v6 = (std::string *)v9.__r_.__value_.__r.__words[0];
sub_100009900(__p, (char *)v6);
UploadActionPopup::showSuccessMessage(v5, __p);
if ( v8 < 0 )
operator delete(__p[0]);
if ( SHIBYTE(v9.__r_.__value_.__r.__words[2]) < 0 )
operator delete(v9.__r_.__value_.__l.__data_);
}
}