//
// X509_NAME_get0_der from 0x10700ac to 0x1070120 (116 bytes)
//
// 1 xrefs:
// > ??> @ 0x9bb18
//
// 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:17:00 +0000
//
__int64 __fastcall X509_NAME_get0_der(__int64 a1, _QWORD *a2, _QWORD *a3)
{
__int64 result; // x0
if ( (int)i2d_X509_NAME(a1, nullptr) <= 0 )
return 0;
if ( a2 )
*a2 = *(_QWORD *)(*(_QWORD *)(a1 + 16) + 8LL);
if ( !a3 )
return 1;
result = 1;
*a3 = **(_QWORD **)(a1 + 16);
return result;
}