//
// BIO_sock_should_retry from 0xd799a4 to 0xd799d4 (48 bytes)
//
// 13 xrefs:
// > BIO_accept @ 0xd7509c
// > BIO_connect @ 0xd75370
// > BIO_accept_ex @ 0xd758cc
// > sub_D773BC @ 0xd7760c
// > sub_D77B58 @ 0xd77bfc
// > sub_D77C14 @ 0xd77eb8
// > sub_D77C14 @ 0xd77ed0
// > sub_D780A0 @ 0xd78338
// > sub_D780A0 @ 0xd78388
// > sub_D799D4 @ 0xd79a5c
// > sub_D79A74 @ 0xd79ad4
// > sub_D79AEC @ 0xd79b50
// > ??> @ 0x616f8
//
// 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
//
__int64 __fastcall BIO_sock_should_retry(int a1)
{
int *v2; // x0
if ( (unsigned int)(a1 + 1) > 1 )
return 0;
v2 = (int *)__errno();
return BIO_sock_non_fatal_error(*v2);
}