//
// OBJ_NAME_do_all_sorted from 0xa3094c to 0xa30a10 (196 bytes)
//
// 3 xrefs:
// > EVP_CIPHER_do_all_sorted @ 0xa19a10
// > EVP_MD_do_all_sorted @ 0xa19aa0
// > ??> @ 0x7d4ec
//
// 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:04 +0000
//
void __fastcall OBJ_NAME_do_all_sorted(int a1, void (__fastcall *a2)(_DWORD, int), int a3)
{
int v6; // r0
int v7; // r0
signed int v8; // r4
int v9; // [sp+4h] [bp-Ch] BYREF
size_t v10; // [sp+8h] [bp-8h]
void *v11; // [sp+Ch] [bp-4h]
v9 = a1;
v6 = OPENSSL_LH_num_items(dword_D35794);
v11 = CRYPTO_malloc((void *)(4 * v6), (int)"crypto/objects/o_names.c", 320);
if ( v11 )
{
v7 = a1;
v8 = 0;
v10 = 0;
OBJ_NAME_do_all(v7, (int)sub_A3036C, (int)&v9);
qsort(v11, v10, 4u, (int (*)(const void *, const void *))sub_A302CC);
if ( (int)v10 > 0 )
{
do
a2(*((_DWORD *)v11 + v8++), a3);
while ( (int)v10 > v8 );
}
CRYPTO_free(v11, (int)"crypto/objects/o_names.c", 331);
}
}