//
// X509_EXTENSION_set_critical from 0xa56638 to 0xa56658 (32 bytes)
//
// 3 xrefs:
// > X509_EXTENSION_create_by_OBJ @ 0xa566e8
// > X509_EXTENSION_create_by_OBJ @ 0xa5675c
// > ??> @ 0x80ecc
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:08:26 +0000
//
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;
}