//
// sub_A96EDC from 0xa96edc to 0xa96f80 (164 bytes)
//
// 1 xrefs:
// > ??> @ 0xd264c8
//
// 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:09:01 +0000
//
int __fastcall sub_A96EDC(int a1)
{
void *v3; // r0
if ( a1 )
{
if ( OPENSSL_sk_num(*(_DWORD *)(a1 + 4)) > 0 )
{
v3 = (void *)OPENSSL_sk_pop(*(int **)(a1 + 4));
if ( v3 )
{
dlclose(v3);
return 1;
}
else
{
ERR_put_error(37, 103, 104, (int)"crypto/dso/dso_dlfcn.c", 143);
OPENSSL_sk_push(*(int **)(a1 + 4), 0);
return 0;
}
}
else
{
return 1;
}
}
else
{
ERR_put_error(37, 103, 67, (int)"crypto/dso/dso_dlfcn.c", 136);
return 0;
}
}