//
// GJMessagePopup::uploadActionFinished from 0x10037a730 to 0x10037a818 (232 bytes)
//
// 2 xrefs:
// > sub_10037A84C @ 0x10037a850
// > ??> @ 0x100935528
//
// 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:03:27 +0000
//
void __fastcall GJMessagePopup::uploadActionFinished(__int64 a1, int a2, int a3)
{
__int64 v5; // x8
const std::string::value_type *v6; // x1
__int64 v7; // x19
std::string *v8; // x1
void *__p[2]; // [xsp+0h] [xbp-40h] BYREF
char v10; // [xsp+17h] [xbp-29h]
std::string v11; // [xsp+18h] [xbp-28h] BYREF
v5 = *(_QWORD *)(a1 + 712);
if ( *(_DWORD *)(v5 + 316) == a2 || a3 == 40 && *(_DWORD *)(v5 + 320) == a2 )
{
*(_BYTE *)(a1 + 696) = 1;
if ( *(_QWORD *)(a1 + 736) )
{
sub_100009900(&v11, "Unknown action");
if ( a3 == 40 )
{
v6 = "User blocked!";
}
else
{
if ( a3 != 45 )
{
LABEL_11:
v7 = *(_QWORD *)(a1 + 736);
if ( (v11.__r_.__value_.__r.__words[2] & 0x8000000000000000LL) == 0LL )
v8 = &v11;
else
v8 = (std::string *)v11.__r_.__value_.__r.__words[0];
sub_100009900(__p, (char *)v8);
UploadActionPopup::showSuccessMessage(v7, (char *)__p);
if ( v10 < 0 )
operator delete(__p[0]);
if ( SHIBYTE(v11.__r_.__value_.__r.__words[2]) < 0 )
operator delete(v11.__r_.__value_.__l.__data_);
return;
}
v6 = "Message removed";
}
std::string::assign(&v11, v6);
goto LABEL_11;
}
}
}