//
// sub_1005E1820 from 0x1005e1820 to 0x1005e187a (90 bytes)
//
// 1 xrefs:
// > ??> @ 0x100976340
//
// 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_1005E1820(__int64 a1, int a2)
{
__int64 v3; // rdi
__int64 v4; // rbx
void *v5[4]; // [rsp+0h] [rbp-20h] BYREF
if ( *(_DWORD *)(a1 + 20) == a2 )
{
v3 = *(_QWORD *)(a1 + 104);
if ( v3 )
{
v4 = a1;
strcpy((char *)v5, "(Friend request sent!");
UploadActionPopup::showSuccessMessage(v3, (__int64)v5);
if ( ((__int64)v5[0] & 1) != 0 )
operator delete(v5[2]);
*(_BYTE *)(v4 + 112) = 1;
}
}
}