// // sub_A6BCF8 from 0xa6bcf8 to 0xa6bef8 (512 bytes) // // 2 xrefs: // > @ 0xd18734 // > @ 0xd1876c // // 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:39 +0000 // int *__fastcall sub_A6BCF8(int a1, int a2, _DWORD *a3) { signed int v4; // r4 int *v5; // r9 int v6; // r6 _DWORD *v7; // r5 const char *v8; // r10 char *v9; // r0 char *v10; // lr int v11; // r10 _DWORD *v12; // r0 unsigned __int8 *v13; // r0 unsigned __int8 *v14; // r6 char **v15; // r0 int v16; // r0 unsigned int v17; // r1 char v21[4]; // [sp+14h] [bp-10h] BYREF char *v22; // [sp+18h] [bp-Ch] int v23; // [sp+1Ch] [bp-8h] v4 = 0; v5 = OPENSSL_sk_new_null(); if ( v5 ) { while ( 1 ) { v16 = OPENSSL_sk_num((int)a3); v17 = v4; if ( v4 >= v16 ) return v5; ++v4; v6 = OPENSSL_sk_value(a3, v17); v7 = ACCESS_DESCRIPTION_new(); if ( !v7 || !OPENSSL_sk_push(v5, (int)v7) ) break; v8 = *(const char **)(v6 + 4); v9 = strchr(v8, 59); v10 = v9 + 1; v11 = v9 - v8; if ( !v9 ) { ERR_put_error(34, 139, 143, (int)"crypto/x509v3/v3_info.c", 123); LABEL_13: OPENSSL_sk_pop_free((int)v5, (void (__fastcall *)(int))ACCESS_DESCRIPTION_free); return nullptr; } v12 = (_DWORD *)v7[1]; v23 = *(_DWORD *)(v6 + 8); v22 = v10; if ( !v2i_GENERAL_NAME_ex(v12, a1, a2, (int)v21, 0) ) goto LABEL_13; v13 = CRYPTO_strndup(*(unsigned __int8 **)(v6 + 4), v11, (int)"crypto/x509v3/v3_info.c", 131); v14 = v13; if ( !v13 ) { ERR_put_error(34, 139, 65, (int)"crypto/x509v3/v3_info.c", 133); goto LABEL_13; } v15 = OBJ_txt2obj((char *)v13, 0); *v7 = v15; if ( !v15 ) { ERR_put_error(34, 139, 119, (int)"crypto/x509v3/v3_info.c", 139); ERR_add_error_data(2, "value=", v14); CRYPTO_free(v14, (int)"crypto/x509v3/v3_info.c", 141); goto LABEL_13; } CRYPTO_free(v14, (int)"crypto/x509v3/v3_info.c", 144); } ERR_put_error(34, 139, 65, (int)"crypto/x509v3/v3_info.c", 117); goto LABEL_13; } ERR_put_error(34, 139, 65, (int)"crypto/x509v3/v3_info.c", 109); return v5; }
GD Web Decomp Icon

GD Web Decomp

Raw Source