//
// sub_A1D4D0 from 0xa1d4d0 to 0xa1d51c (76 bytes)
//
// 1 xrefs:
// > ??> @ 0xc7957c
//
// 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:53 +0000
//
int __fastcall sub_A1D4D0(int a1, _DWORD *a2)
{
int v2; // r0
int v4; // r2
v2 = *(_DWORD *)(a1 + 20);
if ( !*(_DWORD *)(v2 + 12) )
return 0;
v4 = ASN1_OCTET_STRING_dup(v2 + 4);
if ( !v4 )
return 0;
EVP_PKEY_assign(a2, 855, v4);
return 1;
}