//
// X509_set_serialNumber from 0xde8a54 to 0xde8a70 (28 bytes)
//
// 1 xrefs:
// > ??> @ 0x941d0
//
// 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 X509_set_serialNumber(__int64 result, __int64 a2)
{
__int64 v2; // x0
if ( result )
{
v2 = result + 8;
if ( v2 == a2 )
return 1;
else
return ASN1_STRING_copy(v2, a2);
}
return result;
}