//
// ASN1_STRING_TABLE_get from 0x8643a0 to 0x864410 (112 bytes)
//
// 3 xrefs:
// > ASN1_STRING_set_by_NID @ 0x864444
// > ASN1_STRING_TABLE_add @ 0x864520
// > ??> @ 0x6995c
//
// 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 ASN1_STRING_TABLE_get(int a1)
{
signed int v1; // r1
_DWORD v3[6]; // [sp+Ch] [bp-18h] BYREF
v3[0] = a1;
if ( dword_AD485C && (v1 = OPENSSL_sk_find(dword_AD485C, (int)v3), v1 >= 0) )
return OPENSSL_sk_value((_DWORD *)dword_AD485C, v1);
else
return OBJ_bsearch_((int)v3, (int)&unk_A18768, 23, 20, (int (__fastcall *)(int, int))sub_86424C);
}