//
// ENGINE_set_default_pkey_asn1_meths from 0x101c978 to 0x101ca04 (140 bytes)
//
// 2 xrefs:
// > ENGINE_set_default @ 0x101b288
// > ??> @ 0xcdd20
//
// 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:16:08 +0000
//
__int64 __fastcall ENGINE_set_default_pkey_asn1_meths(__int64 a1)
{
__int64 (*v1)(void); // x4
int v3; // w0
__int64 v5; // [xsp+28h] [xbp+28h]
v1 = *(__int64 (**)(void))(a1 + 80);
if ( !v1 )
return 1;
v3 = v1();
if ( v3 > 0 )
return (unsigned int)engine_table_register(&qword_1566410, sub_101C7E0, a1, v5, (unsigned int)v3);
else
return 1;
}