//
// EditorSoundConfigInfoLayer::uploadActionFinished from 0x1008f7e60 to 0x1008f7fec (396 bytes)
//
// 2 xrefs:
// > sub_1008F8020 @ 0x1008f802c
// > ??> @ 0x100bb60b8
//
// This function is hookable on this platform (idp: pc, 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 12:37:59 +0000
//
void __fastcall EditorSoundConfigInfoLayer::uploadActionFinished(__int64 a1, int a2, int a3)
{
__int64 v4; // rax
__int64 v5; // rax
__int64 v6; // rax
__int64 v7; // r14
__int64 v8; // rax
__int64 v9; // rax
__int64 v10; // rdi
std::string __str; // [rsp+0h] [rbp-70h] BYREF
std::string v12; // [rsp+20h] [rbp-50h] BYREF
void *v13[6]; // [rsp+40h] [rbp-30h] BYREF
if ( a3 == 73 )
{
v4 = *(_QWORD *)(a1 + 1088);
if ( v4 )
{
if ( *(_DWORD *)(v4 + 316) == a2 )
{
v5 = EditorSFXManager::sharedState();
v6 = sub_1008ED520(v5, a2);
if ( v6 )
{
v7 = v6;
v8 = *(_QWORD *)(a1 + 1088);
if ( v7 != v8 )
{
if ( (*(_BYTE *)(v8 + 400) & 1) != 0 )
sub_10001AD30(&__str, *(const void **)(v8 + 416), *(_QWORD *)(v8 + 408));
else
__str = *(std::string *)(v8 + 400);
std::string::operator=((std::string *)(v7 + 400), &__str);
if ( (*(_BYTE *)&__str.__r_.__value_.__s.0 & 1) != 0 )
operator delete(__str.__r_.__value_.__l.__data_);
v9 = *(_QWORD *)(a1 + 1088);
if ( (*(_BYTE *)(v9 + 424) & 1) != 0 )
sub_10001AD30(&v12, *(const void **)(v9 + 440), *(_QWORD *)(v9 + 432));
else
v12 = *(std::string *)(v9 + 424);
std::string::operator=((std::string *)(v7 + 424), &v12);
if ( (*(_BYTE *)&v12.__r_.__value_.__s.0 & 1) != 0 )
operator delete(v12.__r_.__value_.__l.__data_);
}
}
v10 = *(_QWORD *)(a1 + 1200);
if ( v10 )
{
strcpy((char *)v13, "(Description updated!");
UploadActionPopup::showSuccessMessage(v10, (__int64)v13, 7.52030200518128e252);
if ( ((__int64)v13[0] & 1) != 0 )
operator delete(v13[2]);
*(_QWORD *)(*(_QWORD *)(a1 + 1200) + 664LL) = 0;
*(_QWORD *)(a1 + 1200) = 0;
}
}
}
}
}