//
// X509_EXTENSION_set_critical from 0xde999c to 0xde99c8 (44 bytes)
//
// 3 xrefs:
// > X509_EXTENSION_create_by_OBJ @ 0xde9a68
// > X509_EXTENSION_create_by_OBJ @ 0xde9ae0
// > ??> @ 0x8d450
//
// 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_EXTENSION_set_critical(__int64 a1, int a2)
{
int v2; // w1
if ( !a1 )
return 0;
if ( a2 )
v2 = 255;
else
v2 = -1;
*(_DWORD *)(a1 + 8) = v2;
return 1;
}