// // sub_A7014C from 0xa7014c to 0xa702f0 (420 bytes) // // 1 xrefs: // > @ 0xd189f4 // // 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:41 +0000 // _DWORD *__fastcall sub_A7014C(int a1, _DWORD *a2, char *a3) { int v6; // r4 int v7; // r3 int v8; // r3 int v9; // r6 int v10; // r7 void *v11; // r0 int v13; // r3 int v14; // [sp+Ch] [bp-50h] BYREF int v15; // [sp+10h] [bp-4Ch] BYREF int v16; // [sp+14h] [bp-48h] BYREF _BYTE v17[68]; // [sp+18h] [bp-44h] BYREF if ( strcmp(a3, "hash") ) return s2i_ASN1_OCTET_STRING(a1, (int)a2, a3); v6 = ASN1_OCTET_STRING_new(); if ( v6 ) { if ( a2 ) { if ( *a2 == 1 ) return (_DWORD *)v6; v7 = a2[3]; if ( v7 ) { v8 = *(_DWORD *)(v7 + 20); goto LABEL_8; } v13 = a2[2]; if ( v13 ) { v8 = *(_DWORD *)(v13 + 44); LABEL_8: if ( v8 ) { X509_PUBKEY_get0_param(nullptr, &v14, &v15, nullptr, v8); v9 = v14; v10 = v15; v11 = EVP_sha1(); if ( EVP_Digest(v9, v10, (int)v17, &v16, (int)v11, nullptr) ) { if ( ASN1_OCTET_STRING_set(v6, v17, v16) ) return (_DWORD *)v6; ERR_put_error(34, 115, 65, (int)"crypto/x509v3/v3_skey.c", 97); } } else { ERR_put_error(34, 115, 114, (int)"crypto/x509v3/v3_skey.c", 87); } goto LABEL_14; } } ERR_put_error(34, 115, 114, (int)"crypto/x509v3/v3_skey.c", 77); LABEL_14: ASN1_OCTET_STRING_free(v6); return nullptr; } ERR_put_error(34, 115, 65, (int)"crypto/x509v3/v3_skey.c", 69); return nullptr; }
GD Web Decomp Icon

GD Web Decomp

Raw Source