// // sub_82C0A8 from 0x82c0a8 to 0x82c17c (212 bytes) // // 2 xrefs: // > sub_82C184 @ 0x82c298 // > sub_82C9FC @ 0x82ce28 // // 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 // int __fastcall sub_82C0A8(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