//
// DSO_dsobyaddr from 0x7e3b14 to 0x7e3b9c (136 bytes)
//
// 1 xrefs:
// > ??> @ 0x6105c
//
// 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
//
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;
}