// // EVP_CIPHER_param_to_asn1 from 0x1028b60 to 0x1028c60 (256 bytes) // // 8 xrefs: // > sub_1004D54 @ 0x1004f74 // > sub_1009820 @ 0x1009ba8 // > PKCS7_dataInit @ 0x104aaac // > CMS_add0_recipient_password @ 0x109ed04 // > PKCS5_pbe2_set_iv @ 0x10f0c28 // > PKCS5_pbe2_set_scrypt @ 0x10f0f04 // > cms_EncryptedContent_init_bio @ 0x10f9318 // > @ 0xa2f88 // // 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:15 +0000 // __int64 __fastcall EVP_CIPHER_param_to_asn1(__int64 a1, __int64 a2) { unsigned int (*v3)(void); // x19 unsigned int v5; // w20 __int64 v7; // x0 unsigned __int64 v8; // x3 unsigned int **v9; // x0 v3 = *(unsigned int (**)(void))(*(_QWORD *)a1 + 56LL); if ( v3 ) return v3(); if ( (*(_QWORD *)(*(_QWORD *)a1 + 16LL) & 0x1000) != 0 ) { v7 = EVP_CIPHER_CTX_cipher(a1); v8 = EVP_CIPHER_flags(v7) & 0xF0007; if ( v8 != 65537 ) { if ( v8 <= 0x10001 ) { if ( v8 - 6 > 1 ) return EVP_CIPHER_set_asn1_iv(a1, a2); } else { if ( v8 == 65538 ) { v9 = (unsigned int **)a1; v5 = 1; if ( (unsigned int)EVP_CIPHER_CTX_nid(v9) == 246 ) ASN1_TYPE_set(a2, 5, 0); return v5; } if ( v8 != 65539 ) return EVP_CIPHER_set_asn1_iv(a1, a2); } } } return 0xFFFFFFFFLL; }
GD Web Decomp Icon

GD Web Decomp

Raw Source