//
// sub_DAF76C from 0xdaf76c to 0xdaf7c4 (88 bytes)
//
// 1 xrefs:
// > ??> @ 0x1125418
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
__int64 __fastcall sub_DAF76C(__int64 a1, __int64 a2)
{
__int64 v2; // x0
__int64 v4; // x2
v2 = *(_QWORD *)(a1 + 40);
if ( !*(_QWORD *)(v2 + 16) )
return 0;
v4 = ASN1_OCTET_STRING_dup(v2 + 8);
if ( !v4 )
return 0;
EVP_PKEY_assign(a2, 0x357u, v4);
return 1;
}