//
// GJRateLevelLayer::uploadActionFinished from 0x100247a58 to 0x100247acc (116 bytes)
//
// 2 xrefs:
// > sub_100247AE8 @ 0x100247aec
// > ??> @ 0x100908300
//
// 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 11:01:27 +0000
//
void __fastcall GJRateLevelLayer::uploadActionFinished(__int64 a1, int a2)
{
__int64 v2; // x19
void *__p[2]; // [xsp+8h] [xbp-28h] BYREF
char v4; // [xsp+1Fh] [xbp-11h]
if ( *(_DWORD *)(*(_QWORD *)(a1 + 1048) + 328LL) - *(_DWORD *)(*(_QWORD *)(a1 + 1048) + 332LL) == a2 )
{
*(_BYTE *)(a1 + 1056) = 1;
v2 = *(_QWORD *)(a1 + 1096);
if ( v2 )
{
sub_100009900(__p, "Rating submitted!");
UploadActionPopup::showSuccessMessage(v2, __p);
if ( v4 < 0 )
operator delete(__p[0]);
}
}
}