//
// ENGINE_register_pkey_meths from 0x101d400 to 0x101d480 (128 bytes)
//
// 3 xrefs:
// > ENGINE_register_complete @ 0x101b390
// > ENGINE_register_all_pkey_meths @ 0x101d49c
// > ??> @ 0xd2808
//
// 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_register_pkey_meths(__int64 a1)
{
__int64 (*v1)(void); // x4
unsigned int v3; // w0
bool v4; // cc
__int64 v5; // x4
__int64 result; // x0
__int64 v7; // [xsp+28h] [xbp+28h]
v1 = *(__int64 (**)(void))(a1 + 72);
if ( !v1 )
return 1;
v3 = v1();
v4 = (int)v3 <= 0;
v5 = v3;
result = 1;
if ( !v4 )
return engine_table_register(&unk_1566440, sub_101D3E4, a1, v7, v5);
return result;
}