//
// X509_EXTENSION_set_critical from 0x841a38 to 0x841a58 (32 bytes)
//
// 3 xrefs:
// > X509_EXTENSION_create_by_OBJ @ 0x841ae8
// > X509_EXTENSION_create_by_OBJ @ 0x841b5c
// > ??> @ 0x6744c
//
// 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_EXTENSION_set_critical(int result, int a2)
{
int v2; // r3
if ( result )
{
if ( a2 )
v2 = 255;
else
v2 = -1;
*(_DWORD *)(result + 4) = v2;
return 1;
}
return result;
}