//
// sub_D3B14 from 0xd3b14 to 0xd3b56 (66 bytes)
//
// 2 xrefs:
// > sub_D3478 @ 0xd35be
// > sub_D3478 @ 0xd3660
//
// 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 sub_D3B14(int a1)
{
int v2; // r6
void *v3; // r0
void *v4; // r4
int (__fastcall *v5)(int); // r0
dlerror();
v2 = 0;
v3 = dlopen("libc.so", 0);
if ( v3 )
{
v4 = v3;
v5 = (int (__fastcall *)(int))dlsym(v3, "getauxval");
if ( v5 )
v2 = v5(a1);
else
v2 = 0;
dlclose(v4);
}
return v2;
}