//
// BIO_sock_should_retry from 0x7d3a44 to 0x7d3a6c (40 bytes)
//
// 13 xrefs:
// > BIO_accept @ 0x7cf220
// > BIO_connect @ 0x7cf53c
// > BIO_accept_ex @ 0x7cfae8
// > sub_7D14BC @ 0x7d166c
// > sub_7D1CA8 @ 0x7d1d1c
// > sub_7D1D44 @ 0x7d1f64
// > sub_7D1D44 @ 0x7d1fbc
// > sub_7D2244 @ 0x7d246c
// > sub_7D2244 @ 0x7d24d0
// > sub_7D3A6C @ 0x7d3ac8
// > sub_7D3AE4 @ 0x7d3b34
// > sub_7D3B50 @ 0x7d3ba8
// > ??> @ 0x5f69c
//
// 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
//
int __fastcall BIO_sock_should_retry(int a1)
{
int *v2; // r0
if ( (unsigned int)(a1 + 1) > 1 )
return 0;
v2 = (int *)_errno();
return BIO_sock_non_fatal_error(*v2);
}