//
// X509_VERIFY_PARAM_set1_name from 0x106c790 to 0x106c7ec (92 bytes)
//
// 1 xrefs:
// > ??> @ 0x8a778
//
// 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:57 +0000
//
bool __fastcall X509_VERIFY_PARAM_set1_name(void **a1, const char *a2)
{
const char *v4; // x0
CRYPTO_free(*a1, (__int64)"crypto/x509/x509_vpm.c", 282);
v4 = CRYPTO_strdup(a2, (__int64)"crypto/x509/x509_vpm.c", 283);
*a1 = (void *)v4;
return v4 != nullptr;
}