//
// sub_100A518 from 0x100a518 to 0x100a588 (112 bytes)
//
// 1 xrefs:
// > ??> @ 0x14004a0
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 13:15:59 +0000
//
__int64 __fastcall sub_100A518(__int64 a1, __int64 a2, int a3)
{
__int64 v4; // x0
v4 = d2i_ECPrivateKey(0, a2, a3);
if ( v4 )
{
EVP_PKEY_assign(a1, 408, v4);
return 1;
}
else
{
ERR_put_error(16, 222, 142, "crypto/ec/ec_ameth.c", 440);
return 0;
}
}