//
// sub_100508990 from 0x100508990 to 0x1005089ed (93 bytes)
//
// 1 xrefs:
// > ??> @ 0x100b66440
//
// 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:33 +0000
//
void __fastcall sub_100508990(__int64 a1, int a2, double a3)
{
__int64 v3; // rdi
char v4; // [rsp+0h] [rbp-20h] BYREF
void *v5[3]; // [rsp+1h] [rbp-1Fh] BYREF
if ( *(_DWORD *)(*(_QWORD *)(a1 + 16) + 344LL) == a2 )
{
*(_BYTE *)(a1 + 40) = 1;
v3 = *(_QWORD *)(a1 + 32);
if ( v3 )
{
v4 = 20;
strcpy((char *)v5, "Submitted!");
UploadActionPopup::showSuccessMessage(v3, (__int64)&v4, a3);
if ( (v4 & 1) != 0 )
operator delete(*(void **)((char *)&v5[1] + 7));
}
}
}