//
// PEM_write_bio_PKCS8_PRIV_KEY_INFO from 0x8baad8 to 0x8bab20 (72 bytes)
//
// 2 xrefs:
// > sub_8BAB28 @ 0x8babfc
// > ??> @ 0x6b2fc
//
// 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
//
bool __fastcall PEM_write_bio_PKCS8_PRIV_KEY_INFO(int a1, int a2)
{
return PEM_ASN1_write_bio(
(int (__fastcall *)(int, char **))i2d_PKCS8_PRIV_KEY_INFO,
"PRIVATE KEY",
a1,
a2,
nullptr,
nullptr,
0,
nullptr,
nullptr);
}