//
// sub_D85D24 from 0xd85d24 to 0xd85d44 (32 bytes)
//
// 2 xrefs:
// > ??> @ 0x11226c0
// > ??> @ 0x1122798
//
// 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
//
__int64 __fastcall sub_D85D24(__int64 a1, __int64 a2)
{
void *v2; // x3
__int64 v3; // x0
v2 = *(void **)(a1 + 16);
v3 = *(_QWORD *)(a1 + 32);
if ( v2 == &dhx_asn1_meth )
return i2d_DHxparams(v3, a2);
else
return i2d_DHparams(v3, a2);
}