//
// ProfilePage::uploadActionFinished from 0x1002300f0 to 0x1002301cc (220 bytes)
//
// 2 xrefs:
// > sub_100230200 @ 0x100230204
// > ??> @ 0x1008ff738
//
// 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:16 +0000
//
void __fastcall ProfilePage::uploadActionFinished(__int64 a1, int a2, int a3)
{
int v5; // w8
__int64 v6; // x21
std::string *v7; // x1
void *__p[2]; // [xsp+0h] [xbp-50h] BYREF
char v9; // [xsp+17h] [xbp-39h]
std::string v10; // [xsp+18h] [xbp-38h] BYREF
if ( *(_DWORD *)(a1 + 736) == a2 )
{
if ( *(_QWORD *)(a1 + 872) )
{
sub_100009900(&v10, "Unknown action finished");
v5 = a3 - 36;
if ( (unsigned int)(a3 - 36) < 6 && ((0x39u >> v5) & 1) != 0 )
std::string::assign(&v10, off_100901158[v5]);
v6 = *(_QWORD *)(a1 + 872);
if ( (v10.__r_.__value_.__r.__words[2] & 0x8000000000000000LL) == 0LL )
v7 = &v10;
else
v7 = (std::string *)v10.__r_.__value_.__r.__words[0];
sub_100009900(__p, (char *)v7);
UploadActionPopup::showSuccessMessage(v6, __p);
if ( v9 < 0 )
operator delete(__p[0]);
if ( SHIBYTE(v10.__r_.__value_.__r.__words[2]) < 0 )
operator delete(v10.__r_.__value_.__l.__data_);
}
if ( a3 == 41 )
sub_10022ADF4(a1);
}
}