//
// X509_REQ_set_subject_name from 0x8c37cc to 0x8c37e4 (24 bytes)
//
// 2 xrefs:
// > X509_to_X509_REQ @ 0x8c32fc
// > ??> @ 0x6b56c
//
// 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
//
int __fastcall X509_REQ_set_subject_name(int result, int a2)
{
if ( result )
{
*(_DWORD *)(result + 8) = 1;
return X509_NAME_set((int *)(result + 16), a2);
}
return result;
}