//
// RateStarsModLayer::uploadActionFinished from 0x79e858 to 0x79e8ba (98 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'RateStarsModLayer::uploadActionFinished @ 0x79e8c8
//
// 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:59:52 +0000
//
int __fastcall RateStarsModLayer::uploadActionFinished(int this, int a2, int a3, int a4)
{
int v4; // r6
int v5; // r2
int v6; // r3
int v7; // [sp+0h] [bp-10h] BYREF
int v8; // [sp+4h] [bp-Ch]
int v9; // [sp+8h] [bp-8h]
int v10; // [sp+Ch] [bp-4h]
v7 = this;
v8 = a2;
v9 = a3;
v10 = a4;
if ( a2 == *(_DWORD *)(this + 544) )
{
v4 = *(_DWORD *)(this + 560);
*(_BYTE *)(this + 528) = 1;
if ( v4 )
{
v7 = 0;
v8 = 0;
v9 = 0;
std::string::__init(&v7, "Rating submitted!", 0x11u);
UploadActionPopup::showSuccessMessage(v4, (const char *)&v7, v5, v6);
return std::string::~string((int)&v7);
}
}
return this;
}