//
// PEM_write_bio_Parameters from 0xa3847c to 0xa38508 (140 bytes)
//
// 1 xrefs:
// > ??> @ 0x7ef1c
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:08:08 +0000
//
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);
}