//
// PEM_write_bio_Parameters from 0x10474c4 to 0x1047588 (196 bytes)
//
// 1 xrefs:
// > ??> @ 0xf7a38
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 13:16:33 +0000
//
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);
}