//
// DSO_up_ref from 0x9f7ea0 to 0x9f7f14 (116 bytes)
//
// 1 xrefs:
// > ??> @ 0x7aa6c
//
// 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:33 +0000
//
bool __fastcall DSO_up_ref(int a1)
{
int v2; // [sp+Ch] [bp-4h] BYREF
if ( a1 )
{
return CRYPTO_atomic_add(a1 + 8, 1, &v2, *(_DWORD *)(a1 + 36)) > 0 && v2 > 1;
}
else
{
ERR_put_error(37, 114, 67, "crypto/dso/dso_lib.c", 106);
return 0;
}
}