//
// BIO_sock_should_retry from 0x9e8644 to 0x9e866c (40 bytes)
//
// 13 xrefs:
// > BIO_accept @ 0x9e3e20
// > BIO_connect @ 0x9e413c
// > BIO_accept_ex @ 0x9e46e8
// > sub_9E60BC @ 0x9e626c
// > sub_9E68A8 @ 0x9e691c
// > sub_9E6944 @ 0x9e6b64
// > sub_9E6944 @ 0x9e6bbc
// > sub_9E6E44 @ 0x9e706c
// > sub_9E6E44 @ 0x9e70d0
// > sub_9E866C @ 0x9e86c8
// > sub_9E86E4 @ 0x9e8734
// > sub_9E8750 @ 0x9e87a8
// > ??> @ 0x7911c
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:07:25 +0000
//
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);
}