//
// BIO_sock_should_retry from 0xff7d04 to 0xff7d34 (48 bytes)
//
// 13 xrefs:
// > BIO_accept @ 0xff33fc
// > BIO_connect @ 0xff36d0
// > BIO_accept_ex @ 0xff3c2c
// > sub_FF571C @ 0xff596c
// > sub_FF5EB8 @ 0xff5f5c
// > sub_FF5F74 @ 0xff6218
// > sub_FF5F74 @ 0xff6230
// > sub_FF6400 @ 0xff6698
// > sub_FF6400 @ 0xff66e8
// > sub_FF7D34 @ 0xff7dbc
// > sub_FF7DD4 @ 0xff7e34
// > sub_FF7E4C @ 0xff7eb0
// > ??> @ 0x84fb8
//
// This function is hookable on this platform (idp: arm, 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 13:15:49 +0000
//
__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);
}