//
// X509_set_serialNumber from 0x840984 to 0x8409a4 (32 bytes)
//
// 1 xrefs:
// > ??> @ 0x672fc
//
// 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_set_serialNumber(int result, int a2)
{
signed int *v2; // r0
if ( result )
{
v2 = (signed int *)(result + 4);
if ( v2 == (signed int *)a2 )
return 1;
else
return ASN1_STRING_copy(v2, a2);
}
return result;
}