//
// sub_951EE4 from 0x951ee4 to 0x951f1c (56 bytes)
//
// 2 xrefs:
// > sub_9520B0 @ 0x9521d8
// > sub_9520B0 @ 0x952412
//
// 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:05:24 +0000
//
void *__fastcall sub_951EE4(int a1)
{
void *result; // r0
void *v3; // r5
int (__fastcall *v4)(int); // r3
int v5; // r4
dlerror();
result = dlopen("libc.so", 0);
v3 = result;
if ( result )
{
v4 = (int (__fastcall *)(int))dlsym(result, "getauxval");
if ( v4 )
v5 = v4(a1);
else
v5 = 0;
dlclose(v3);
return (void *)v5;
}
return result;
}