//
// PEM_write_bio_PKCS8 from 0x8ba9c0 to 0x8baa08 (72 bytes)
//
// 2 xrefs:
// > sub_8BAB28 @ 0x8bac08
// > ??> @ 0x6b2bc
//
// 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(int a1, int a2)
{
return PEM_ASN1_write_bio(
(int (__fastcall *)(int, char **))i2d_X509_SIG,
"ENCRYPTED PRIVATE KEY",
a1,
a2,
nullptr,
nullptr,
0,
nullptr,
nullptr);
}