// // sub_A40CA8 from 0xa40ca8 to 0xa40d7c (212 bytes) // // 2 xrefs: // > sub_A40D84 @ 0xa40e98 // > sub_A415FC @ 0xa41a28 // // 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:13 +0000 // int __fastcall sub_A40CA8(int *a1, int a2) { _DWORD *v2; // r4 int result; // r0 _DWORD **v6; // r0 _DWORD **v7; // r5 char **v8; // r0 int v9; // r0 int v10; // [sp+4h] [bp-4h] BYREF v2 = nullptr; *a1 = 0; v10 = 0; if ( EVP_MD_type(a2) == 64 ) return 1; if ( EVP_MD_type(a2) != 64 ) { v6 = (_DWORD **)X509_ALGOR_new(); v2 = v6; if ( !v6 ) goto LABEL_9; X509_ALGOR_set_md(v6, a2); } if ( ASN1_item_pack(v2, X509_ALGOR_it, &v10) ) { v7 = (_DWORD **)X509_ALGOR_new(); *a1 = (int)v7; if ( v7 ) { v8 = OBJ_nid2obj(0x38Fu); X509_ALGOR_set0(v7, v8, 16, v10); v9 = 0; v10 = 0; goto LABEL_10; } } LABEL_9: v9 = v10; LABEL_10: ASN1_STRING_free(v9); X509_ALGOR_free(v2); result = *a1; if ( *a1 ) return 1; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source