// // sub_1050D10 from 0x1050d10 to 0x1050df4 (228 bytes) // // 1 xrefs: // > @ 0x140dd28 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // 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 13:16:39 +0000 // __int64 __fastcall sub_1050D10(__int64 a1, __int64 a2, __int64 a3, __int64 *a4, __int64 *a5) { __int64 *v7; // x19 __int64 result; // x0 __int64 v9; // x0 __int64 v10; // x22 __int64 v11; // x19 char **v12; // x0 char **v13; // x0 int v14; // [xsp+3Ch] [xbp+3Ch] v7 = (__int64 *)EVP_MD_CTX_pkey_ctx(a1); if ( (int)EVP_PKEY_CTX_ctrl(v7, 6, -1) <= 0 ) return 0; result = 2; if ( v14 == 6 ) { v9 = sub_1050B68(v7); v10 = v9; if ( v9 ) { if ( a5 ) { v11 = ASN1_STRING_dup(v9); if ( !v11 ) { ASN1_STRING_free(v10); return 0; } v12 = OBJ_nid2obj(0x390u); X509_ALGOR_set0(a5, (__int64)v12, 0x10u, v11); } v13 = OBJ_nid2obj(0x390u); X509_ALGOR_set0(a4, (__int64)v13, 0x10u, v10); return 3; } return 0; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source