//
// GJRateLevelLayer::uploadActionFinished from 0x1402f6ce0 to 0x1402f6d72 (146 bytes)
//
// 2 xrefs:
// > ??> @ 0x140586c30
// > ??> @ 0x1406d4088
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void GJRateLevelLayer::uploadActionFinished(GJRateLevelLayer *a1, int a2, int a3)
{
bool v4; // zf
__int128 v5; // [rsp+20h] [rbp-28h] BYREF
__int64 v6; // [rsp+30h] [rbp-18h]
__int64 v7; // [rsp+38h] [rbp-10h]
if ( a2 == *(_DWORD *)(*(_QWORD *)&a1->m_uAutoReleaseCount + 328LL)
- *(_DWORD *)(*(_QWORD *)&a1->m_uAutoReleaseCount + 332LL) )
{
v4 = *(_QWORD *)&a1->m_fVertexZ == 0;
LOBYTE(a1->m_uIndexInArray) = 1;
if ( !v4 )
{
v5 = 0;
*(_QWORD *)&v5 = sub_14003AA10(0x20u);
v6 = 17;
v7 = 31;
strcpy((char *)v5, "Rating submitted!");
UploadActionPopup::showSuccessMessage(*(_QWORD *)&a1->m_fVertexZ, &v5);
}
}
}