//
// PEM_write_bio_Parameters from 0x82387c to 0x823908 (140 bytes)
//
// 1 xrefs:
// > ??> @ 0x6549c
//
// 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_Parameters(int a1, int a2)
{
int v2; // r12
char v6[96]; // [sp+18h] [bp-60h] BYREF
v2 = *(_DWORD *)(a2 + 12);
if ( !v2 )
return 0;
if ( !*(_DWORD *)(v2 + 64) )
return 0;
BIO_snprintf(v6, 0x50u, "%s PARAMETERS", *(const char **)(v2 + 12));
return PEM_ASN1_write_bio(
*(int (__fastcall **)(int, char **))(*(_DWORD *)(a2 + 12) + 64),
v6,
a1,
a2,
nullptr,
nullptr,
0,
nullptr,
nullptr);
}