//
// sub_D3B14 from 0xd3b14 to 0xd3b56 (66 bytes)
//
// 2 xrefs:
// > sub_D3478 @ 0xd35be
// > sub_D3478 @ 0xd3660
//
// 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 11:42:00 +0000
//
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;
}