//
// sub_100507E50 from 0x100507e50 to 0x100507eae (94 bytes)
//
// 1 xrefs:
// > ??> @ 0x10095a4a8
//
// 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 sub_100507E50(__int64 a1, int a2)
{
__int64 v2; // rdi
void *v3[4]; // [rsp+0h] [rbp-20h] BYREF
if ( *(_DWORD *)(*(_QWORD *)(a1 + 24) + 328LL) - *(_DWORD *)(*(_QWORD *)(a1 + 24) + 332LL) == a2 )
{
*(_BYTE *)(a1 + 32) = 1;
v2 = *(_QWORD *)(a1 + 72);
if ( v2 )
{
strcpy((char *)v3, "\"Rating submitted!");
UploadActionPopup::showSuccessMessage(v2, (__int64)v3);
if ( ((__int64)v3[0] & 1) != 0 )
operator delete(v3[2]);
}
}
}