// // sub_856F68 from 0x856f68 to 0x8570b0 (328 bytes) // // 2 xrefs: // > @ 0xab4054 // > @ 0xab408c // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // _DWORD *__fastcall sub_856F68(int a1, _DWORD *a2, int a3) { signed int v5; // r5 int v6; // r4 _DWORD *v7; // r0 unsigned int v8; // r1 int v9; // r6 size_t v10; // r4 void *v11; // r4 char *v12; // r0 char *v13; // r7 char v16[84]; // [sp+10h] [bp-54h] BYREF v5 = 0; while ( 1 ) { if ( v5 >= OPENSSL_sk_num((int)a2) ) { if ( a3 ) return (_DWORD *)a3; return OPENSSL_sk_new_null(); } v6 = OPENSSL_sk_value(a2, v5); v7 = (_DWORD *)i2v_GENERAL_NAME(a1, *(int **)(v6 + 4), a3); v8 = v5++; a3 = (int)v7; if ( !v7 ) return OPENSSL_sk_new_null(); v9 = OPENSSL_sk_value(v7, v8); i2t_ASN1_OBJECT((int)v16, 80, *(_DWORD *)v6); v10 = strlen(v16); v11 = (void *)(v10 + strlen(*(const char **)(v9 + 4)) + 5); v12 = (char *)CRYPTO_malloc(v11, (int)"crypto/x509v3/v3_info.c", 78); v13 = v12; if ( !v12 ) break; OPENSSL_strlcpy(v12, v16, (unsigned int)v11); OPENSSL_strlcat(v13, " - ", (unsigned int)v11); OPENSSL_strlcat(v13, *(const char **)(v9 + 4), (unsigned int)v11); CRYPTO_free(*(void **)(v9 + 4), (int)"crypto/x509v3/v3_info.c", 87); *(_DWORD *)(v9 + 4) = v13; } ERR_put_error(34, 138, 65, (int)"crypto/x509v3/v3_info.c", 81); return nullptr; }
GD Web Decomp Icon

GD Web Decomp

Raw Source