//
// DSO_up_ref from 0xd8aaa8 to 0xd8ab2c (132 bytes)
//
// 1 xrefs:
// > ??> @ 0xa4430
//
// 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
//
bool __fastcall DSO_up_ref(__int64 a1)
{
int v2; // [xsp+2Ch] [xbp+2Ch] BYREF
if ( a1 )
{
return (int)CRYPTO_atomic_add(a1 + 16, 1, &v2, *(_QWORD *)(a1 + 64)) > 0 && v2 > 1;
}
else
{
ERR_put_error(37, 114, 67, "crypto/dso/dso_lib.c", 106);
return 0;
}
}