//
// ASN1_STRING_TABLE_get from 0xa78fa0 to 0xa79010 (112 bytes)
//
// 3 xrefs:
// > ASN1_STRING_set_by_NID @ 0xa79044
// > ASN1_STRING_TABLE_add @ 0xa79120
// > ??> @ 0x833dc
//
// 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:45 +0000
//
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_D35AE8 && (v1 = OPENSSL_sk_find(dword_D35AE8, (int)v3), v1 >= 0) )
return OPENSSL_sk_value((_DWORD *)dword_D35AE8, v1);
else
return OBJ_bsearch_((int)v3, (int)&unk_C5D438, 23, 20, (int (__fastcall *)(int, int))sub_A78E4C);
}