//
// sub_9D001C from 0x9d001c to 0x9d0068 (76 bytes)
//
// 1 xrefs:
// > ??> @ 0xc77570
//
// 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_9D001C(int a1, int a2)
{
int v2; // r3
int result; // r0
int v5; // [sp+4h] [bp-4h]
v2 = *(_DWORD *)(a1 + 76);
if ( v2 )
return SSL_add_file_cert_subjects_to_stack(v2, a2);
v5 = a2;
result = OPENSSL_sk_new_null(a1);
a2 = v5;
v2 = result;
*(_DWORD *)(a1 + 76) = result;
if ( result )
return SSL_add_file_cert_subjects_to_stack(v2, a2);
return result;
}