//
// ENGINE_register_pkey_meths from 0xd9f0a0 to 0xd9f120 (128 bytes)
//
// 3 xrefs:
// > ENGINE_register_complete @ 0xd9d030
// > ENGINE_register_all_pkey_meths @ 0xd9f13c
// > ??> @ 0x9ff78
//
// 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 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_125D640, sub_D9F084, a1, v7, v5);
return result;
}