//
// RateStarsModLayer::uploadActionFinished from 0xcfc9c8 to 0xcfca88 (192 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'RateStarsModLayer::uploadActionFinished @ 0xcfca8c
// > ??> @ 0x65200
// > ??> @ 0x1506400
//
// 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 13:06:52 +0000
//
__int64 __fastcall RateStarsModLayer::uploadActionFinished(RateStarsModLayer *this, int a2)
{
__int64 v3; // x3
void *v4[3]; // [xsp+20h] [xbp+20h] BYREF
if ( *((_DWORD *)this + 178) == a2 )
{
v3 = *((_QWORD *)this + 92);
*((_BYTE *)this + 680) = 1;
if ( v3 )
{
BYTE1(v4[2]) = 0;
WORD1(v4[2]) = 0;
HIDWORD(v4[2]) = 0;
strcpy((char *)v4, "\"Rating submitte");
UploadActionPopup::showSuccessMessage(v3, (__int64)v4);
if ( ((__int64)v4[0] & 1) != 0 )
operator delete(v4[2]);
}
}
return _stack_chk_guard;
}