//
// RateDemonLayer::uploadActionFinished from 0xa84168 to 0xa84230 (200 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'RateDemonLayer::uploadActionFinished @ 0xa84234
// > ??> @ 0xe0b00
// > ??> @ 0x1497fc0
//
// 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:00:33 +0000
//
__int64 __fastcall RateDemonLayer::uploadActionFinished(RateDemonLayer *this, int a2, int a3)
{
__int64 v4; // x3
void *v5[3]; // [xsp+20h] [xbp+20h] BYREF
if ( a3 == 56 && *((_DWORD *)this + 178) == a2 )
{
v4 = *((_QWORD *)this + 91);
*((_BYTE *)this + 680) = 1;
if ( v4 )
{
BYTE1(v5[2]) = 0;
WORD1(v5[2]) = 0;
HIDWORD(v5[2]) = 0;
strcpy((char *)v5, "\"Rating submitte");
UploadActionPopup::showSuccessMessage(v4, (__int64)v5);
if ( ((__int64)v5[0] & 1) != 0 )
operator delete(v5[2]);
}
}
return _stack_chk_guard;
}