//
// sub_100506B20 from 0x100506b20 to 0x100506b7e (94 bytes)
//
// 1 xrefs:
// > ??> @ 0x100b65ba0
//
// This function is hookable on this platform (idp: pc, 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 12:31:32 +0000
//
void __fastcall sub_100506B20(__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, 3.584239167447104e246);
if ( ((__int64)v3[0] & 1) != 0 )
operator delete(v3[2]);
}
}
}