//
// DSO_dsobyaddr from 0x10095c0 to 0x1009668 (168 bytes)
//
// 1 xrefs:
// > ??> @ 0xcc7a8
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 13:15:58 +0000
//
__int64 __fastcall DSO_dsobyaddr(__int64 a1, int a2)
{
int v4; // w20
__int64 v5; // x19
__int64 v6; // x20
v4 = DSO_pathbyaddr(a1);
v5 = CRYPTO_malloc(v4, "crypto/dso/dso_lib.c", 327);
if ( v5 && (unsigned int)DSO_pathbyaddr(a1) == v4 )
v6 = DSO_load(0, v5, 0, a2);
else
v6 = 0;
CRYPTO_free(v5, "crypto/dso/dso_lib.c", 332);
return v6;
}