//
// sub_107E090 from 0x107e090 to 0x107e12c (156 bytes)
//
// 1 xrefs:
// > ??> @ 0x153d5d8
//
// 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:08 +0000
//
__int64 __fastcall sub_107E090(__int64 a1, unsigned int *a2, __int64 a3)
{
int v4; // w19
__int64 *v5; // x20
bool v6; // cc
int v7; // w1
__int64 v9; // [xsp+48h] [xbp+48h] BYREF
_BYTE v10[80]; // [xsp+50h] [xbp+50h] BYREF
_BYTE v11[80]; // [xsp+A0h] [xbp+A0h] BYREF
v9 = a3;
v4 = 0;
while ( 1 )
{
v6 = v4 < (int)OPENSSL_sk_num(a2);
v7 = v4++;
if ( !v6 )
break;
v5 = (__int64 *)OPENSSL_sk_value((__int64)a2, v7);
i2t_ASN1_OBJECT((__int64)v10, 80, *v5);
i2t_ASN1_OBJECT((__int64)v11, 80, v5[1]);
X509V3_add_value(v10, v11, &v9);
}
return v9;
}