// // PKCS7_set_cipher from 0x829b28 to 0x829bd4 (172 bytes) // // 1 xrefs: // > @ 0x6602c // // 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 PKCS7_set_cipher(int a1, int a2) { char *v4; // r0 int v5; // r6 v4 = OBJ_obj2nid(*(_DWORD *)(a1 + 16)); if ( v4 == (_BYTE *)&dword_14 + 3 ) { v5 = *(_DWORD *)(*(_DWORD *)(a1 + 20) + 8); } else { if ( v4 != (char *)&dword_18 ) { ERR_put_error(33, 108, 113, (int)"crypto/pkcs7/pk7_lib.c", 532); return 0; } v5 = *(_DWORD *)(*(_DWORD *)(a1 + 20) + 20); } if ( EVP_CIPHER_type(a2) ) { *(_DWORD *)(v5 + 12) = a2; return 1; } else { ERR_put_error(33, 108, 144, (int)"crypto/pkcs7/pk7_lib.c", 540); return 0; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source