//
// X509_supported_extension from 0x107f4dc to 0x107f524 (72 bytes)
//
// 2 xrefs:
// > sub_107F63C @ 0x107faf4
// > ??> @ 0xb7bf8
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 13:17:09 +0000
//
__int64 __fastcall X509_supported_extension(__int64 a1)
{
__int64 object; // x0
__int64 result; // x0
int v3; // [xsp+1Ch] [xbp+1Ch] BYREF
object = X509_EXTENSION_get_object(a1);
result = OBJ_obj2nid(object);
v3 = result;
if ( (_DWORD)result )
return OBJ_bsearch_((__int64)&v3, (__int64)"G", 13, 4, (__int64 (__fastcall *)(__int64, __int64))sub_107E9FC) != 0;
return result;
}