//
// X509_supported_extension from 0xa6f5fc to 0xa6f64c (80 bytes)
//
// 2 xrefs:
// > sub_A6F754 @ 0xa6fc28
// > ??> @ 0x8305c
//
// 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:41 +0000
//
char *__fastcall X509_supported_extension(int a1)
{
int object; // r0
char *result; // r0
char *v3; // [sp+Ch] [bp-8h] BYREF
object = X509_EXTENSION_get_object(a1);
result = OBJ_obj2nid(object);
v3 = result;
if ( result )
return (char *)(OBJ_bsearch_((int)&v3, (int)"G", 13, 4, (int (__fastcall *)(int, int))sub_A6EB10) != 0);
return result;
}