//
// BIO_up_ref from 0xff49fc to 0xff4a44 (72 bytes)
//
// 7 xrefs:
// > sub_FADD3C @ 0xfade4c
// > sub_FADD3C @ 0xfadf9c
// > SSL_set_bio @ 0xfbdae4
// > SSL_set_wfd @ 0xfbdd00
// > SSL_set_rfd @ 0xfbddd8
// > SSL_dup @ 0xfc1f08
// > ??> @ 0x8dbe0
//
// 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:47 +0000
//
bool __fastcall BIO_up_ref(__int64 a1)
{
int v2; // [xsp+1Ch] [xbp+1Ch] BYREF
return (int)CRYPTO_atomic_add(a1 + 72, 1, &v2, *(_QWORD *)(a1 + 104)) > 0 && v2 > 1;
}