//
// sub_9D0FA0 from 0x9d0fa0 to 0x9d1028 (136 bytes)
//
// 1 xrefs:
// > ??> @ 0xc77550
//
// 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:11 +0000
//
int __fastcall sub_9D0FA0(int a1)
{
int v1; // r3
int v2; // r4
int result; // r0
int v4; // r3
v1 = *(_DWORD *)(a1 + 12);
if ( v1 )
{
v2 = *(_DWORD *)(v1 + 176);
result = *(_DWORD *)(v2 + 204);
if ( result )
return X509_STORE_load_locations(result) > 0;
}
else
{
v4 = *(_DWORD *)(a1 + 16);
if ( !v4 )
return 1;
v2 = *(_DWORD *)(v4 + 200);
result = *(_DWORD *)(v2 + 204);
if ( result )
return X509_STORE_load_locations(result) > 0;
}
result = X509_STORE_new();
*(_DWORD *)(v2 + 204) = result;
if ( result )
return X509_STORE_load_locations(result) > 0;
return result;
}