//
// DSO_dsobyaddr from 0x9f8714 to 0x9f879c (136 bytes)
//
// 1 xrefs:
// > ??> @ 0x7aadc
//
// 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
//
int *__fastcall DSO_dsobyaddr(int a1, int a2)
{
int v4; // r5
int v5; // r4
int *v6; // r5
v4 = DSO_pathbyaddr(a1);
v5 = CRYPTO_malloc(v4, "crypto/dso/dso_lib.c", 327);
if ( v5 && DSO_pathbyaddr(a1) == v4 )
v6 = DSO_load(nullptr, v5, 0, a2);
else
v6 = nullptr;
CRYPTO_free(v5, "crypto/dso/dso_lib.c", 332);
return v6;
}