//
// X509_NAME_get0_der from 0x84a40c to 0x84a468 (92 bytes)
//
// 1 xrefs:
// > ??> @ 0x6831c
//
// 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_NAME_get0_der(size_t *a1, _DWORD *a2, _DWORD *a3)
{
int result; // r0
if ( i2d_X509_NAME(a1, nullptr) <= 0 )
return 0;
if ( a2 )
*a2 = *(_DWORD *)(a1[2] + 4);
result = 1;
if ( a3 )
*a3 = *(_DWORD *)a1[2];
return result;
}