//
// sub_103F364 from 0x103f364 to 0x103f3f0 (140 bytes)
//
// 1 xrefs:
// > OBJ_NAME_init @ 0x103f428
//
// 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:16:29 +0000
//
__int64 __fastcall sub_103F364(const char **a1, __int64 a2)
{
unsigned int v2; // w2
int v5; // w0
__int64 v6; // x1
__int64 v8; // x0
v2 = *(_DWORD *)a1 - *(_DWORD *)a2;
if ( *(_DWORD *)a1 == *(_DWORD *)a2 )
{
if ( !qword_1567F80 )
return strcmp(a1[1], *(const char **)(a2 + 8));
v5 = OPENSSL_sk_num(qword_1567F80);
v6 = *(unsigned int *)a1;
if ( (int)v6 >= v5 )
return strcmp(a1[1], *(const char **)(a2 + 8));
v8 = OPENSSL_sk_value(qword_1567F80, v6);
return (*(unsigned int (__fastcall **)(const char *, _QWORD))(v8 + 8))(a1[1], *(_QWORD *)(a2 + 8));
}
return v2;
}