//
// BIO_up_ref from 0x9e53c8 to 0x9e540c (68 bytes)
//
// 7 xrefs:
// > sub_99AAB4 @ 0x99ae6c
// > sub_99AAB4 @ 0x99b040
// > SSL_set_bio @ 0x9ab41c
// > SSL_set_wfd @ 0x9ab618
// > SSL_set_rfd @ 0x9ab6ec
// > SSL_dup @ 0x9afdb8
// > ??> @ 0x7392c
//
// 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:23 +0000
//
bool __fastcall BIO_up_ref(int a1)
{
int v2; // [sp+4h] [bp-8h] BYREF
return CRYPTO_atomic_add(a1 + 44, 1, &v2, *(_DWORD *)(a1 + 68)) > 0 && v2 > 1;
}