//
// sub_10EE2EC from 0x10ee2ec to 0x10ee368 (124 bytes)
//
// 2 xrefs:
// > ??> @ 0x153fae0
// > ??> @ 0x153fb48
//
// 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:18:05 +0000
//
int *__fastcall sub_10EE2EC(__int64 a1, unsigned int *a2, int *a3)
{
int v4; // w19
__int64 v5; // x0
bool v6; // cc
int v7; // w1
int *v9; // [xsp+38h] [xbp+38h] BYREF
char v10[80]; // [xsp+40h] [xbp+40h] BYREF
v9 = a3;
v4 = 0;
while ( 1 )
{
v6 = v4 < (int)OPENSSL_sk_num(a2);
v7 = v4++;
if ( !v6 )
break;
v5 = OPENSSL_sk_value((__int64)a2, v7);
i2t_ASN1_OBJECT((__int64)v10, 80, v5);
X509V3_add_value(nullptr, v10, &v9);
}
return v9;
}