//
// ASN1_STRING_TABLE_get from 0x108a934 to 0x108a9a4 (112 bytes)
//
// 3 xrefs:
// > ASN1_STRING_set_by_NID @ 0x108a9d4
// > ASN1_STRING_TABLE_add @ 0x108aa94
// > ??> @ 0x5cbc0
//
// 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:15 +0000
//
__int64 __fastcall ASN1_STRING_TABLE_get(int a1)
{
int v1; // w1
_DWORD v3[10]; // [xsp+28h] [xbp+28h] BYREF
v3[0] = a1;
if ( qword_1568660 && (v1 = OPENSSL_sk_find(qword_1568660, (__int64)v3), (v1 & 0x80000000) == 0) )
return OPENSSL_sk_value(qword_1568660, v1);
else
return OBJ_bsearch_((__int64)v3, (__int64)"\r", 23, 40, (__int64 (__fastcall *)(__int64, __int64))sub_108A814);
}