//
// GJRateLevelLayer::uploadActionFinished from 0x100507dc0 to 0x100507e27 (103 bytes)
//
// 1 xrefs:
// > ??> @ 0x10095a240
//
// 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 __fastcall GJRateLevelLayer::uploadActionFinished(GJRateLevelLayer *a1, int a2, int a3)
{
UploadActionPopup *m_uploadPopup; // rdi
void *v4[4]; // [rsp+0h] [rbp-20h] BYREF
if ( a1->m_level->m_levelID.random - a1->m_level->m_levelID.seed == a2 )
{
a1->m_uploadFinished = 1;
m_uploadPopup = a1->m_uploadPopup;
if ( m_uploadPopup )
{
strcpy((char *)v4, "\"Rating submitted!");
UploadActionPopup::showSuccessMessage((__int64)m_uploadPopup, (__int64)v4);
if ( ((__int64)v4[0] & 1) != 0 )
operator delete(v4[2]);
}
}
}