//
// DSO_pathbyaddr from 0x9f8688 to 0x9f8708 (128 bytes)
//
// 3 xrefs:
// > DSO_dsobyaddr @ 0x9f8728
// > DSO_dsobyaddr @ 0x9f8754
// > ??> @ 0x7aacc
//
// 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_pathbyaddr(int a1)
{
int v2; // r0
int (__fastcall *v3)(int); // r3
v2 = dword_D340F8;
if ( !dword_D340F8 )
v2 = DSO_METHOD_openssl();
v3 = *(int (__fastcall **)(int))(v2 + 36);
if ( v3 )
return v3(a1);
ERR_put_error(37, 105, 108, "crypto/dso/dso_lib.c", 315);
return -1;
}