//
// GJRateEditorSoundLayer::uploadActionFinished from 0x566c60 to 0x566cc6 (102 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'GJRateEditorSoundLayer::uploadActionFinished @ 0x566cd4
//
// 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:52:28 +0000
//
int __fastcall GJRateEditorSoundLayer::uploadActionFinished(int this, int a2, int a3, int a4)
{
int v4; // r6
int v5; // [sp+0h] [bp-10h] BYREF
int v6; // [sp+4h] [bp-Ch]
int v7; // [sp+8h] [bp-8h]
int v8; // [sp+Ch] [bp-4h]
v5 = this;
v6 = a2;
v7 = a3;
v8 = a4;
if ( a2 == *(_DWORD *)(*(_DWORD *)(this + 724) + 264) )
{
v4 = *(_DWORD *)(this + 728);
*(_BYTE *)(this + 732) = 1;
if ( v4 )
{
v5 = 0;
v6 = 0;
v7 = 0;
std::string::__init(&v5, "Submitted!", 0xAu);
UploadActionPopup::showSuccessMessage(v4, &v5);
return std::string::~string((int)&v5);
}
}
return this;
}