//
// PEM_write_bio_Parameters from 0xdc9164 to 0xdc9228 (196 bytes)
//
// 1 xrefs:
// > ??> @ 0xbdee8
//
// 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(__int64 a1, __int64 a2)
{
__int64 v2; // x4
char v6[80]; // [xsp+40h] [xbp+30h] BYREF
v2 = *(_QWORD *)(a2 + 16);
if ( !v2 )
return 0;
if ( !*(_QWORD *)(v2 + 120) )
return 0;
BIO_snprintf(v6, 0x50u, "%s PARAMETERS", *(const char **)(v2 + 16));
return PEM_ASN1_write_bio(
*(__int64 (__fastcall **)(__int64, char **))(*(_QWORD *)(a2 + 16) + 120LL),
v6,
a1,
a2,
nullptr,
nullptr,
0,
nullptr,
nullptr);
}