//
// sub_7D3B50 from 0x7d3b50 to 0x7d3bc4 (116 bytes)
//
// 1 xrefs:
// > ??> @ 0xa30860
//
// 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
//
ssize_t __fastcall sub_7D3B50(int a1, char *a2)
{
size_t v4; // r6
ssize_t v5; // r4
v4 = strlen(a2);
*(_DWORD *)_errno() = 0;
v5 = write(*(_DWORD *)(a1 + 28), a2, v4);
BIO_clear_flags(a1, 15);
if ( v5 <= 0 && BIO_sock_should_retry(v5) )
BIO_set_flags(a1, 10);
return v5;
}